docs-architect

docs-architect is a skill for Claude Code from JOndarza/loadout. It costs 120 tokens per session (6,105 once invoked), scanned B, original, MIT.

A documentation setup that keeps full human documentation alongside short, selectively loaded instructions for Claude Code, an AI coding tool.

In plain words
What is it for?
Use it to create or maintain project rules, architecture and stack documentation, path-specific guidance, and a clear structure for AI-assisted development.
Why use it?
It gives the AI only the project guidance needed for a task while keeping detailed reference material available to people.

Skill for Claude Code

Written for Claude Code: SessionStart hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./.claude/rules/ # AI-facing rules (flat, no subfolders).

Good fit Use it to create or maintain project rules, architecture and stack documentation, path-specific guidance, and a clear structure for AI-assisted development.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/JOndarza/loadout
agentmods
npx agentmods add skills/jondarza/loadout/docs-architect

Made for: Claude Code.

Wrote 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.

agentmods badge for docs-architect

README.md
[![agentmods](https://agentmods.dev/badge/skills/jondarza/loadout/docs-architect/github.svg)](https://agentmods.dev/skills/jondarza/loadout/docs-architect)
Your own site
<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.

agentmods 80×15 button for docs-architect

Your own site · 80×15
<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>
Per session 120 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,105 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 3mo ago against content hash dff7352ef176, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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).
.claude/skills/docs-architect/SKILL.md · 424 lines

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/*.md files load at session start alongside CLAUDE.md. Use for universally-needed content (business, stack, conventions, core architecture).
  • Path-scoped rules — .claude/rules/*.md with paths: 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

Read the full file on GitHub · 424 lines

Changes

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.

  1. 3mo ago First seen · 424 lines · 120 tokens per session scan B dff7352ef176

Subscribe to this mod's changes

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.

Related

docs-architect compared with skills from other repositories

docs-architect next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docs-architectJOndarza/loadoutSkill37mo agoMITB120Claude Code
contract-and-proposal-writeralirezarezvani/claude-skillsSkill31k3d agoMITA47Claude Code
vpe-advisoralirezarezvani/claude-skillsSkill31k3d agoMITA60Claude Code
strategic-alignmentalirezarezvani/claude-skillsSkill31k3d agoMITA38Claude Code
executive-mentoralirezarezvani/claude-skillsSkill31k3d agoMITA58Claude Code
process-mapperalirezarezvani/claude-skillsSkill31k3d agoMITA55Claude Code
general-counsel-advisoralirezarezvani/claude-skillsSkill31k3d agoMITA68Claude Code