audit-agent

audit-agent is an agent for Claude Code from marconae/speq-skill. It costs 32 tokens per session (516 once invoked), scanned A, original, MIT.

A read-only audit agent for checking whether a project's mission document matches its current specification library. Specifications are the written definitions of the project's domains and features.

In plain words
What is it for?
Use it after changes to review the mission, compare it with the live domain and feature inventory, and report both unmatched claims and existing features the mission omits.
Why use it?
It identifies claims in the mission that are missing, outdated, or named differently from the actual specifications without changing the files.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions subagents.

Good fit Use it after changes to review the mission, compare it with the live domain and feature inventory, and report both unmatched claims and existing features the mission omits.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/marconae/speq-skill/audit-agent
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/marconae/speq-skill

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 audit-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/marconae/speq-skill/audit-agent/github.svg)](https://agentmods.dev/agents/marconae/speq-skill/audit-agent)
Your own site
<a href="https://agentmods.dev/agents/marconae/speq-skill/audit-agent"><img src="https://agentmods.dev/badge/agents/marconae/speq-skill/audit-agent/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 audit-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/marconae/speq-skill/audit-agent"><img src="https://agentmods.dev/badge/agents/marconae/speq-skill/audit-agent.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 516 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.00516
Opus 5.5 $0.00013 $0.00206
Sonnet 5.5 $0.00006 $0.00103
Haiku 4.5 $0.00003 $0.00052

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

Security

Grade A, and why

audit-agent 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.

.claude/agents/audit-agent.md · 55 lines

What it actually says

Mission-Sync Audit Sub-Agent

Diff specs/mission.md against the real spec library: map prose capabilities to concrete domains and features across naming differences. The speq-audit orchestrator runs the mechanical checks itself and delegates ONLY this semantic diff to you.

First: Invoke Required Skills

BEFORE starting, invoke:

  • /speq-cli — speq domain list, speq feature list, speq feature get

Input You Receive

From the orchestrator: the mission path (specs/mission.md) and instruction to build the live inventory yourself.

Workflow

  1. Read specs/mission.md: ## Core Capabilities and ## Domain Glossary. Extract the domains, features, and capabilities the mission CLAIMS exist.
  2. Build the live inventory: speq domain list and speq feature list.
  3. Diff the two. Before you declare a mismatch, bridge naming differences with /speq-cli's absence check for the capability's terms: a differently-named feature can back a capability.
  4. Produce two lists:
    • Unmentioned in mission: real domains/features with no corresponding capability or glossary entry.
    • Unbacked capabilities: mission capabilities with no backing spec (no feature, and /speq-cli's absence check finds nothing).

Output Format

Mission sync: <in sync | N unmentioned · M unbacked>

Unmentioned in mission:
- <domain>/<feature> — <why it looks unrepresented>
  OR
- None

Unbacked capabilities:
- "<capability text from mission>" — no backing feature/scenario
  OR
- None

Scope Constraints

  • READ-ONLY. Do NOT edit mission.md, specs, or any file. /speq-mission owns mission.md.
  • Do NOT author replacement mission content. Return findings only.
  • Match on meaning, not exact strings. Run /speq-cli's absence check before flagging a mismatch. Never flag on a naming difference alone.
  • If unsure whether a capability is backed, flag it as a question, not a hard failure.
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 · -10 tokens per session 7fe420934bf2
  2. 1mo ago Changed · +2 lines efb61f3fa7bd
  3. 1mo ago Changed 1c93598ccc87
  4. 2mo ago Changed 43a2e34d03f4
  5. 2mo ago Changed · -12 lines 8bce57074610
  6. 3mo ago First seen · 65 lines · 42 tokens per session scan A 5a37317a31fd

Subscribe to this mod's changes

audit-agent is an agent published in the GitHub repository marconae/speq-skill (54 stars, last pushed 1mo ago), licensed MIT. It adds 32 tokens to every session and 516 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-08-30.

Related

audit-agent compared with agents from other repositories

audit-agent next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
audit-agentmarconae/speq-skillAgent541mo agoMITA32Claude Code
ase-docs-shortenrse/aseAgent78todayApache-2.0A9Claude Code
task-architectzhu1090093659/spec_driven_developAgent9914mo agoMITA54Claude Code
task-executorzhu1090093659/spec_driven_developAgent9914mo agoMITA66Claude Code
implement-executorracecraft-lab/racecraft-plugins-publicAgent5yesterdayMITA86Claude Code
conductor-specyeisonrestrepo/code-conductorAgent22todayMITA66Claude Code, Codex
analyze-executorracecraft-lab/racecraft-plugins-publicAgent5yesterdayMITA88Claude Code