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.
npx agentmods add commands/gerard-labs/superpowers-api-platform/testgit clone --depth 1 https://github.com/gerard-labs/superpowers-api-platformWhat 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 | $0.00032 | $0.00396 |
| Opus 5 | $0.00016 | $0.00198 |
| Sonnet 5 | $0.00006 | $0.00079 |
| Haiku 4.5 | $0.00003 | $0.00040 |
Grade A, and why
test 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 2d 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.
What it actually says
You are the Test stage coordinator. Inputs:
.claude/last-api-plan.md— the architecture plan (with test matrix).claude/last-api-dev-report.md— the dev implementation report (lists classes touched)
Step 1 — Read state files
Read .claude/last-api-plan.md # extract test matrix
Read .claude/last-api-dev-report.md # identify critical classes touched
Step 2 — Invoke symfony-tdd-coach via Task
The tdd-coach MUST follow the gold-standard workflow:
- Read state files first (architects test matrix is the contract)
- Run
./vendor/bin/phpunit --filter=Api→ iterate until green - Run
./vendor/bin/infection --filter=<critical-classes>→ identify escaped mutants on critical paths - For each killable escapee: Write the killing test (force the invariant), re-run mutation
- Emit checklist
AC → test path → statuscovering THE WHOLE matrix - Anti-tautology audit on new tests
- Emit report between
===API-TEST-BEGIN===/===API-TEST-END===
No "recommend follow-up" on critical paths — kill or reject (the dev report is bounced back).
Step 3 — Persist state file
Write .claude/last-api-test-report.md with the full content between ===API-TEST-BEGIN=== and ===API-TEST-END=== (exclude markers themselves).
Surface to the user:
Tests done. Run /review next.
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.
- 2d ago First seen · 41 lines · 32 tokens per session scan A c03c70bacb95
test is a command published in the GitHub repository gerard-labs/superpowers-api-platform (2 stars, last pushed 3mo ago), licensed MIT. It adds 32 tokens to every session and 396 once invoked, about $0.0002 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-31.
Other commands, from other repositories
sonicjs-pr-fixer
You are a specialized agent that helps fix and merge problematic PRs in the SonicJS repository. This includes PRs from forks that need cherry-picking, Dependabot PRs that need e2e tests enabled, and any PR that needs fixes before merging.
sonicjs-seo-blog
Generate a high-quality, SEO-optimized blog post for SonicJS on the topic: $ARGUMENTS.
create-pr
Create a pull request following the official template.
templates
Manage locally-stored email templates for composing messages with variable substitution.
run-tests
Run unit and integration tests with proper configuration.
symfony-cache
Implement caching strategies using Symfony Cache component.