decision-tree
by Melkin Mosquera · ★ 0 · updated 18 days ago
0
Turns Claude's closing question, or its AskUserQuestion call, into a side panel: each option with what it implies, and a real forked session to try any answer before confirming it.
Install
/plugin marketplace add melandres8/claude-mods/plugin install decision-tree@claude-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startcommand.runtool.callturn.completeprompt.submitui.render- API calls
$.agent.list$.agent.spawn$.command.register$.model.complete$.model.fork$.prompt.fill$.prompt.submit$.state.get$.state.set$.tool.call$.ui.open$.ui.resolve$.ui.status$.ui.toast- Draws
ToolUseToolResultPane- Can see
AskUserQuestion callsevery promptevery tool call- Reach
- level 2 of 3 drives Claudewrites the prompt boxreads mod statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/melandres8/claude-mods
- Path in repo
decision-tree- Source commit
151ab78the exact code the scan read- Author
- Melkin Mosquera @melandres8
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.