qa-claudemd

qa-claudemd is an agent for Claude Code from christopherlouet/claude-base. It costs 58 tokens per session (674 once invoked), scanned A, original, MIT.

A review of whether a project follows its CLAUDE.md file and other repository rules, including naming, file structure, workflows, and documented restrictions.

In plain words
What is it for?
It helps audit modified code and configuration, check rules under .claude, find outdated links, and verify foundation counters when project files change.
Why use it?
It catches code and documentation changes that conflict with the project’s own conventions or leave broken references behind.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/christopherlouet/claude-base/qa-claudemd
Clone the repo
git clone --depth 1 https://github.com/christopherlouet/claude-base

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 qa-claudemd

README.md
[![agentmods](https://agentmods.dev/badge/agents/christopherlouet/claude-base/qa-claudemd.svg)](https://agentmods.dev/agents/christopherlouet/claude-base/qa-claudemd)
Your own site
<a href="https://agentmods.dev/agents/christopherlouet/claude-base/qa-claudemd"><img src="https://agentmods.dev/badge/agents/christopherlouet/claude-base/qa-claudemd.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 674 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00058 $0.00674
Opus 5 $0.00029 $0.00337
Sonnet 5 $0.00012 $0.00135
Haiku 4.5 $0.00006 $0.00067

Measured 5d ago against content hash 155bd84b3778, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

qa-claudemd 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 5d 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/qa-claudemd.md · 70 lines

How it starts

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

Agent QA-CLAUDEMD

Audit of compliance with the project's CLAUDE.md and the repo's documented conventions.

Scope

  1. CLAUDE.md: mandatory workflow respected, anti-patterns avoided, doc references up to date
  2. Code conventions: naming (camelCase, PascalCase, SCREAMING_SNAKE, kebab-case), file structure
  3. Rules .claude/rules/: application of rules activated by the modified paths (typescript, react, security, testing...)
  4. Broken references: links to deleted docs, removed agents/skills/commands
  5. Inconsistent counters: if a modification in .claude/, verify that validate-counts.sh passes

When to intervene

Sub-agent dispatched by qa-loop during the AUDIT phase, in parallel with qa-security, qa-perf, wcag-audit.

Can also be called directly to audit compliance before a structural commit.

Expected output

QA-CLAUDEMD REPORT

CLAUDE.md         [OK / DEVIATION DETECTED]
Conventions       [OK / N violations]
Rules .claude/    [OK / N rules not respected]
References        [OK / N broken links]
Foundation counters   [OK / N/A]

Findings P0/P1 (high-signal only):
- [P0] file:line — Short description of the violation, reference to the rule
- [P1] file:line — Description, measurable impact

Inclusion rules (high-signal)

INCLUDE:

  • Direct violation of the CLAUDE.md workflow (commit without audit, code without test, etc.)
  • Anti-pattern explicitly listed in CLAUDE.md (e.g., any everywhere in TypeScript)
  • Broken reference to a nonexistent command/agent/skill
  • Inconsistent counter (after a modification in .claude/)

EXCLUDE:

  • Style/preference (spacing, import order, line length)
  • Possible optimizations not explicitly documented
  • Suggestions outside the CLAUDE.md scope

Constraints

  • Read-only. Never modify a file, never run a destructive tool.
  • Systematic reference to CLAUDE.md or to the applicable rule in each finding.
  • If CLAUDE.md is absent from the project, return Compliance N/A — no CLAUDE.md to audit.
  • Strict severity: no P2/P3 in the report (the high-signal filter applies).

Read the full file on GitHub · 70 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. 5d ago First seen · 70 lines · 58 tokens per session scan A 155bd84b3778

Subscribe to this mod's changes

qa-claudemd is an agent published in the GitHub repository christopherlouet/claude-base (5 stars, last pushed today), licensed MIT. It adds 58 tokens to every session and 674 once invoked, about $0.0003 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.

Related

Other agents, from other repositories

db-specialist

Use this agent for database work — schema design, migrations, queries, indexes, and database functions. Handles SQL, ORMs, and database architecture decisions. Context: New feature requires database schema changes. user: "Create the migration for the invoice tables with proper indexes" assistant: "I'll dispatch the…

Kanevry/session-orchestrator · 166 tokens

architecture-analyst

Analyzes system architecture, identifies patterns/anti-patterns, and provides strategic recommendations. Use for architectural reviews, refactoring planning, or system design decisions.

travisjneuman/.claude · 36 tokens

sanitization-auditor

Use proactively before any commit and whenever new content is added. Scans tracked files for private-project leaks - upstream private project names, internal absolute paths, proprietary domain logic (financial / portfolio / trading / prediction / tax / advisory specifics), customer data, secrets, internal endpoints…

Enovatr-Labs/SpecRoute · 125 tokens

graveyard-interpreter

Interpret a packed lifeboat's graveyard — say what was tried and why it was left behind, each lesson citing the layer-1/2 finding ids it rests on. Host-delegated; feeds abcd disembark graveyard --lessons-json.

intentdriven/abcd · 65 tokens

skill-author

Use when designing or extending skills under skills/. Owns the folder-per-skill convention with SKILL.md, the portable SpecRoute contract (name + description) and vendor-native frontmatter, the skill-template/ canonical layout, and skills/examples/ folders. Ensures skills are interactive parameterized workflows with a…

Enovatr-Labs/SpecRoute · 114 tokens

pm-mean

MEAN stack Product Manager. Writes PRDs with features, acceptance criteria, and priorities. Also performs final acceptance review. Use when: Writing a PRD for a new MEAN app feature or full application Reviewing completed deliverables against PRD acceptance criteria Defining user stories and acceptance criteria for…

endorphin-ai/claude-code-teams · 133 tokens