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/joanseg/specmanager/specmanager-architecturegit clone --depth 1 https://github.com/joanseg/specmanagerWhat 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.00024 | $0.00372 |
| Opus 5 | $0.00012 | $0.00186 |
| Sonnet 5 | $0.00005 | $0.00074 |
| Haiku 4.5 | $0.00002 | $0.00037 |
Grade A, and why
specmanager-architecture 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
Generate an Architecture draft for the feature: $ARGUMENTS.
Steps
-
Resolve the feature. Call
list_features; match byidorslug. Stop if not found. -
Check the gate. Call
check_gate({ featureId, stage: "architecture" }). Ifok: false, reportreasonto the user and stop — do NOT try to generate around a closed gate. -
Confirm no draft already exists.
list_documents({ featureId, stage: "architecture" }). If a doc exists, point the user at the panel to edit, or to delete it before regenerating. Don't duplicate. -
Invoke the subagent. Use the
Tasktool withsubagent_type: "architect"and a prompt that includes:- The feature id, title, and slug.
- The PRD id (look it up via
list_documents({ featureId, stage: "prd" })and pass it explicitly so the subagent doesn't waste tokens searching). - Any context the user gave alongside the slash command.
The architect will read the PRD, scan repo conventions, and call
create_documentitself. -
Sync CLAUDE.md. After the subagent returns, call
sync_claude_md. -
Report. Document id + file path. Suggest reviewing in the board.
Don't
- Don't bypass
check_gate. The gate is the contract. - Don't draft architecture inline — the subagent has the system prompt that enforces repo-grounded design.
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 · 25 lines · 24 tokens per session scan A 321d32401540
specmanager-architecture is a command published in the GitHub repository joanseg/specmanager (19 stars, last pushed 19d ago), licensed MIT. It adds 24 tokens to every session and 372 once invoked, about $0.0001 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
version
Display current guide and Claude Code versions.
go-review
Go code review for idiomatic patterns.
review-branch
Review the current branch's diff against base by dispatching atomic-reviewer. No orchestration loop, no spec required — pre-flight before /commit pr or /commit merge.
devs-team
Parallel multi-lens critique of a solution design (the active spec if present, else the decision brief). Dispatches 5 engineering lenses, merges findings, reports a verdict. Report-only, never blocks.
docs-review
Phase 4 of documenting-projects: Quality gate with 8 measurable criteria and iteration. Triggers: '/docs-review', invoked by documenting-projects orchestrator.
test
Run all PandaFilter verification steps in order. Stop and report on first failure. This is the required pre-commit gate.