question-handling

question-handling is a cursor rule for Cursor from fmflurry/settings-opencode. It costs 770 tokens per session, scanned A, original, MIT.

A rule for classifying questions from coding subagents as blocking or non-blocking. A blocking question prevents progress, while a non-blocking question can be answered using a reasonable default.

In plain words
What is it for?
Use it when coordinating subagents, deciding when to ask the user for clarification, and recording assumptions for optional choices.
Why use it?
It helps agents ask only questions that require a decision and continue work when a safe assumption is sufficient.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc). Also seen: mentions subagents; names the AskUserQuestion tool.

Good fit Use it when coordinating subagents, deciding when to ask the user for clarification, and recording assumptions for optional choices.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/fmflurry/settings-opencode/question-handling
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/fmflurry/settings-opencode

Made for: Cursor.

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 question-handling

README.md
[![agentmods](https://agentmods.dev/badge/rules/fmflurry/settings-opencode/question-handling/github.svg)](https://agentmods.dev/rules/fmflurry/settings-opencode/question-handling)
Your own site
<a href="https://agentmods.dev/rules/fmflurry/settings-opencode/question-handling"><img src="https://agentmods.dev/badge/rules/fmflurry/settings-opencode/question-handling/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 question-handling

Your own site · 80×15
<a href="https://agentmods.dev/rules/fmflurry/settings-opencode/question-handling"><img src="https://agentmods.dev/badge/rules/fmflurry/settings-opencode/question-handling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 770 This file is loaded in full into every session.
When invoked 770 The same file — it is already loaded in full.
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.00770 $0.00770
Opus 5.5 $0.00308 $0.00308
Sonnet 5.5 $0.00154 $0.00154
Haiku 4.5 $0.00077 $0.00077

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

Security

Grade A, and why

question-handling 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 2d ago.

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.

plugins/fmflurry-harness/rules/question-handling.mdc · 80 lines

How it starts

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

Subagent Question Classification & Handling

Blocking vs Non-Blocking

Subagents MUST classify every returned question as one of:

BLOCKING

  • Agent cannot make ANY further progress without answer
  • Next implementation step is unknowable
  • Choosing between mutually exclusive paths
  • Clarifying a contradiction (spec vs codebase, two docs conflict)
  • The answer changes which files get touched

Format: [BLOCKING] <one dependency-safe question> Tag in output: ## Blocker: <question>

NON-BLOCKING

  • Agent can continue with a reasonable default
  • Question is about quality, preference, or future scope
  • Agent wants confirmation of a choice already made
  • "Nice to have" improvements spotted during work

Format: [NON-BLOCKING] <question> (default: <what agent assumed>) Tag in output: ## Note: <question> (assumed: <default>)

Conductor Protocol

On receiving blocking question:

  1. Attempt self-resolution: check repo (CodeMemory, codememory_claims, grep, read)
  2. If resolvable from cited repo/CodeMemory evidence (never inferred intent) → answer it, re-dispatch (Agent) with answer folded into brief
  3. If NOT resolvable → AskUserQuestion immediately

On receiving non-blocking question:

  1. Add to session accumulator (keep list in memory)
  2. Do NOT interrupt flow
  3. Continue with remaining tasks

At job completion (ALL dispatches done):

  1. Review accumulator
  2. Report ALL accumulated non-blocking questions to user:
    ## Questions Collected During Execution
    | # | From | Question | Assumed Default |
    |---|------|----------|-----------------|
    | 1 | coder | Use fetch or axios? | axios |
    | 2 | planner | Phase 2 needed before Phase 3? | Yes |
    
    Awaiting your input on any you'd like changed.
    

Socratic-First Resolution

Before surfacing ANY blocking question to user:

  1. codememory_retrieve — semantic search for answer
  2. codememory_claims — user preferences/decisions
  3. Grep/Read — verify exact files if CodeMemory is suggestive
  4. If REPO CAN ANSWER (cite the evidence; never infer intent) → answer it, fold into re-dispatch brief
  5. Only if REPO CANNOT ANSWER → AskUserQuestion with socratic-design shape:
    • Evidence: what you found
    • Question: single dependency-safe question
    • Recommended: your best answer
    • Why: reasoning
    • If opposite: what changes

Read the full file on GitHub · 80 lines

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. 2d ago Changed · +9 tokens per session 83214fc08a06
  2. 4d ago Changed · +2 lines · +59 tokens per session f54ef3f471d0
  3. 8d ago First seen · 78 lines · 702 tokens per session scan A 934b0174e156

Subscribe to this mod's changes

question-handling is a cursor rule published in the GitHub repository fmflurry/settings-opencode (171 stars, last pushed yesterday), licensed MIT. It adds 770 tokens to every session, about $0.0031 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-08.