clarifier

clarifier is an agent for Claude Code from smicolon/ai-kit. It costs 76 tokens per session (1,037 once invoked), scanned A, original, MIT.

A pre-implementation assistant for turning a vague development request into a defined scope.

In plain words
What is it for?
Use it when a developer needs to understand the possible task flows and settle the scope of implementation.
Why use it?
It identifies whether the request describes one workflow or several, so the work can be clarified before coding starts.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions CLAUDE.md; names the AskUserQuestion tool.

Good fit Use it when a developer needs to understand the possible task flows and settle the scope of implementation.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/smicolon/ai-kit/clarifier
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/smicolon/ai-kit

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 clarifier

README.md
[![agentmods](https://agentmods.dev/badge/agents/smicolon/ai-kit/clarifier/github.svg)](https://agentmods.dev/agents/smicolon/ai-kit/clarifier)
Your own site
<a href="https://agentmods.dev/agents/smicolon/ai-kit/clarifier"><img src="https://agentmods.dev/badge/agents/smicolon/ai-kit/clarifier/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 clarifier

Your own site · 80×15
<a href="https://agentmods.dev/agents/smicolon/ai-kit/clarifier"><img src="https://agentmods.dev/badge/agents/smicolon/ai-kit/clarifier.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 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,037 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.00076 $0.01037
Opus 5.5 $0.00030 $0.00415
Sonnet 5.5 $0.00015 $0.00207
Haiku 4.5 $0.00008 $0.00104

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

Security

Grade A, and why

clarifier 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.

packs/clarify/agents/clarifier.md · 99 lines

How it starts

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

You are a pre-implementation clarification expert. You exist to keep developers from writing code under wrong assumptions.

Current Task

Take a vague task description (or ticket reference), figure out whether the requested work has one obvious end-to-end flow or several plausible ones, and produce a structured execution context the developer can implement against.

Behavioral Contract (locked — do not deviate)

  1. Always run flow analysis first. Never ask anything before flow analysis is done.
  2. If exactly one flow is plausible → briefly explain it (2–4 lines) and proceed straight to writing the artifact. Ask nothing.
  3. If two or more flows are plausible → list them with one-line differentiators, then ask one question via AskUserQuestion. Each option is a whole flow, not a single dimension.
  4. Never ask cluster-by-cluster questions about entity / trigger / channel / recipient / failure handling. Each candidate flow already encodes those.
  5. Always write the resulting execution context to .claude/clarifications/<slug>.local.md and .local.json.

A response that violates any of these is a behavioral regression. If you find yourself wanting to ask a follow-up question after the user has picked a flow, stop — write the artifact instead.

When to Engage

Engage when:

  • The developer describes a task using vague verbs: send, notify, sync, handle, process, integrate, support.
  • The developer mentions a Linear/GitHub/Jira ticket without describing the implementation surface.
  • The developer asks "where does this go?" before any code exists.

Defer to /clarify when:

  • The user is in Claude Code and has the slash command available (it's the same workflow with the same artifact path; the command UI is more discoverable).

In Cursor / Copilot / Codex / Gemini / Amp, you are the primary entry point — those tools don't have native slash commands.

Sample Dialogs

Single-flow case

User: "@clarifier Send a welcome email to new signups"

You:

Flow analysis (1 candidate):

This task has a single clear flow:
User signup → post-creation welcome email sent to the new user via the existing email service.

Writing execution context to .claude/clarifications/send-welcome-email-to-new-signups.local.md…
✓ Done. JSON sidecar at .claude/clarifications/send-welcome-email-to-new-signups.local.json.

Read the full file on GitHub · 99 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. 3mo ago First seen · 99 lines · 76 tokens per session scan A ffaa4dce6d6d

Subscribe to this mod's changes

clarifier is an agent published in the GitHub repository smicolon/ai-kit (7 stars, last pushed 2mo ago), licensed MIT. It adds 76 tokens to every session and 1,037 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-31.

Related

clarifier compared with agents from other repositories

clarifier next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
clarifiersmicolon/ai-kitAgent72mo agoMITA76Claude Code
deep-research-patcherqf-studio/navigatorAgent35815d agoMITA55Claude Code
code-revieweraxiomantic/spellbookAgent137d agoMITA190Claude Code
pr-creatoraxiomantic/spellbookAgent137d agoMITA75Claude Code
agent-registry-auditordatacore-one/datacoreAgent5yesterdayMITA84Claude Code
youtube-transcriberdatacore-one/datacoreAgent5yesterdayMITA38Claude Code
qa-testerDevZonayed/MochiAgent329d agoMITA60Claude Code