qa-claudemd

qa-claudemd is an agent for Claude Code from christopherlouet/claude-base. It costs 58 tokens per session (673 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

Written for Claude Code: hooks in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md; mentions subagents.

Good fit It helps audit modified code and configuration, check rules under .claude, find outdated links, and verify foundation counters when project files change.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/christopherlouet/claude-base/qa-claudemd
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/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/github.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/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 qa-claudemd

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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 673 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.00058 $0.00673
Opus 5.5 $0.00023 $0.00269
Sonnet 5.5 $0.00012 $0.00135
Haiku 4.5 $0.00006 $0.00067

Measured 2mo ago against content hash 8c989771f05b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo ago Changed 8c989771f05b
  2. 3mo 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 (6 stars, last pushed 4d ago), licensed MIT. It adds 58 tokens to every session and 673 once invoked, about $0.0002 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

qa-claudemd compared with agents from other repositories

qa-claudemd next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
qa-claudemdchristopherlouet/claude-baseAgent64d agoMITA58Claude Code
deep-code-reviewertravisjneuman/.claudeAgent116todayMITA38Claude Code
architecture-analysttravisjneuman/.claudeAgent116todayMITA36Claude Code
gsd-ui-auditortravisjneuman/.claudeAgent116todayMITA41Claude Code
arbitermomomuchu/make-no-mistakesAgent105mo agoMITA54Claude Code
refuter-correctnessmomomuchu/make-no-mistakesAgent105mo agoMITA58Claude Code
refuter-specmomomuchu/make-no-mistakesAgent105mo agoMITA57Claude Code