bf-clarify-extractor

bf-clarify-extractor is an agent for Claude Code from chan4lk/specclaw. It costs 32 tokens per session (6,985 once invoked), scanned A, original, MIT.

A review agent that searches existing Markdown analysis documents for uncertainty, contradictions, unexplained values, and untested code paths. It turns those findings into numbered questions for a person to answer rather than guessing.

In plain words
What is it for?
Use it to extract clarification questions from codebase-analysis files and carry open questions into a shared clarification record.
Why use it?
It makes hidden assumptions and disagreements in project documentation visible before they affect implementation. It preserves existing question identifiers and human answers.

Agent for Claude Code

Written for Claude Code: $CLAUDE_PLUGIN_ROOT variable. Also seen: model in frontmatter; mentions subagents.

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 specclaw-bf plugin — 15 skills, 14 agents shipped together

Good fit Use it to extract clarification questions from codebase-analysis files and carry open questions into a shared clarification record.

Compare 6 agents 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 chan4lk/specclaw
Claude Code
/plugin install specclaw-bf

Made for: Claude Code.

Or install specclaw-bf, the plugin that ships this one along with the rest of its 15 skills, 14 agents.

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 bf-clarify-extractor

README.md
[![agentmods](https://agentmods.dev/badge/agents/chan4lk/specclaw/bf-clarify-extractor/github.svg)](https://agentmods.dev/agents/chan4lk/specclaw/bf-clarify-extractor)
Your own site
<a href="https://agentmods.dev/agents/chan4lk/specclaw/bf-clarify-extractor"><img src="https://agentmods.dev/badge/agents/chan4lk/specclaw/bf-clarify-extractor/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 bf-clarify-extractor

Your own site · 80×15
<a href="https://agentmods.dev/agents/chan4lk/specclaw/bf-clarify-extractor"><img src="https://agentmods.dev/badge/agents/chan4lk/specclaw/bf-clarify-extractor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 6,985 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.00032 $0.06985
Opus 5.5 $0.00013 $0.02794
Sonnet 5.5 $0.00006 $0.01397
Haiku 4.5 $0.00003 $0.00698

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

Security

Grade A, and why

bf-clarify-extractor 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.

plugins/specclaw-bf/agents/bf-clarify-extractor.md · 270 lines

How it starts

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

Identity

You are bf-clarify-extractor, a specclaw subagent. You turn the uncertainty an analyser silently carried forward — an inference, a hedge, an unexplained constant, a fact two documents disagree on, or a pending question another agent already raised rather than guess — into a question a human can actually answer. You do not analyze source code yourself (the analysis documents, or the pending question, already did that); you do not answer questions on a human's behalf; and you never touch an existing question's ID or a human's already-recorded answer. Your invocation prompt tells you explicitly which of the five modes below you're running.


Mode: ingest

Promotes every OPEN entry in .specclaw/analysis/pending-questions.md into a typed CQ-NNN in clarifications.md. Runs, when there is anything to ingest, before Mode: extract in the same /specclaw-bf:bf-clarify invocation (skipped entirely on a --bank-only run, or when there are no OPEN entries) — the two modes share the CQ-NNN id namespace, and ingestion always claims its ids first, since a pending question is structurally an extracted-from-this-repo finding (allocated per-repo, in the order it's found) exactly like an ordinary CQ-NNN — never an SQ-NNN (fixed by the bank file, never "allocated") or a UQ-NNN (human-authored in custom-questions.md, never agent-raised).

Inputs

  • Collected facts (JSON) — a file path (.specclaw/analysis/.collect/clarify-extract.json) you read yourself with your Read tool, not inline JSON in the prompt — output of specclaw-bf-clarify collect: pending_questions.open[], one entry per OPEN pending question (pq_id, title, source, trigger, blocks, evidence_found, could_not_determine, candidates_considered, proposed_default) — this list is the authority on what to promote, not your own re-reading of pending-questions.md's prose. Also next_id — the first id you assign; number sequentially from there, one per entry, in the order the JSON lists them.
  • Read .specclaw/analysis/decisions.md and .specclaw/analysis/rebuild-backlog.md, if present — to resolve whichever DR-NNN/BL-NNN id actually anchors a PQ's Blocks: target, when the PQ named only a bare field path or rule description at emission time (common for a bf-domain-analyst PQ raised before rebuild-backlog.md even existed). Citing a real id here, when one now exists, is what lets /specclaw-bf:bf-rebuild-plan's mechanical join find this question later; if none is resolvable, that's not a failure on your part — bf-rebuild-planner's own semantic-matching behaviour exists specifically to catch what the mechanical join can't.

Read the full file on GitHub · 270 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 Changed · -163 tokens per session d6061f373591
  2. 2mo ago Changed 50fa7d884987
  3. 2mo ago First seen · 270 lines · 195 tokens per session scan A eb5a897b4f61

Subscribe to this mod's changes

bf-clarify-extractor is an agent published in the GitHub repository chan4lk/specclaw (15 stars, last pushed 11d ago), licensed MIT. It adds 32 tokens to every session and 6,985 once invoked, about $0.0001 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-05.

Related

bf-clarify-extractor compared with agents from other repositories

bf-clarify-extractor next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bf-clarify-extractorchan4lk/specclawAgent1511d agoMITA32Claude Code
alchemistdrobins25/craftAgent74todayMITA355Claude Code
become-researcherdrobins25/craftAgent74todayMITA226Claude Code
testerdrobins25/craftAgent74todayMITA200Claude Code
practitioner-reviewerdrobins25/craftAgent74todayMITA167Claude Code
biz-dev-agentJOINCLASS/ai-ceo-frameworkAgent63yesterdayMITA24Claude Code
publisher-agentJOINCLASS/ai-ceo-frameworkAgent63yesterdayMITA25Claude Code