ambiguity-auditor

ambiguity-auditor is a command for Claude Code from mathiasbourgoin/roster. It costs 22 tokens per session (1,005 once invoked), scanned A, original, MIT.

A review command for a knowledge base, a set of documents used as a shared reference. It checks terms, requirements, contradictions, and outdated content.

In plain words
What is it for?
Use it to check a knowledge base for undefined terms, vague requirements, inconsistent claims, and stale files.
Why use it?
It finds unclear wording and conflicting information that can lead to different interpretations or incorrect work.

Command for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Part of the roster plugin — 38 commands, 8 agents shipped together

Good fit Use it to check a knowledge base for undefined terms, vague requirements, inconsistent claims, and stale files.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/mathiasbourgoin/roster/ambiguity-auditor
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/mathiasbourgoin/roster

Made for: Claude Code.

Or install roster, the plugin that ships this one along with the rest of its 38 commands, 8 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 ambiguity-auditor

README.md
[![agentmods](https://agentmods.dev/badge/commands/mathiasbourgoin/roster/ambiguity-auditor/github.svg)](https://agentmods.dev/commands/mathiasbourgoin/roster/ambiguity-auditor)
Your own site
<a href="https://agentmods.dev/commands/mathiasbourgoin/roster/ambiguity-auditor"><img src="https://agentmods.dev/badge/commands/mathiasbourgoin/roster/ambiguity-auditor/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 ambiguity-auditor

Your own site · 80×15
<a href="https://agentmods.dev/commands/mathiasbourgoin/roster/ambiguity-auditor"><img src="https://agentmods.dev/badge/commands/mathiasbourgoin/roster/ambiguity-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 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,005 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.00022 $0.01005
Opus 5 $0.00011 $0.00502
Sonnet 5 $0.00004 $0.00201
Haiku 4.5 $0.00002 $0.00101

Measured 9d ago against content hash cca80ebecb4e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

ambiguity-auditor 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 9d 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/commands/ambiguity-auditor.md · 114 lines

How it starts

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

Ambiguity Auditor

Scan all knowledge base files and produce a structured report of ambiguity, inconsistency, and staleness issues.

Steps

1. Load KB

  • Read kb/index.md to enumerate all KB files.
  • Read kb/glossary.md to build the set of defined terms.
  • Read every KB file listed in the index.

2. Check: Undefined or Inconsistent Terms

  • Extract all domain-specific nouns and noun phrases from each KB file.
  • For each term, verify it appears in kb/glossary.md.
  • Flag terms used but not defined.
  • Flag terms defined differently in glossary vs. usage in context (inconsistent usage).

3. Check: Vague Requirements

Scan for patterns indicating unquantified or untestable requirements:

  • Subjective qualifiers: "should be fast", "handle errors gracefully", "in a timely manner", "as needed", "if possible", "reasonable", "appropriate"
  • Missing thresholds: "low latency" (how low?), "high availability" (what SLA?), "scalable" (to what load?)
  • Weasel phrases: "generally", "typically", "in most cases", "may", "might"

For each match, flag and recommend a quantified replacement.

4. Check: Contradictions Between Files

  • Cross-reference claims across all KB files.
  • Specifically compare: spec.md vs properties.md, architecture.md vs spec.md, any file vs glossary.md.
  • Flag: same concept described with conflicting behavior, conflicting constraints, or conflicting ownership.

5. Check: Missing Cross-References

  • When a KB file mentions a concept that has its own KB entry or glossary definition, verify a cross-reference exists (link, explicit "see X", or inline definition).
  • Flag missing cross-references.

6. Check: Stale Content

  • Check last-updated frontmatter in each KB file. Flag files older than 30 days.
  • Check for references to components, functions, or files that no longer exist in the codebase (use find / grep to verify).
  • Flag dead references.

7. Cross-Spec Entity Consistency (conditional)

ls specs/*.md 2>/dev/null

Read the full file on GitHub · 114 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. 9d ago First seen · 114 lines · 22 tokens per session scan A cca80ebecb4e

Subscribe to this mod's changes

ambiguity-auditor is a command published in the GitHub repository mathiasbourgoin/roster (2 stars, last pushed 2d ago), licensed MIT. It adds 22 tokens to every session and 1,005 once invoked, about $0.0001 per session on Opus 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.