From decision-tree
When Claude ends a reply with a question, explains the choice in a side pane and lets you explore any option, or your own, in a real forked session
5 events · 16 calls
Ships in decision-tree. 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.existsfs.readenv.getmodel.completemodel.forkEach event it registers a hook on, with the matcher when it sets one
session.startclassic.Stopturn.completecommand.run{command=explain}ui.render{component=Pane, requestId=question}Every mods API method its source calls, by namespace
registergetexistsreadcompleteforkruncwdidclosecopyinvalidatelogopenresolvetoastDECISION_TREE_CHILDDECISION_TREE_WAITHERDR_ENVHOMEUSERPROFILEWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.jsx (written ./register.jsx)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 ray-amjad/claude-code-mods --plugin decision-tree