/project-toolkit:decision-questionfrom project-toolkit
Presents a minimal decision brief to the user when blocked on a choice only they can make. Avoids asking for delegated, mandated, or reversible decisions.
Ships in project-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Ask only when a real user decision is required. When asking, present the smallest complete decision brief that lets the user choose deliberately.
Questions spend user attention. Spend it only on decisions the user owns, and make each question decision-complete. This skill owns how to ask. It does not own whether a mutation is authorized or whether a task is finished.
voice.md routes here and does not carry the protocol. Load the reference and
script only when the routing gate says ask.
ask the user to choose between these paths, do I need a user decision here,
present a decision brief, which option should the user pick
Multiple implementation choices do not make a user decision. Do not ask when any of these holds:
choose the best option and implement it);no unresolved user decision -> act within existing authorization
material unresolved user decision -> build the brief below
Each command below is a locator that runs decision_question.py. Output is
one JSON object.
Route. Apply the gate. If no question is warranted, act and stop.
Draft the brief for the earliest load-bearing decision (fields below).
Check and plan. Write the brief as JSON and run:
( for d in "${CLAUDE_PLUGIN_ROOT}" "${COPILOT_PLUGIN_ROOT}" .claude; do if [ -n "$d" ] && [ -f "$d/lib/ptk_run.py" ]; then exec python3 "$d/lib/ptk_run.py" skills/decision-question/scripts/decision_question.py --brief <brief.json>; fi; done; echo "ptk_run: no plugin root holds lib/ptk_run.py" >&2; exit 2 )
Exit 2 with a ptk_run: line on stderr and no JSON is a launcher failure.
Read the line: it names the cause (no plugin root holds the resolver, a
missing target, or a launch error). Fix that, not the brief.
status: incomplete (exit 2, JSON on stdout) lists the missing fields. Enrich the brief and
rerun. status: revise_recommendation (exit 2) means an earlier answer
filtered out the recommended option: pick a remaining option or set
no_recommendation, then rerun. status: ask lists the prompt pages and
the page to present now.
Ask, then prune. Present the decision with the host's structured ask
tool (Claude Code: AskUserQuestion; Muse Code, and Codex in Plan mode only:
request_user_input, at most 3 questions; no such tool: a plain chat
question). Record the
answer under answers and rerun. When the user picks _more, add one to
that decision's count under paging and rerun; the same decision returns
its next page. Decisions that depend on an answer are pruned or filtered from
that answer, and unresolved IDs are never renumbered.
Weak evidence on an irreversible choice. pre_ask_review in the output
names decision-critic and pre-mortem. Run one before asking.
( for d in "${CLAUDE_PLUGIN_ROOT}" "${COPILOT_PLUGIN_ROOT}" .claude; do if [ -n "$d" ] && [ -f "$d/lib/ptk_run.py" ]; then exec python3 "$d/lib/ptk_run.py" skills/decision-question/scripts/decision_question.py --brief <brief.json> [--max-options N]; fi; done; echo "ptk_run: no plugin root holds lib/ptk_run.py" >&2; exit 2 )
Reads one decision, or {context, decisions, answers, paging}. Routes, then validates
and plans the next actionable decision. --max-options overrides the pinned
per-prompt bound for a harness that reports a different cap (minimum 3).
Exit codes:
0: routing resolved. No question warranted (skip), a complete bounded
brief (ask), every open decision held (held), or nothing left (resolved).1: unreadable or malformed brief JSON, an answer that is not one of the
decision's options, a duplicate decision ID, an out-of-range paging count, or a cap below 3.2: a question is warranted but the brief is not decision-complete
(incomplete, with the missing fields listed), or an earlier answer removed
the recommended option (revise_recommendation).Each decision carries a stable ID (D1, D2), a one-sentence statement of what
must be decided now, why it matters now, at least two materially distinct options
(presented 2 to 4 per page; overflow becomes a split chain) with their consequences, a recommendation with its load-bearing reason (or an
explicit statement that evidence supports none), and Hold only when deferring
is legitimate and a reopen condition exists. Render with the host's structured
ask tool (Claude Code: AskUserQuestion, which voice.md defines); do not
invent a new UI contract.
Field rules, option construction, split chains, Hold, and the completeness check: decision-brief-protocol.md.
Never drop an option. Pick one shape:
More than 6 options: first ask a meta-question (proceed, narrow, or batch).
Write non-ASCII text (CJK, accents) as literal UTF-8. Never \u-escape it.
decision_question.py pins what the Claude Code AskUserQuestion schema accepts:
1 to 4 questions per call, 2 to 4 options per question, and a free-text Other
the tool adds itself. Hold and the continuation entry each take a presented
slot. Options beyond the bound split into ordered pages. Another harness with a
different cap: pass the observed value as --max-options.
decision-rigor (a review reference) stays a PR review axis. This skill
reuses its concepts (assumptions, distinct alternatives, reversibility,
failure modes) and none of its verdict schema, CONTEXT_MODE, or JSON output.decision-critic and pre-mortem are optional steps for high-impact
decisions, not steps for every question.| Avoid | Why | Instead |
|---|---|---|
| Asking when the user delegated the choice | Spends attention the user already gave away | Act within authorization |
| More options than the harness shows | The user cannot see or pick the overflow | Split into a deterministic chain |
| Asking D2 before D1 is answered | D1's answer may make D2 moot | Ask D1, then prune D2 |
Hold with no reopen condition | The decision silently disappears | State the event that reopens it |
| Omitting a recommendation the evidence supports | Pushes the cost back to the user | Recommend and give the reason |
| Fabricating a recommendation | Invents confidence the evidence lacks | Say evidence supports no preference |
status: skip, exit 0).status: ask, exit 0).split: true.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 plugins in one repository ship this exact skill · first indexed Nov 13, 2026
104 skills in this plugin
/adr-generatorCreate comprehensive Architectural Decision Records (ADRs). Researches the destination directory to detect existing template conventions, gathers context, determines next ADR number, generates the ADR, validates completeness, and saves. Supports multiple ADR formats (MADR, Nygard, Alexandrian, project canonical). Use when documenting technical decisions, creating new ADR files, or capturing rationale so future readers can revisit a choice. Use when you say "write an ADR", "document this decision", "document these design choices", "record why we chose this", "capture the rationale", or "for future maintainers", or when creating an ADR-like markdown file under docs/decisions/, docs/adr/, docs/architecture/, architecture/decisions/, or .project-toolkit/architecture/. Do NOT use to debate or review an existing ADR (use adr-review)./adr-reviewMulti-agent debate orchestration for Architecture Decision Records. Automatically triggers on ADR create/edit/delete. Coordinates architect, critic, independent-thinker, security, analyst, and high-level-advisor agents in structured debate rounds until consensus. Use when you say "review this ADR", when an ADR is created/edited/deleted, or when reviewing, accepting, or updating a decision file under .project-toolkit/architecture/, docs/architecture/, docs/decisions/, docs/adr/, or architecture/decisions/, including intent like "review this decision record" or "check this rationale for future maintainers". Do NOT use to author a new ADR (use adr-generator).Generated from the plugin's indexed repository (rjmurillo/ai-agents) — no native marketplace selected
npx claudepluginhub p/rjmurillo-copilot-cli-agents-src-copilot-cliOther plugins' skills for the same job