decision-question

decision-question is a skill for Claude Code from rjmurillo/ai-agents. It costs 78 tokens per session (1,815 once invoked), scanned A, original, MIT.

A method for asking a user to make a decision only when the work is blocked by a choice they own. It presents the smallest complete set of options and context needed to choose deliberately.

In plain words
What is it for?
Use it when several paths remain and the user must decide between them, rather than when the agent can safely choose and continue.
Why use it?
It avoids interrupting users for implementation details that existing instructions, evidence, or delegated authority already settle. When a decision is necessary, it makes the question answerable.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT variable. Also seen: names the AskUserQuestion tool; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the project-toolkit plugin — 125 skills, 25 commands, 33 agents, 5 hooks shipped together

Good fit Use it when several paths remain and the user must decide between them, rather than when the agent can safely choose and continue.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add rjmurillo/ai-agents
Claude Code
/plugin install project-toolkit

Made for: Claude Code.

Or install project-toolkit, the plugin that ships this one along with the rest of its 125 skills, 25 commands, 33 agents, 5 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for decision-question

README.md
[![agentmods](https://agentmods.dev/badge/skills/rjmurillo/ai-agents/decision-question/github.svg)](https://agentmods.dev/skills/rjmurillo/ai-agents/decision-question)
Your own site
<a href="https://agentmods.dev/skills/rjmurillo/ai-agents/decision-question"><img src="https://agentmods.dev/badge/skills/rjmurillo/ai-agents/decision-question/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for decision-question

Your own site · 80×15
<a href="https://agentmods.dev/skills/rjmurillo/ai-agents/decision-question"><img src="https://agentmods.dev/badge/skills/rjmurillo/ai-agents/decision-question.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,815 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00078 $0.01815
Opus 5.5 $0.00031 $0.00726
Sonnet 5.5 $0.00016 $0.00363
Haiku 4.5 $0.00008 $0.00181

Measured 3d ago against content hash 832fed091bc7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

decision-question scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/decision_question.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/decision-question/SKILL.md · 166 lines

How it starts

The opening of the file, as written. The whole thing — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Decision Question

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 (#5407) or whether a task is finished (#5404).

voice.md routes here and does not carry the protocol. Load the reference and script only when the routing gate says ask.

Triggers

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

Routing gate: when NOT to ask

Multiple implementation choices do not make a user decision. Do not ask when any of these holds:

  • the user delegated the choice (choose the best option and implement it);
  • repository or safety policy mandates one option;
  • existing acceptance criteria already determine the choice;
  • the distinction is an implementation detail within authorized scope, and reversible;
  • reading available evidence or tools resolves the uncertainty;
  • the task is terminal under #5404 and the question would only solicit optional follow-up. The STOP TOKEN wins.
no unresolved user decision      -> act within existing authorization
material unresolved user decision -> build the brief below

Process

All commands run ${COPILOT_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-.claude}}/skills/decision-question/scripts/decision_question.py with python3. Output is one JSON object.

  1. Route. Apply the gate. If no question is warranted, act and stop.

  2. Draft the brief for the earliest load-bearing decision (fields below).

  3. Check and plan. Write the brief as JSON and run:

    python3 "${COPILOT_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-.claude}}/skills/decision-question/scripts/decision_question.py" --brief <brief.json>
    

    status: incomplete (exit 2) 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.

  4. Ask, then prune. Present the decision with AskUserQuestion. 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.

  5. Weak evidence on an irreversible choice. pre_ask_review in the output names decision-critic and pre-mortem. Run one before asking.

Read the full file on GitHub · 166 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · +13 lines 832fed091bc7
  2. 4d ago First seen · 153 lines · 78 tokens per session scan A 2695fadad737

Subscribe to this mod's changes

decision-question is a skill published in the GitHub repository rjmurillo/ai-agents (48 stars, last pushed today), licensed MIT. It adds 78 tokens to every session and 1,815 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-14.