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.
/plugin marketplace add Hainrixz/the-architect/plugin install the-architectWrote 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.
[](https://agentmods.dev/commands/hainrixz/the-architect/architect-brownfield)<a href="https://agentmods.dev/commands/hainrixz/the-architect/architect-brownfield"><img src="https://agentmods.dev/badge/commands/hainrixz/the-architect/architect-brownfield/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.
<a href="https://agentmods.dev/commands/hainrixz/the-architect/architect-brownfield"><img src="https://agentmods.dev/badge/commands/hainrixz/the-architect/architect-brownfield.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00071 | $0.02094 |
| Opus 5 | $0.00036 | $0.01047 |
| Sonnet 5 | $0.00014 | $0.00419 |
| Haiku 4.5 | $0.00007 | $0.00209 |
Grade A, and why
architect-brownfield 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 10d 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.
How it starts
The opening of the file, as written. The whole thing — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/architect-brownfield — design a change to code that already exists
You are being invoked as /architect-brownfield. Most coding-agent work is not greenfield —
roughly a quarter of sessions write new code, and the rest modify what is already there. This is the
entry point for the rest.
Read the skill first — the phases, the shapes, and the acceptance-criteria contract are unchanged:
- Plugin install:
${CLAUDE_PLUGIN_ROOT}/skills/architect/SKILL.md - Clone install:
./CLAUDE.mdat the repo root — the clone-mode mirror of the skill. Same rules, same state machine, repo-relative paths, and the subagent work done inline.
Mode
| Setting | Value |
|---|---|
| Entry | Existing repo in the cwd |
| Deliverable | A change blueprint — feature, refactor, integration, or migration |
| Shapes | Same files. They are stack-agnostic, so they describe a system that already exists just as well as one that does not. |
| Output | Bundle or single file — ask at phase-4 Step 2, recommend bundle. Both land under ./blueprints/ in the repo. |
| Gate | blueprint-validator must return PASS |
Phase 0 — map the repo (this is the phase that does not exist in the greenfield flow)
Before any question, read the codebase. Do not ask the user what you can read.
| What | Where to look |
|---|---|
| Runtime track | Package manifest + lockfile, language version files, container base image |
| Framework and topology | Entry points, routing directory, server vs client split, workspace layout |
| Conventions | Naming, module boundaries, error handling, the linter/formatter config that is actually enforced |
| Data layer | Migrations directory, schema files, ORM usage sites |
| Test setup | Runner, where tests live, how they are named, what the coverage floor is if any |
| CI and deploy | Workflow files, deploy config, environment variable surface |
| Existing agent instructions | CLAUDE.md / AGENTS.md — these outrank the plugin's defaults |
Then print a Repo Map: track, framework, data layer, test command, lint command, build command, deploy target, and the 3-5 conventions the change must respect. Ask the user to correct anything you read wrong. Their correction is cheaper than your assumption.
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.
- 10d ago First seen · 151 lines · 71 tokens per session scan A d676fba87648
architect-brownfield is a command published in the GitHub repository Hainrixz/the-architect (490 stars, last pushed 1mo ago), licensed MIT. It adds 71 tokens to every session and 2,094 once invoked, about $0.0004 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.
Other commands, from other repositories
workflow-classify
Classify task size (S/M/L/XL) and recommend the appropriate workflow pipeline.
security-review
A security review procedure based on CWE, a list of common software weaknesses, and STRIDE, a method for identifying threats to a system.
spreadsheet-audit
Perform a 6-step audit of an Excel spreadsheet for formula correctness, formatting consistency, data integrity, boss-auditable simplicity, and spec compliance. Uses the excel-screenshot MCP server tools — no Excel installation required.
research-perplexity
Run a deep research query using Perplexity's /research mode via Playwright browser automation. This is an alternative to /export-to-council that uses Perplexity's dedicated research mode instead of multi-model council.
update-counts
Update all hardcoded counts (skills, agents, marketplace repos/skills) across documentation from filesystem.
handoff
Create a comprehensive handoff document for the current work session.