requirements-clarification

requirements-clarification is a cursor rule for Cursor from andr-ca/agentharness. It costs 77 tokens per session (1,260 once invoked), scanned A, original, MIT.

A process for clarifying unclear or incomplete software requirements before implementation, including checking whether the stated problem and proposed solution are both correct.

In plain words
What is it for?
Use it before significant feature changes, when an issue is ambiguous, or when reviewing an audit finding or proposed fix.
Why use it?
It reduces rework caused by building the wrong thing or fixing a problem that does not exist in the current code.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it before significant feature changes, when an issue is ambiguous, or when reviewing an audit finding or proposed fix.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/andr-ca/agentharness/requirements-clarification
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/andr-ca/agentharness

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 requirements-clarification

README.md
[![agentmods](https://agentmods.dev/badge/rules/andr-ca/agentharness/requirements-clarification/github.svg)](https://agentmods.dev/rules/andr-ca/agentharness/requirements-clarification)
Your own site
<a href="https://agentmods.dev/rules/andr-ca/agentharness/requirements-clarification"><img src="https://agentmods.dev/badge/rules/andr-ca/agentharness/requirements-clarification/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 requirements-clarification

Your own site · 80×15
<a href="https://agentmods.dev/rules/andr-ca/agentharness/requirements-clarification"><img src="https://agentmods.dev/badge/rules/andr-ca/agentharness/requirements-clarification.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,260 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.00077 $0.01260
Opus 5.5 $0.00031 $0.00504
Sonnet 5.5 $0.00015 $0.00252
Haiku 4.5 $0.00008 $0.00126

Measured 1mo ago against content hash bceaaa27f073, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

requirements-clarification 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 1mo 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.

.cursor/rules/requirements-clarification.mdc · 147 lines

How it starts

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

Requirements Clarification

Gather requirements before writing code. A few minutes of structured discovery prevents hours of rework. Use this skill when a request is ambiguous, underspecified, or likely to have non-obvious edge cases.

When NOT to clarify: The request is a single, well-scoped bug fix with one clear resolution. Don't block on questions you can resolve by reading the existing code.

Verify the premise before accepting the requirement

Not every requirement arrives as a conversation. Many arrive pre-formed — a filed issue, an audit finding, a review comment, a recommendation document — asserting that something is broken or missing. That is a claim, and claims can be stale, partly wrong, or right for the wrong reason. Check it against the current code before designing anything.

A requirement that arrives with a proposed solution is two claims:

  1. The problem exists.
  2. The proposed change addresses it.

Verify them separately — they fail independently, and the second fails more often. A real problem paired with a wrong remedy is the most expensive case, because the problem being real lends the remedy false credibility.

What you find Right response
Claim true, proposal fits Implement it
Claim true, proposal wrong or backwards Solve it another way; say why
Claim partly true Narrow scope to the true part
Claim false or already fixed Don't implement; record the evidence

Record the null result. "I checked, and it's already correct" is a finding worth writing down. Without it the next person re-investigates from scratch, and a rejected recommendation is indistinguishable from an ignored one.

Watch for the check that passes for the wrong reason. When you write a check to confirm a claim, confirm the check actually exercises what it names. A verification that silently matches nothing looks exactly like one that found nothing wrong — a green result you cannot distinguish from "never ran" is not evidence.

Read the full file on GitHub · 147 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. 1mo ago First seen · 147 lines · 77 tokens per session scan A bceaaa27f073

Subscribe to this mod's changes

requirements-clarification is a cursor rule published in the GitHub repository andr-ca/agentharness (1 stars, last pushed 5d ago), licensed MIT. It adds 77 tokens to every session and 1,260 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-09-03.