decision-tree
by Ray Amjad · ★ 0 · updated 22 days ago
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
Install
/plugin marketplace add abdul-raafai-asim/claude-code-mods/plugin install decision-tree@claude-code-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.startclassic.Stopturn.completecommand.runui.render- API calls
$.command.register$.env.get$.fs.exists$.fs.read$.model.complete$.model.fork$.process.run$.session.cwd$.session.id$.ui.close$.ui.copy$.ui.invalidate$.ui.log$.ui.open$.ui.resolve$.ui.toast- Draws
Pane- Can see
classic hooks- Reach
- level 2 of 3 runs processesdrives Claudewrites the clipboardreads filesreads env varsdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/abdul-raafai-asim/claude-code-mods
- Path in repo
plugins/decision-tree- Source commit
33c02efthe exact code the scan read- Author
- Ray Amjad @abdul-raafai-asim
- 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 abdul-raafai-asim/claude-code-mods
cache-clock
abdul-raafai-asim/claude-code-mods
A one-line band above the prompt: context used, and a countdown until the prompt cache goes cold
diagram-pane
abdul-raafai-asim/claude-code-mods
A side pane with the live work map and pinned diagrams, plus tabs for progress, diffs, the PR and its CI, every chat this terminal tab has held, and the screenshots the chat took
dream-pass
abdul-raafai-asim/claude-code-mods
A dreaming pass over Claude's memory folder: merges duplicates, rewrites stale entries, removes dead ones and tidies MEMORY.md, with a backup and undo
jev-skill-suggestion
abdul-raafai-asim/claude-code-mods
Scores every skill against your prompt with TypeSafe Jev as you type; observe, block or steer skill loading
memory-fork
abdul-raafai-asim/claude-code-mods
After each turn Haiku decides whether memory needs a change; a tool-less fork of the session drafts it and the mod writes it, with a band and a pane showing what changed
prompt-bouncer
abdul-raafai-asim/claude-code-mods
Bounces vague prompts before Claude sees them, and suggests the project's own term
secret-box
abdul-raafai-asim/claude-code-mods
Claude can use a secret without seeing it: a masked box saves keys to .env and gives Claude a placeholder, every key a tool prints comes back as a placeholder, and committing .env is refused
transcript-redactor
abdul-raafai-asim/claude-code-mods
Keeps secrets and email addresses out of the session transcript: swaps each one for a stable placeholder on the way in, and puts the real value back on the way into a tool call
vercel-deploy-status
abdul-raafai-asim/claude-code-mods
Pins the Vercel deploy queue of the linked project under the prompt: every deploy queued, building or just finished, with its phase and elapsed time