Home / Claude Code mods / Interface / decision-tree

decision-tree

decision-tree is a Claude Code mod by melandres8 that 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.

Updated 2026-11-03

What is decision-tree?

decision-tree is a Claude Code mod by melandres8 that 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 listed under Interface and has no public popularity data yet.

TypeClaude code mod
Authormelandres8
Repositorymelandres8/claude-mods
Popularityno public popularity data yet
CategoryInterface
SecurityLow risk (80/100)
Rank#7,286 of 9,397 Claude Code mods; #3,074 in Interface
LicenseMIT
Last commit2026-11-03
Hooks6 events
SeesAskUserQuestion calls, every prompt, every tool call
Draws onToolUse, ToolResult, Pane

Is decision-tree safe to install?

decision-tree scores 80/100 on the MCPMods security check: Low risk. Things to review: watches every prompt or event. It passed 5 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.agent.list
$.agent.spawndrives Claude
$.command.register
$.model.completedrives Claude
$.model.forkdrives Claude
$.prompt.fillwrites the prompt box
$.prompt.submitdrives Claude
$.state.get
$.state.set
$.tool.calldrives Claude
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install decision-tree?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/melandres8/claude-mods
    claude plugin validate ./claude-mods/decision-tree
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add melandres8/claude-mods && claude plugin install decision-tree@claude-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs decision-tree for you:

Install the "decision-tree" Claude Code mod from https://github.com/melandres8/claude-mods/tree/main/decision-tree. Run claude plugin validate on it first and show me what it can access before you enable it.

More from melandres8/claude-mods

This repository has 2 Claude Code mods on MCPMods.

  • relevo: Relay between local sessions: one plans, named workers (builder, researcher, reviewer...) build, research or review, and (Low risk)