consistency-qa

consistency-qa is an agent for Claude Code from hyhmrright/brooks-lint. It costs 123 tokens per session (931 once invoked), scanned A, original, MIT.

A verification agent that checks whether a Brooks-Lint repository’s code, tests, documentation, manifests, version numbers, and generated metadata agree with one another. A repository is the shared project folder containing its source and supporting files.

In plain words
What is it for?
Use it as a release gate to run validation, tests, and evaluations, then confirm that plugin manifests, README badges, documentation metadata, changelog entries, and book-count descriptions stay synchronized.
Why use it?
Automated checks may miss disagreements between documents and release files. This agent compares those related files and reports drift before a change is released.

Agent for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: model in frontmatter; mentions AGENTS.md; mentions Codex.

Part of the brooks-lint plugin — 9 skills, 6 commands, 5 agents, 1 hook shipped together

Good fit Use it as a release gate to run validation, tests, and evaluations, then confirm that plugin manifests, README badges, documentation metadata, changelog entries, and book-count descriptions stay synchronized.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hyhmrright/brooks-lint/consistency-qa
About the project

brooks-lint is an AI code-review project that examines software for six kinds of long-term code decay using ideas from twelve classic engineering books. It helps developers review pull requests, audit architecture, assess technical debt, test quality, and apply fixes through structured findings with sources, severity, and remedies. Its catalogue entries provide the skills, commands, agents, instructions, hook, and plugin used to run these reviews.

hyhmrright/brooks-lint · 1,455 stars · on GitHub · hyhmrright.github.io

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/hyhmrright/brooks-lint

Made for: Claude Code.

Or install brooks-lint, the plugin that ships this one along with the rest of its 9 skills, 6 commands, 5 agents, 1 hook.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/hyhmrright/brooks-lint/consistency-qa.svg)](https://agentmods.dev/agents/hyhmrright/brooks-lint/consistency-qa)
Your own site
<a href="https://agentmods.dev/agents/hyhmrright/brooks-lint/consistency-qa"><img src="https://agentmods.dev/badge/agents/hyhmrright/brooks-lint/consistency-qa.svg" alt="Measured on agentmods" height="20"></a>
Per session 123 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 931 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.00123 $0.00931
Opus 5 $0.00062 $0.00465
Sonnet 5 $0.00025 $0.00186
Haiku 4.5 $0.00012 $0.00093

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

Security

Grade A, and why

consistency-qa 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 8d 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/consistency-qa.md · 77 lines

How it starts

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

You are the gate. Nothing leaves the pipeline until the repo is internally consistent. Your job is not "does the file exist" — it is boundary-crossing comparison: read two artifacts that must agree and prove they agree.

Core role

  1. Run the automated gate, in order, and capture output:
    • npm run validate — manifests, every version-bearing text file (version-refs.mjs), CHANGELOG sync, source inventory, skills structure, guide step continuity, SKILL.md Process-section presence.
    • npm test — unit tests for the validate-repo helpers.
    • npm run evals — eval schema / id / risk-code structural validation.
  2. Then do the cross-document checks the validator only partially covers:
    • package.json version == .claude-plugin/plugin.json == .claude-plugin/marketplace.json == .codex-plugin/plugin.json == gemini-extension.json == all six README badges == docs/index.html JSON-LD.
    • CHANGELOG.md top section version == package.json version.
    • Book count: skills/_shared/source-coverage.md frontmatter list length is the single source; README.md, AGENTS.md, GEMINI.md must describe that same count in words ("twelve classic engineering books"). It is derived, never hardcoded — a mismatch means a doc was hand-edited out of sync.
    • AGENTS.md eval-count claim == actual scenario count in evals/evals.json.
    • Every skills/{name}/SKILL.md description ends with a "Do NOT trigger for:" clause (hard repo requirement).

Why this exists

npm run validate enforces a fixed set of assertions, but the four manifests + the version-bearing text files + three doc surfaces drift in ways a single script check can miss when someone edits one file by hand. The high-value bug is the boundary: README says twelve books, source-coverage lists thirteen. Read both, compare, report.

Working principles

  • Incremental. Run as soon as a stage finishes, not once at the very end — catch drift while the author still has context.
  • Concrete findings only. Each finding: file:line → what's inconsistent → with what → suggested fix. Never "looks fine" without having run the command.
  • You do not edit. You diagnose and loop back. Fixes belong to skill-author / eval-curator / release-manager.

Read the full file on GitHub · 77 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. 8d ago First seen · 77 lines · 123 tokens per session scan A f023cbaa4f50

Subscribe to this mod's changes

consistency-qa is an agent published in the GitHub repository hyhmrright/brooks-lint (1,455 stars, last pushed 6d ago), licensed MIT. It adds 123 tokens to every session and 931 once invoked, about $0.0006 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-30.

Related

Other agents, from other repositories

acceptance-test-generator

Generates integration/E2E test skeletons from Design Doc ACs using ROI-based selection and journey-based E2E reservation. Use when Design Doc is complete and test design is needed, or when "test skeleton/AC/acceptance criteria" is mentioned. Behavior-first approach for minimal tests with maximum coverage.

shinpr/claude-code-workflows · 68 tokens

quality-fixer-frontend

Specialized agent for verifying React projects and fixing frontend quality failures within the current task scope. Use proactively after code changes or for quality, test, build, lint, format, type, or fix requests.

shinpr/claude-code-workflows · 47 tokens

quality-fixer

Specialized agent for verifying software projects and fixing quality failures within the current task scope. Use proactively after code changes or for quality, test, build, lint, format, correctness, or fix requests.

shinpr/claude-code-workflows · 44 tokens

integration-test-reviewer

Reviews changed integration and E2E tests against skeletons, proof obligations, or explicit prompt claims. Use after test implementation or when test review/skeleton verification is requested. Returns only material proof gaps with the smallest sufficient corrections.

shinpr/claude-code-workflows · 50 tokens

verifier

Runs a project's configured verification stages (build/unit/integration/etc.) from .lattice/verification.yaml via the deterministic runner script, then returns the run's summary.json verbatim. Invoke before declaring work done, to confirm a change actually works, or whenever a faithful execution report is needed…

techygarg/lattice · 0 tokens

verifier

Mechanical validation on the cheapest tier - runs exactly the commands it is handed, reports exit codes and counts verbatim against the handoff's baseline, and never edits, fixes or theorizes. A red suite is its product, not its failure. Spawned by the conductor at merge time and for the serial re-run of a suspect…

jjanczur/tyran · 71 tokens