From genesis-tools-mods
Claude Code mods for GenesisTools, each switched by mods.<feature> in the hooks file: the whole diff of a cut diff-hook message under the call's row, the subagent's model on its rows, idle compaction before the prompt cache expires, /decisions, links in the streamed reply, a git and PR band with /mod-git, [ask] on tool rows, each tool call's start time, live spinner progress, a prompt cache countdown across sessions, /tmp usage, a live agents band, a ledger of what hooks inject with repeat dedupe, and a resume guard that refuses once a SendMessage to an agent whose prompt cache went cold while it holds a large context; the git, agents and hooks parts open sidebars (/mod-git, /mod-agents, /mod-hooks). Every mod but the full diff and idle compaction starts off: tools agents hooks mods enable <name|all> --write. Configured with: tools agents hooks config set mods.<feature>.<field> <value> --write.
14 events · 35 calls
Ships in genesis-tools-mods. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.callprocess.runfs.writefs.existsfs.listfs.readfs.statenv.getenv.setprompt.submitprompt.composeEach event it registers a hook on, with the matcher when it sets one
session.startsession.endcommand.runtool.callturn.stepprompt.composeagent.spawnclassic.*turn.startturn.completesession.compactui.render{component=AbovePrompt}ui.render{component=Pane}ui.focus{component=Pane}prompt.autocompleteui.render{component=Spinner}ui.render{component=ToolGroup}ui.render{component=ToolUse}Every mods API method its source calls, by namespace
listaftereveryregistergetsetexistslistreadstatwriterunfillsubmitappendcompactcwdidmessagesmodelsurfacesusagegetsetgetsetclosecopyinvalidateopenpanesresolvescrollstatustoastGENESIS_TOOLS_HOMEGENESIS_TOOLS_MODS_SESSIONHOMEWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.tsx (written ./register.tsx)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 genesiscz/genesistools --plugin genesis-tools-mods