Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/alexei-led/architectnpx agentmods add skills/alexei-led/architect/tools-archfitWrote 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/tools-archfit)<a href="https://agentmods.dev/skills/alexei-led/architect/tools-archfit"><img src="https://agentmods.dev/badge/skills/alexei-led/architect/tools-archfit.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.00106 | $0.02919 |
| Opus 5 | $0.00053 | $0.01460 |
| Sonnet 5 | $0.00021 | $0.00584 |
| Haiku 4.5 | $0.00011 | $0.00292 |
Grade A, and why
tools-archfit 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 7d 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 — 262 lines — stays where its author put it; the contents beside it link to each section on GitHub.
archfit deterministic evidence
Use archfit as a deterministic measurement and gate engine. It supplies whole-repo facts; the architect still judges intent, domain volatility, runtime/deploy context, false positives, and missing risks.
When to use
Use when a target repo contains .archfit.yaml or archfit.yaml, when archfit
is available on PATH, or when the user asks to combine architect review with
archfit output. Use it during architecture-review before final triage/scoring
so hard facts can reduce sampling bias.
Do not use this skill for:
archfit analyze --ai-summaryorarchfit explain <fingerprint> --ai-summaryAI narration as primary evidence;archfit config init,config update --apply,baseline,config enrich(labels/owner/volatility/subdomain),config init --ai-classify,config enrich ... --apply, or config writes unless the user explicitly asks for config work;- applying fixes from
agent_tasks; - replacing the architect's independent evidence gathering and Balanced Coupling judgment.
Skill navigation
- Missing or absent config: return to
architecture-review; record archfit as missing or skipped. Optional archfit absence is a coverage gap, not a blocker. - Current skill: run deterministic archfit commands, summarize facts, and build a calibration matrix.
- Next skill: return to
architecture-reviewfor independent verification, scoring, and report writing; usemethodology-architecture-fitnessfor checks that should become enforced gates.
Read-only discipline
Prefer existing config only. Write command outputs to a temp directory outside the target repo. Do not create baselines, labels, generated reports, or config patches inside the repo without explicit user approval.
If archfit or a child tool writes caches or indexes under the target repo, record that path as generated tool state. If the output path is inside the scanned root, warn that reports can contaminate measurements and move future outputs outside the repo or exclude them.
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.
- 7d ago First seen · 262 lines · 106 tokens per session scan A 549ef644dedd
tools-archfit is a skill published in the GitHub repository alexei-led/architect (2 stars, last pushed 1mo ago), licensed MIT. It adds 106 tokens to every session and 2,919 once invoked, about $0.0005 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
git-workflow
This skill should be used when the user asks to "create git commit", "manage branches", "follow git workflow", "use Conventional Commits", "handle merge conflicts", or asks about git branching strategies, version control best practices, pull request workflows. Provides comprehensive Git workflow guidance for team…
daily-paper-generator
Use when the user asks to generate daily paper digests on a general topic. This skill supports both arXiv and bioRxiv (or either one), then produces structured Chinese/English summaries for selected papers.
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…
codex-autoresearch
Run autonomous, measurable experiments in a Git repository: change one hypothesis, verify a numeric metric, keep improvements, and revert failures. Use when the user wants Codex to keep iterating toward a numeric target in the foreground or as a detached background run. Do not use for ordinary one-shot coding…
clipboard
Copy text to clipboard with optional rich formatting. Triggers on "copy to clipboard", "copy that", "pbcopy", "copy formatted", "copy rich text".
neo4j-modeling-skill
Design, review, and refactor Neo4j graph data models. Use when choosing node labels vs relationship types vs properties, migrating relational/document schemas to graph, detecting anti-patterns (generic labels, supernodes, missing constraints), designing intermediate nodes for n-ary relationships, enforcing schema with…