decision-tree

by Melkin Mosquera · ★ 0 · updated 18 days ago

PanesStatus lineReskinsGuardsCommandsPromptwarnings

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 decision-tree

Install

/plugin marketplace add melandres8/claude-mods
/plugin install decision-tree@claude-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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
151ab78 the 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.

More from melandres8/claude-mods

relevo

melandres8/claude-mods

Relay between local sessions: one plans, named workers (builder, researcher, reviewer...) build, research or review, and they hand work back and forth on their own. In herdr the planner starts its workers itself.

★ 0PanesBandsStatus line