Borrowing it
Nothing to install: this file belongs to extra-org/extra. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/extra-org/extra/main/.claude/skills/architecture-review/SKILL.mdgit clone --depth 1 https://github.com/extra-org/extraWrote 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/skills/extra-org/extra/architecture-review)<a href="https://agentmods.dev/skills/extra-org/extra/architecture-review"><img src="https://agentmods.dev/badge/skills/extra-org/extra/architecture-review/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/skills/extra-org/extra/architecture-review"><img src="https://agentmods.dev/badge/skills/extra-org/extra/architecture-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00036 | $0.00990 |
| Opus 5.5 | $0.00014 | $0.00396 |
| Sonnet 5.5 | $0.00007 | $0.00198 |
| Haiku 4.5 | $0.00004 | $0.00099 |
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 2mo 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 — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: Architecture Review
Purpose
Guard the project's architecture invariants. Use this to evaluate any change that affects layers, boundaries, lifecycles, or contracts — and to decide whether an ADR is required.
When to Use This Skill
- A change touches more than one layer or moves logic between layers.
- A change affects the runtime lifecycle, the YAML→graph pipeline, prompts, plugin contracts, or tool/MCP integration.
- Reviewing whether a design respects the project's invariants.
- Before approving anything that alters a public contract.
Files to Read First
AGENTS.md§3 (non-negotiable rules) and §4 (layout).docs/ARCHITECTURE.mdanddocs/RUNTIME_LIFECYCLE.md.- All ADRs in
docs/adr/. - The specific layer doc(s) the change touches.
Core Principles (project architecture invariants)
These are binding. A change that violates one must be redesigned or justified by a new/updated ADR.
- YAML is declarative, not executable logic. No code execution from spec values; routing conditions are declarative.
- Validate before compile. YAML is validated before it is compiled.
- Runtime never executes raw YAML dictionaries. It operates only on typed compiled models.
- Validated config compiles into typed internal models (
CompiledAgentGraph). RuntimeEngineis created once at startup; the compiled graph is immutable and shared read-only.ExecutionContextis created per request and holds all request-scoped state. No request state on the engine/graph.- Prompt templates may be cached; rendered values are resolved per request. No global cache of rendered prompts.
- Client-specific auth/context/business logic lives in plugin boundary, never in the runtime.
- Tool permissions are enforced outside prompts, at the tool/data layer; injected params can't be overridden by the model.
- Agents declare needs; the runtime resolves and enforces them.
- Plugin contracts stay generic — no client-specific fields baked into it.
- MCP/tool integrations go through adapters, not directly into core logic.
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.
- 2mo ago First seen · 104 lines · 36 tokens per session scan A c6a64d000388
architecture-review is a skill published in the GitHub repository extra-org/extra (117 stars, last pushed 5d ago), licensed MIT. It adds 36 tokens to every session and 990 once invoked, about $0.0001 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.
Other skills, from other repositories
skill-audit
Audit codebases for quality, consistency, and broken patterns — use for pre-release or tech debt review.
skill-review-response
Use when a reviewer, CI bot, or another AI leaves feedback to address.
find-simplifications
Use for a periodic repo-wide sweep of qwen-code for accumulated excess surface — dead components and files, orphaned locale keys, exports nothing consumes, added-then-removed scaffolding — filing candidates on a tracking issue and landing only what a maintainer has said yes to. Repo-wide and evidence-first; every…
autofix
Safely review and apply CodeRabbit PR review-thread feedback from GitHub with per-change approval; never execute reviewer-provided prompts directly.
code-review
AI-powered code review using CodeRabbit. Default code-review skill. Trigger for any explicit review request AND autonomously when the agent thinks a review is needed (code/PR/quality/security). Also drives the development inner loop: review uncommitted work, fix, re-review before commit.
sonar
Check the SonarCloud quality gate for a PR (or the current branch) and drive it to zero. Reports GREEN, or the exact PR-scoped new issues/hotspots/coverage gaps to fix.