clarification-phase

clarification-phase is a skill for Claude Code from marcusgoll/Spec-Flow. It costs 77 tokens per session (4,199 once invoked), scanned A, original, MIT.

A workflow step for finding unclear decisions in a project specification and resolving them with a few structured questions. A specification is a written description of what should be built.

In plain words
What is it for?
It helps review [NEEDS CLARIFICATION] markers, decide which ambiguities matter most, ask up to three questions at a time, and update the specification with the results.
Why use it?
It prevents important gaps in requirements from being overlooked. It records the answers so the specification becomes easier to implement.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: names the AskUserQuestion tool.

Good fit It helps review [NEEDS CLARIFICATION] markers, decide which ambiguities matter most, ask up to three questions at a time, and update the specification with the results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/marcusgoll/spec-flow/clarification-phase
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.

Any agent
npx skills add marcusgoll/Spec-Flow --skill clarification-phase
Clone the repo
git clone --depth 1 https://github.com/marcusgoll/Spec-Flow

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/marcusgoll/spec-flow/clarification-phase/github.svg)](https://agentmods.dev/skills/marcusgoll/spec-flow/clarification-phase)
Your own site
<a href="https://agentmods.dev/skills/marcusgoll/spec-flow/clarification-phase"><img src="https://agentmods.dev/badge/skills/marcusgoll/spec-flow/clarification-phase/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 clarification-phase

Your own site · 80×15
<a href="https://agentmods.dev/skills/marcusgoll/spec-flow/clarification-phase"><img src="https://agentmods.dev/badge/skills/marcusgoll/spec-flow/clarification-phase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,199 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.04199
Opus 5.5 $0.00031 $0.01680
Sonnet 5.5 $0.00015 $0.00840
Haiku 4.5 $0.00008 $0.00420

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

Security

Grade A, and why

clarification-phase 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 3mo 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.

.claude/skills/clarification-phase/SKILL.md · 609 lines

How it starts

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

<quick_start> Resolve ambiguities in spec.md using AskUserQuestion tool:

  1. Extract [NEEDS CLARIFICATION] markers from spec.md
  2. Prioritize using matrix (Critical/High → ask, Medium/Low → assumptions)
  3. Call AskUserQuestion with ≤3 questions (batched, multiSelect for subsystems)
  4. Receive user answers synchronously
  5. Integrate into spec.md, remove all markers
  6. Add Clarifications (Resolved) section with deferred assumptions

Inputs: spec.md with [NEEDS CLARIFICATION] markers Outputs: Updated spec.md (no markers), clarifications.md (record) </quick_start>

If clarification count >5, review spec phase quality (too many ambiguities).

Read spec.md, find all [NEEDS CLARIFICATION: ...] markers, extract ambiguity context.

# Count clarifications
grep -c "\[NEEDS CLARIFICATION" specs/NNN-slug/spec.md

# List with line numbers
grep -n "\[NEEDS CLARIFICATION" specs/NNN-slug/spec.md

If count = 0, skip /clarify phase.

Categorize each clarification by priority:

  • Critical (always ask): Scope boundary, security/privacy, breaking changes
  • High (ask if ambiguous): User experience decisions, functionality tradeoffs
  • Medium (use defaults): Performance SLAs, technical stack choices
  • Low (use standards): Error messages, rate limits

Keep only Critical + High priority questions (target: ≤3).

Convert Medium/Low to informed guesses, document as assumptions.

See references/prioritization-matrix.md for detailed categorization rules.

For each Critical/High priority clarification, structure as AskUserQuestion parameter:

AskUserQuestion format:

AskUserQuestion({
  questions: [
    {
      question:
        "spec.md:45 mentions 'dashboard metrics' but doesn't specify which. What should we display?",
      header: "Metrics", // max 12 chars
      multiSelect: false,
      options: [
        {
          label: "Completion only",
          description: "% of lessons finished (2 days, basic insights)",
        },
        {
          label: "Completion + time",
          description:
            "Lessons finished + hours logged (4 days, actionable insights)",
        },
        {
          label: "Full analytics",
          description:
            "Completion + time + quiz scores + engagement (7 days, requires infrastructure)",
        },
      ],
    },
  ],
});

Quality standards:

  • question: Full context with spec.md reference (e.g., "spec.md:45 mentions...")
  • header: Short label ≤12 chars (e.g., "Metrics", "Auth", "Scope")
  • multiSelect: false for single choice, true for subsystems/features
  • options: 2-3 concrete choices with impacts in description
  • label: Concise option name (1-5 words)
  • description: Implementation cost + value + tradeoffs (1-2 sentences)

Batch related questions (max 3 per AskUserQuestion call).

See references/question-bank.md for 40+ example questions in AskUserQuestion format.

For Medium/Low priority questions not asked, prepare assumptions section:

## Deferred Assumptions (Using Informed Guesses)

### [Topic]

**Not asked** (Low priority - standard default exists)
**Assumption**: [Concrete default choice]
**Rationale**: [Why this default is reasonable]
**Override**: [How user can override in spec.md]

These will be included in clarifications.md record after AskUserQuestion call.

Read the full file on GitHub · 609 lines

Files

What ships with it

3 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. 3mo ago First seen · 609 lines · 77 tokens per session scan A aed83cc37fa6

Subscribe to this mod's changes

clarification-phase is a skill published in the GitHub repository marcusgoll/Spec-Flow (97 stars, last pushed 2mo ago), licensed MIT. It adds 77 tokens to every session and 4,199 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-08-30.

Related

clarification-phase compared with skills from other repositories

clarification-phase next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
clarification-phasemarcusgoll/Spec-FlowSkill972mo agoMITA77Claude Code
llm-evaluationsickn33/agentic-awesome-skillsSkill51kyesterdayMITA25Claude Code
agent-harness-fault-injectionsickn33/agentic-awesome-skillsSkill51kyesterdayMITA34Claude Code
apify-youtube-transcript-scrapersickn33/agentic-awesome-skillsSkill51kyesterdayMITA48Claude Code
ariasickn33/agentic-awesome-skillsSkill51kyesterdayMITA18Claude Code
apify-competitor-intelligencesickn33/agentic-awesome-skillsSkill51kyesterdayMITA39Claude Code
mcp-tool-developersickn33/agentic-awesome-skillsSkill51kyesterdayMITA38Claude Code