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/nicelight/DevRails-26Wrote 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/nicelight/devrails-26/architecture-review)<a href="https://agentmods.dev/commands/nicelight/devrails-26/architecture-review"><img src="https://agentmods.dev/badge/commands/nicelight/devrails-26/architecture-review.svg" alt="Measured on agentmods" 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.00020 | $0.00743 |
| Opus 5 | $0.00010 | $0.00371 |
| Sonnet 5 | $0.00004 | $0.00149 |
| Haiku 4.5 | $0.00002 | $0.00074 |
Grade A, and why
architecture-review 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.
What it actually says
/architecture-review - Feature architecture review
<input_contract>
Require one FT-<NNN> plus its product, relevant epic, feature, implementation
plan, and indexed tasks. Include applicable direct architecture/spec links;
their absence is valid when canonical evidence shows none applies to the
reviewed feature. Read additional canonical specs or code evidence only when
needed to verify a finding.
</input_contract>
<hard_invariants>
- Work read-only. Do not repair specs, plans, tasks, or lifecycle state.
- Review the accepted target; do not invent architecture or requirements.
- The verdict covers this architecture review;
/review-tasks-planowns its finalAPPROVE|REJECT. - Do not require an ADR unless accepted project policy or the reviewed decision requires one.
- Create no separate report artifact. </hard_invariants>
- C4 L1-L3
- product/system purpose and actors remain coherent;
- relevant epic/subsystem boundaries and value are consistent;
- target feature/module responsibilities and dependencies fit that context.
- Architecture support
- applicable architecture/guides or equivalent contracts, states, runbooks, testing, invariants, and spec-index routes are present and consistent;
- one concrete concern has one canonical path.
- Boundaries and invariants
- ownership, source of truth, public boundaries, dependency direction, cross-component orchestration, and required proof paths are preserved;
- dependencies are explicit and no task must invent a material boundary. Their outcomes are prerequisites, not inherited proof; regression checks do not transfer claim ownership;
- the relevant subgraph has registered modules, exact contracts, accepted directions, and complete consumer impact until compatibility stops it;
- accepted architecture and rollout constraints—not graph shape alone—justify task dependencies and waves;
- a capability-sliced cross-slice outcome names one accepted capability slice as orchestration owner; reject an orchestration slice invented in planning;
- applicable linked rules retain existing mechanical gates and required runtime reproducibility proof; require neither without canonical evidence.
- Anti-patterns
- speculative architecture without current evidence;
- hidden or cyclic dependencies;
- business orchestration in transport handlers, generic utilities, or the composition root when accepted architecture forbids it;
- missing applicable invariants or required architecture proof.
<agent_discretion> Choose reading order, probes, and depth proportional to the target. Follow relevant dependencies beyond the feature only when they can change the verdict. </agent_discretion>
<required_outputs> Return only:
verdict: APPROVE|REQUEST_CHANGES|OWNER_DECISION_NEEDED;findings;evidence_checked;risks_or_questions.
Do not repeat source contents or the caller's task-planning review. </required_outputs>
<handoff_contract>
Return the report to /review-tasks-plan; the caller owns the final verdict and
repair route.
</handoff_contract>
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.
- 8d ago First seen · 89 lines · 20 tokens per session scan A af1bec61f7e8
architecture-review is a command published in the GitHub repository nicelight/DevRails-26 (22 stars, last pushed 3d ago), licensed MIT. It adds 20 tokens to every session and 743 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
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.