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 anilcancakir/claude-code --skill architecture-md-writergit clone --depth 1 https://github.com/anilcancakir/claude-codeWrote 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/anilcancakir/claude-code/architecture-md-writer)<a href="https://agentmods.dev/skills/anilcancakir/claude-code/architecture-md-writer"><img src="https://agentmods.dev/badge/skills/anilcancakir/claude-code/architecture-md-writer/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/anilcancakir/claude-code/architecture-md-writer"><img src="https://agentmods.dev/badge/skills/anilcancakir/claude-code/architecture-md-writer.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.00065 | $0.02541 |
| Opus 5.5 | $0.00026 | $0.01016 |
| Sonnet 5.5 | $0.00013 | $0.00508 |
| Haiku 4.5 | $0.00006 | $0.00254 |
Grade A, and why
architecture-md-writer 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 12d 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 — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ARCHITECTURE.md Writer
ARCHITECTURE.md tells an agent what it cannot work out by reading the code: where the boundaries sit, which rules must hold, how the main flows cross modules, why a choice was made, and which places move together for a given change. An agent reads it before it changes structure, then goes back to the code. This skill writes it, updates it, or audits an existing one.
Scope: one file (or the split files the size rule names), plus one pointer line in the rules file. It does not edit code, README or CHANGELOG, and it does not write the project's why and scope (the project-md-writer skill), its commands and conventions (write AGENTS.md by hand) or how a UI looks (the design-md-writer skill, which owns DESIGN.md). Report adjacent problems instead of fixing them.
Why the file is thin
Three sources decide the shape, and the first two argue against the file most people picture.
- Agents read the repository themselves. Anthropic's Claude Code best-practices page lists "describe your architecture and file layout" in the rules file as advice that is gone, and its memory page says the cleanup check cuts "directory layouts, dependency lists, and architecture overviews" while keeping "pitfalls, rationale, and conventions that differ from tool defaults".
- A 2026 study of context files (arXiv 2602.11988) found that they did not generally raise task success, added over 20 percent inference cost, and that repository overviews were not helpful. Files written by a model did worse than files written by developers.
- matklad's essay and rust-analyzer's document show what survives: a short codemap of the modules whose boundaries are not obvious, invariants (many of them absences), and the cross-cutting rules.
So the file records only what code and git history do not show, and every line is checked against the code. A model writes this file, which is the case the study measured as weakest: take facts from files you opened or from the user, never from inference.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 12d ago First seen · 146 lines · 65 tokens per session scan A 78c324f18c0b
architecture-md-writer is a skill published in the GitHub repository anilcancakir/claude-code (4 stars, last pushed 2d ago), licensed MIT. It adds 65 tokens to every session and 2,541 once invoked, about $0.0003 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-11-02.
architecture-md-writer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| architecture-md-writeranilcancakir/claude-code | Skill | 4 | 2d ago | MIT | A | 65 | Claude Code, Codex |
| researcherbitwize-music-studio/claude-ai-music-skills | Skill | 668 | today | CC0-1.0 | A | 38 | Claude Code |
| sheet-music-publisherbitwize-music-studio/claude-ai-music-skills | Skill | 668 | today | CC0-1.0 | A | 36 | Claude Code |
| validate-albumbitwize-music-studio/claude-ai-music-skills | Skill | 668 | today | CC0-1.0 | A | 33 | Claude Code |
| import-artbitwize-music-studio/claude-ai-music-skills | Skill | 668 | today | CC0-1.0 | A | 32 | Claude Code |
| plagiarism-checkerbitwize-music-studio/claude-ai-music-skills | Skill | 668 | today | CC0-1.0 | A | 35 | Claude Code |
| promote-ideabitwize-music-studio/claude-ai-music-skills | Skill | 668 | today | CC0-1.0 | A | 50 | Claude Code |