architect-audit

architect-audit is a command for Claude Code from Hainrixz/the-architect. It costs 65 tokens per session (1,043 once invoked), scanned A, original, MIT.

A read-only command that checks an existing project blueprint against a blueprint validator and reports whether it passes or fails, with specific findings.

In plain words
What is it for?
Auditing blueprint files or blueprint directories and diagnosing whether they meet the required format and completeness checks.
Why use it?
It reveals missing implementation details—such as acceptance criteria, task files, or verification commands—before someone tries to build from the blueprint.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the the-architect plugin — 1 skill, 6 commands, 3 agents shipped together

Good fit Auditing blueprint files or blueprint directories and diagnosing whether they meet the required format and completeness checks.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Hainrixz/the-architect
Claude Code
/plugin install the-architect

Made for: Claude Code.

Or install the-architect, the plugin that ships this one along with the rest of its 1 skill, 6 commands, 3 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 architect-audit

README.md
[![agentmods](https://agentmods.dev/badge/commands/hainrixz/the-architect/architect-audit.svg)](https://agentmods.dev/commands/hainrixz/the-architect/architect-audit)
Your own site
<a href="https://agentmods.dev/commands/hainrixz/the-architect/architect-audit"><img src="https://agentmods.dev/badge/commands/hainrixz/the-architect/architect-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 65 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,043 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.00065 $0.01043
Opus 5 $0.00032 $0.00522
Sonnet 5 $0.00013 $0.00209
Haiku 4.5 $0.00006 $0.00104

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

Security

Grade A, and why

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

commands/architect-audit.md · 79 lines

How it starts

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

/architect-audit — validate an existing blueprint

You are being invoked as /architect-audit. This command is read-only. It grades a blueprint; it does not rewrite one.

Say this before you dispatch anything, whenever the target has no tasks.json beside it: a blueprint written before v2 will FAIL, with a long finding list. It has no acceptance criteria at all — that is the single thing the validator measures most of — plus no tasks.json, no epics, and no verify commands. The failure is a diagnosis of a format gap, not evidence that the tool is broken or that the design is bad. Setting that expectation up front is part of the job, because a twenty-finding report delivered without it reads as an accusation.

The rubric lives in the validator, not here: ${CLAUDE_PLUGIN_ROOT}/agents/blueprint-validator.md. Read it before reporting, so your summary uses the validator's own check names instead of invented ones.

Resolve the target

$ARGUMENTS is a path. Handle these cases:

Argument Do
A .md file Audit that file.
A directory Glob it for the canonical bundle tree — blueprint.md, tasks.json, epics/*.md, and workspace/ (workspace/CLAUDE.md, workspace/AGENTS.md, workspace/.claude/). Audit the bundle as a whole — a bundle missing tasks.json is itself a finding, and so is a workspace/.claude/commands/ directory, which is never emitted.
Empty Glob ./blueprints/*/ in the cwd, then ./blueprints/*-blueprint.md for single-file mode. One match → use it. Several → list them and ask which. None → say so and point at /architect.
A path that does not exist Say so. Do not guess a neighbor.

Run

Dispatch blueprint-validator with the Task tool, handing it the resolved path. Do not grade the blueprint yourself — a second opinion from the same context is not a second opinion.

Report

Print, in this order:

  1. VerdictPASS or FAIL, one line, no hedging.
  2. Findings tableSeverity | Check | Where | What is wrong | Fix. Blockers first. Point at section headings or task ids, never "somewhere in the build order".
  3. Coverage — how many build steps have an observable "Done when", how many have a verify command, how many tasks in tasks.json have acceptance criteria. Report as n/total, not as a vibe.
  4. Next move — one line:
    • Stale version pins only → /architect-refresh <path>.
    • Missing acceptance criteria, no tasks.json, no epics → the structure is not there to patch; re-run /architect and reuse the answers.
    • Existing codebase → /architect-brownfield.

Read the full file on GitHub · 79 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 · 79 lines · 65 tokens per session scan A b3ea6b29815d

Subscribe to this mod's changes

architect-audit is a command published in the GitHub repository Hainrixz/the-architect (488 stars, last pushed 1mo ago), licensed MIT. It adds 65 tokens to every session and 1,043 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-30.