Claude Code mod
decision-tree
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-modsMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L2Writes or runs: drives Claude, writes the prompt box, reads mod state, draws
- Sees
- AskUserQuestion calls, every prompt, every tool call
- Draws in
ToolUseToolResultPane- Hooks
session.startcommand.runtool.callturn.completeprompt.submitui.render
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- melandres8/claude-mods
- Folder
decision-tree- Marketplace
claude-mods- Author
- Melkin Mosquera
- License
- MIT
- Last updated
- 12 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is decision-tree?
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. It is a mod for Claude Code, from melandres8/claude-mods on GitHub.
What can the decision-tree mod access?
Its widest reach is "writes or runs" (drives Claude, writes the prompt box, reads mod state, draws). It sees AskUserQuestion calls, every prompt, every tool call. It draws in ToolUse, ToolResult, Pane. Like any mod, it runs with your permissions.
How do I install decision-tree?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add melandres8/claude-mods and then /plugin install decision-tree@claude-mods.
More pane & dashboard mods
decision-tracker
i-noma-ru/claude-decision-tracker
Keeps decisions mentioned in replies in a band above the prompt until they are written to your decision log.
decisioncritic
harshshah-2023/Claude-Mods
Reviews Claude's observable decisions with a separate critic model and shows evidence-backed criticism cards you can accept, challenge, implement and verify.
decision-log
HectorBailey/claude-mods
Claude logs its judgement calls as it works; approve or reject each one with a comment from a side pane
delegate-watch
EslamHanafy/delegate-watch
Live pane that watches agy, Claude Code, cursor-agent and opencode delegate runs while they work
dca-factory-cockpit
domain-centric-development/dca-marketplace
Claude Code only, optional: the dca-factory cycle as a cockpit in a pane — the foundation (describe, set up) beside the cycle discover, backlog, run, decide, delivered — live, with a background worker, and a band above the prompt for what waits and what runs. Draws what factory.sh prints; the factory works the same without it.
delegator
hyperbola-bear/claude-mods
Every subagent Claude starts waits for your approval: approve, refuse, approve all for the turn, change its model (suggested by the task's complexity) or add a note to its task. Then a pane shows each running agent as a pixel character with its context battery, tokens, estimated cost, time and the steps it reports, plus the agents done and a plan's progress above the prompt, the same in the terminal and the desktop app.
Browse the most popular Claude Code mods, all pane & dashboard mods, or the skills and MCP server directories.