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/JOndarza/loadoutnpx agentmods add skills/jondarza/loadout/docs-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/jondarza/loadout/docs-architect)<a href="https://agentmods.dev/skills/jondarza/loadout/docs-architect"><img src="https://agentmods.dev/badge/skills/jondarza/loadout/docs-architect/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/jondarza/loadout/docs-architect"><img src="https://agentmods.dev/badge/skills/jondarza/loadout/docs-architect.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.00120 | $0.06105 |
| Opus 5.5 | $0.00048 | $0.02442 |
| Sonnet 5.5 | $0.00024 | $0.01221 |
| Haiku 4.5 | $0.00012 | $0.00611 |
Grade B, and why
docs-architect scanned grade B with 1 finding 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 3mo 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
- **Always-loaded rules** — frontmatter-less `.claude/rules/*.md` files load at session start alongside `CLAUDE.md`. Use for universally-needed content (business, stack, conventions, core architecture). How it starts
The opening of the file, as written. The whole thing — 424 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Docs Architect — AI-Optimized Documentation (v2)
Build and maintain documentation that rides on Claude Code's native loading mechanisms. Cuts AI token consumption by 20–40% versus the v1 custom-summary pattern while preserving all information and giving humans a clean reference.
Core principle
Docs are a knowledge base. The AI receives only what is strictly necessary per task. v2 uses the official .claude/rules/ mechanism with two loading modes:
- Always-loaded rules — frontmatter-less
.claude/rules/*.mdfiles load at session start alongsideCLAUDE.md. Use for universally-needed content (business, stack, conventions, core architecture). - Path-scoped rules —
.claude/rules/*.mdwithpaths:frontmatter auto-load only when Claude reads matching files. Zero startup token cost. Use for subsystem-specific rules (backend, frontend, api, database, testing).
Full human docs live in docs/*.md as the source of truth. .claude/rules/*.md are lean (≤40 lines, ≤12 bullets) distillations mirrored from the full docs.
Architecture
./CLAUDE.md # <100 lines — hard NOs + pointer to rules
./.claude/rules/ # AI-facing rules (flat, no subfolders)
├── business-context.md # always-loaded
├── coding-rules.md # always-loaded
├── tech-stack.md # always-loaded
├── architecture.md # always-loaded
├── backend.md # path-scoped: backend/**
├── frontend.md # path-scoped: frontend/**
├── api.md # path-scoped: **/Controllers/**, **/routes/**
├── database.md # path-scoped: **/Entities/**, **/migrations/**
└── testing.md # path-scoped: **/*.test.*, **/tests/**
./.claude/agents/doc-explorer.md # research subagent (isolated context)
./.claude/commands/ # /docs-audit, /docs-sync, /docs-migrate
./docs/ # full human-readable reference
├── README.md # governance + index
├── architecture.md # full architecture doc
├── coding-rules.md # full conventions
├── tech-stack.md # full package catalog
├── api-contracts.md # full endpoint catalog
├── database-schema.md # full table catalog
├── deployment.md # full dev/prod reference
├── roadmap.md # product phases, KPIs, decisions
├── backlog.md # story registry
├── bugs.md # bug registry
├── ideas.md # raw ideas inbox
├── stories/ bugs/ plans/ # individual item files
└── research/ # deep reference docs
What ships with it
28 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.
- assets/agents/doc-explorer.md 2.0 KB
- assets/bug.md.template 728 B
- assets/CLAUDE.md.template 1.6 KB
- assets/commands/docs-audit.md 1.1 KB
- assets/commands/docs-migrate.md 2.2 KB
- assets/commands/docs-sync.md 1.3 KB
- assets/docs-README.md.template 6.1 KB
- assets/hooks/settings.snippet.json 951 B
- assets/plan.md.template 485 B
- assets/rules/_always/architecture.md 862 B
- assets/rules/_always/business-context.md 717 B
- assets/rules/_always/coding-rules.md 874 B
- assets/rules/_always/tech-stack.md 843 B
- assets/rules/api.md 1.1 KB
- assets/rules/backend.md 1.2 KB
- assets/rules/database.md 1.2 KB
- assets/rules/frontend.md 1.1 KB
- assets/rules/testing.md 1.0 KB
- assets/story.md.template 567 B
- references/api-contracts-spec.md 1.4 KB
- references/architecture-spec.md 1.9 KB
- references/audit-report.md 1.6 KB
- references/claude-code-native.md 9.4 KB
- references/coding-rules-spec.md 3.2 KB
- references/common-specs.md 6.8 KB
- references/database-schema-spec.md 1.4 KB
- references/governance.md 4.9 KB
- references/migration-v1-to-v2.md 7.0 KB
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.
- 3mo ago First seen · 424 lines · 120 tokens per session scan B dff7352ef176
docs-architect is a skill published in the GitHub repository JOndarza/loadout (3 stars, last pushed 7mo ago), licensed MIT. It adds 120 tokens to every session and 6,105 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
docs-architect compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| docs-architectJOndarza/loadout | Skill | 3 | 7mo ago | MIT | B | 120 | Claude Code |
| contract-and-proposal-writeralirezarezvani/claude-skills | Skill | 31k | 3d ago | MIT | A | 47 | Claude Code |
| vpe-advisoralirezarezvani/claude-skills | Skill | 31k | 3d ago | MIT | A | 60 | Claude Code |
| strategic-alignmentalirezarezvani/claude-skills | Skill | 31k | 3d ago | MIT | A | 38 | Claude Code |
| executive-mentoralirezarezvani/claude-skills | Skill | 31k | 3d ago | MIT | A | 58 | Claude Code |
| process-mapperalirezarezvani/claude-skills | Skill | 31k | 3d ago | MIT | A | 55 | Claude Code |
| general-counsel-advisoralirezarezvani/claude-skills | Skill | 31k | 3d ago | MIT | A | 68 | Claude Code |