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 skills add alexei-led/architect --skill methodology-architecture-fitnessgit clone --depth 1 https://github.com/alexei-led/architectWrote 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/alexei-led/architect/methodology-architecture-fitness)<a href="https://agentmods.dev/skills/alexei-led/architect/methodology-architecture-fitness"><img src="https://agentmods.dev/badge/skills/alexei-led/architect/methodology-architecture-fitness/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/alexei-led/architect/methodology-architecture-fitness"><img src="https://agentmods.dev/badge/skills/alexei-led/architect/methodology-architecture-fitness.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.00084 | $0.01176 |
| Opus 5 | $0.00042 | $0.00588 |
| Sonnet 5 | $0.00017 | $0.00235 |
| Haiku 4.5 | $0.00008 | $0.00118 |
Grade A, and why
methodology-architecture-fitness 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 11d 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 — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Architecture fitness
Architecture intent that lives only in a doc is a suggestion. Intent that runs in CI is enforced. A fitness function is an automated check that fails the build when the system drifts from an intended architectural property — a layering rule, an allowed-dependency rule, a cycle ban, a bundle-size budget.
This follows the evolutionary architecture idea of fitness functions. For a review: a documented rule and an enforced rule are not the same, and the score must reflect which one you actually found.
When to use
Use while scoring the architecture_fitness dimension, when designing checks for
a new architecture, or when a finding's fix is "and keep it from coming back." A
boundary repair without a check to hold it will rot again; the plan should add
the check.
Skill navigation
- Missing architecture intent: use
architecture-designto define it orarchitecture-reviewto reconstruct it from docs and code. - Current skill: use
methodology-architecture-fitnessto distinguish existing enforced checks from recommended checks. - Next skill: use
architecture-scorecardwhen scoring a review, include checks inarchitecture-design, or sequence approved missing checks inarchitecture-plan.
Existing checks vs recommended checks
Keep these strictly separate — conflating them inflates the score.
- Existing check — a check that actually runs and can fail the build today.
Evidence: a CI step, a lint/dep-rule config, a test that asserts an
architectural property, or an archfit gate wired into CI. Cite it. Only
existing, enforced checks raise the
architecture_fitnessscore. - Recommended check — a check you propose because intent is currently unenforced. It is a recommendation, not evidence of fitness. It belongs in the report's recommendations and the refactoring plan, and does not raise the score.
A repo with thorough architecture docs and zero enforcement scores low on fitness, not high. Documentation is intent; fitness is enforcement.
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.
- 11d ago First seen · 119 lines · 84 tokens per session scan A 702520ad1fa2
methodology-architecture-fitness is a skill published in the GitHub repository alexei-led/architect (2 stars, last pushed 1mo ago), licensed MIT. It adds 84 tokens to every session and 1,176 once invoked, about $0.0004 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 skills, from other repositories
brooks-sweep
Full-sweep mode: runs a unified analysis across all quality dimensions — code decay, architecture, tech debt, and test quality — then applies fixes directly to the codebase. Safe changes are auto-applied; risky changes are confirmed before execution. Drawing on twelve classic engineering books. Triggers when: user…
brooks-health
Combined codebase health dashboard that scores a project across all four quality dimensions — PR quality, architecture, tech debt, and test quality — in a single pass, drawing on twelve classic engineering books. Triggers when: user wants an overall quality assessment, asks "how healthy is this codebase?", "run all…
brooks-test
Test quality review drawing on twelve classic engineering books — with primary focus on xUnit Test Patterns, The Art of Unit Testing, How Google Tests Software, and Working Effectively with Legacy Code — that diagnoses structural problems in an existing test suite: brittleness, mock abuse, coverage illusions, slow…
auto-test-code
A structured process for critically reviewing and testing software code. It records review findings, test plans, commands, results, and supporting files in a project workspace.
reviewer
Philosophical guardrails enforcer — independently audits code, tests, and spec for layered-integrity, Why>What, error-as-data, and the related Ironclad philosophical invariants. Activate only when the connected project contains spec.yaml or the user explicitly names Cladding; ignore ordinary requests in uninitialized…
done
Run the closeout ritual before handing back non-trivial work; full verification, revert-probe honesty, independent review, and scope reporting. Use before declaring completion, opening a PR, wrapping up a change, or "ปิดงาน".