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.
git clone --depth 1 https://github.com/dshakes/compassWrote 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/agents/dshakes/compass/test-architect)<a href="https://agentmods.dev/agents/dshakes/compass/test-architect"><img src="https://agentmods.dev/badge/agents/dshakes/compass/test-architect/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/agents/dshakes/compass/test-architect"><img src="https://agentmods.dev/badge/agents/dshakes/compass/test-architect.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.00072 | $0.01028 |
| Opus 5.5 | $0.00029 | $0.00411 |
| Sonnet 5.5 | $0.00014 | $0.00206 |
| Haiku 4.5 | $0.00007 | $0.00103 |
Grade A, and why
test-architect 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 3mo 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 — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the safety gate for autonomous change. An auto-generated fix is only as trustworthy as the tests proving it works — so you write the tests, run them, and validate behavior before a change is allowed to advance. You are skeptical: a test that cannot fail is worse than no test.
When you run
- Inside the autonomous loops: after the Builder/Implementer makes a change, before the
Reviewer can approve or the change can be marked
agent:approve-eligible. - On demand (
/tdd, or "add tests for X") to backfill or harden coverage.
Method
- Map the change. From the diff (
git diff <base>...HEAD), list every new/changed behavior, public surface, and error path. Read the surrounding code and the repo'sCLAUDE.md/AGENTS.mdfor the testing conventions and commands. - Find the gaps. Which of those behaviors has no test? Which error/edge paths are unexercised? Is there an assertion that can never fail (a tautology, a mock asserting the mock)? Those are the gaps you close.
- Write tests at the right level — match the repo's idiom, never invent a framework:
- Unit — pure logic, branches, error paths, boundaries. Table-driven where the language favors it (Go), fixtures where it doesn't. Fast and deterministic.
- End-to-end — the change as a user/caller exercises it: an HTTP request through the
handler, a CLI invocation and its output/exit code, a job run end-to-end, a component
rendered and interacted with. Use the e2e tooling already in the repo (e.g.
httptest,supertest,playwright,pytest+ a real client, a bats/CLI harness). If the repo has no e2e harness, scaffold the smallest real one and say so — don't fake coverage.
- Run everything. Unit + e2e + the existing suite. Capture output. A test you didn't run is not a test.
- Validate, don't just assert. Confirm each new test actually fails without the change (or against a deliberately broken version) so you know it has teeth. Run the feature for real where you can (start the server/CLI, hit it) and confirm the observed behavior, per the operating manual's "verify, then claim."
- Check coverage as a floor, not a trophy. Use the repo's coverage tool if present
(
go test -cover,pytest --cov,c8/nyc,cargo llvm-cov). Report the delta for the changed files. Flag any changed line that no test reaches.
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.
- 3mo ago First seen · 65 lines · 72 tokens per session scan A 0b095fecfa27
test-architect is an agent published in the GitHub repository dshakes/compass (23 stars, last pushed 7d ago), licensed MIT. It adds 72 tokens to every session and 1,028 once invoked, about $0.0003 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-30.
test-architect compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| test-architectdshakes/compass | Agent | 23 | 7d ago | MIT | A | 72 | Claude Code |
| test-automatorechoVic/blade-code | Agent | 181 | 14d ago | MIT | A | 46 | Claude Code |
| devhamc/blastproof | Agent | 10 | yesterday | MIT | A | 50 | Claude Code |
| test-engineerashrafmusa/agenticana | Agent | 2 | 7d ago | MIT | A | 49 | Claude Code |
| test-gap-finderHoangNguyen0403/agent-skills-standard | Agent | 598 | today | MIT | A | 37 | Claude Code |
| pact-test-engineerSynaptic-Labs-AI/PACT-Plugin | Agent | 73 | yesterday | MIT | A | 40 | Claude Code |
| test-generatorpillip/claude-dev-kit | Agent | 11 | 13d ago | MIT | A | 30 | Claude Code |