From work-mode
/work-mode session modes for Claude Code: auto (no mid-task questions), out (delegate batch work), wrap (converge and finish), plus a delegation nudge
6 events · 12 calls
Ships in work-mode. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
process.runfs.writefs.readenv.getsettings.readEach event it registers a hook on, with the matcher when it sets one
session.startclassic.SessionStart{source=clear|resume|fork}session.compactclassic.UserPromptSubmitclassic.PostToolUsecommand.run{command=work-mode}Every mods API method its source calls, by namespace
registergetreadwriterunidreadgetsetasklogstatusDISPATCH_NUDGE_CHARSHOMELANGLC_ALLUSERPROFILEWORK_MODE_CONFIGWORK_MODE_LOCALEWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.ts (written ./register.ts)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub danyuchn/claude-work-mode --plugin work-mode