doc-architecture

doc-architecture is a skill for Claude Code from justnau1020/claude-os. It costs 30 tokens per session (265 once invoked), scanned A, original, Apache-2.0.

Architecture documentation describes a project's main parts, how they connect, and the rules they follow. This add-on updates that documentation after structural code changes.

In plain words
What is it for?
Use it after adding, changing, or removing modules, interfaces, features, or dependencies. It compares recent code changes with architecture files and makes targeted updates.
Why use it?
It helps prevent documentation from describing components, interfaces, or dependencies that no longer match the code.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it after adding, changing, or removing modules, interfaces, features, or dependencies. It compares recent code changes with architecture files and makes targeted updates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/justnau1020/claude-os/doc-architecture
Install

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.

Any agent
npx skills add justnau1020/claude-os --skill doc-architecture
Clone the repo
git clone --depth 1 https://github.com/justnau1020/claude-os

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 doc-architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/justnau1020/claude-os/doc-architecture/github.svg)](https://agentmods.dev/skills/justnau1020/claude-os/doc-architecture)
Your own site
<a href="https://agentmods.dev/skills/justnau1020/claude-os/doc-architecture"><img src="https://agentmods.dev/badge/skills/justnau1020/claude-os/doc-architecture/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 doc-architecture

Your own site · 80×15
<a href="https://agentmods.dev/skills/justnau1020/claude-os/doc-architecture"><img src="https://agentmods.dev/badge/skills/justnau1020/claude-os/doc-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 265 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00030 $0.00265
Opus 5.5 $0.00012 $0.00106
Sonnet 5.5 $0.00006 $0.00053
Haiku 4.5 $0.00003 $0.00026

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

Security

Grade A, and why

doc-architecture 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 1mo 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.

skills/development/doc-architecture/SKILL.md · 48 lines

What it actually says

Update Architecture Documentation

Update the project's architecture documentation to reflect recent code changes.

Steps

1. Review recent changes

git diff HEAD~5 --stat
git log --oneline -10

2. Read current architecture doc

Read the architecture documentation in full. Common locations:

  • docs/ARCHITECTURE.md
  • docs/architecture/
  • ARCHITECTURE.md

3. Identify gaps

Compare the code changes against the architecture doc:

  • Are new modules documented?
  • Are changed interfaces reflected?
  • Are removed features cleaned up?
  • Are new invariants captured?
  • Are new dependencies mentioned?

4. Update the doc

Make targeted updates to the architecture documentation:

  • Add sections for new components
  • Update descriptions for changed components
  • Remove references to deleted components
  • Keep the existing structure and tone

5. Verify accuracy

Cross-reference updated doc against actual code to ensure accuracy. The architecture doc is the source of truth -- it must be correct.

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. 1mo ago First seen · 48 lines · 30 tokens per session scan A db7da1e1de45

Subscribe to this mod's changes

doc-architecture is a skill published in the GitHub repository justnau1020/claude-os (3 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 30 tokens to every session and 265 once invoked, about $0.0001 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-08-31.

Related

Other skills, from other repositories

agenticx-query-data-source

Use when the user asks about verifiable quantitative facts (stock prices, financial indicators, macro data, company registry, academic metrics, legal statutes) that must come from a live data source rather than training memory.

DemonDamon/AgenticX · 49 tokens

design-review

Review a web app or page for visual design quality — layout, typography, spacing, colour, hierarchy, consistency, interaction patterns, and responsive behaviour. Not a UX audit (that checks usability) — this checks whether it looks professional and polished. Produces a design findings report with screenshots.…

jezweb/claude-skills · 108 tokens

render-3d-product-showcase

Assemble a premium 3D product-showcase ad from a config — four beat clips (an orbiting hero rotation, a macro push-in, a physics reveal, a typographic close) normalized to the chosen backdrop colour, hard-concatenated in order, closed on a deterministic Playwright brand end card, and mixed under one instrumental bed…

gooseworks-ai/goose-skills · 159 tokens

render-airdrop-carousel

Assemble a viral iOS "AirDrop" notification-carousel video ad (≈6–8s, 9:16) from a brand line plus 6–16 real product photos — a native AirDrop share-sheet card ("Brand would like to share a · Decline / Accept") springs up and its preview window CYCLES through the products, landing on a range/lineup payoff with an…

gooseworks-ai/goose-skills · 207 tokens

email-lifecycle-flow-writer

Step of the email-lifecycle playbook: writes one lifecycle flow as a build sheet for the brand's email tool, every message finished in the brand voice. Run email-lifecycle instead; not for direct use.

gooseworks-ai/goose-skills · 50 tokens

work-with-creators-creator-vetting

Vets creators you have already named from their public pages. Covers the median views of their last 12 to 20 posts (sponsored and organic apart), a read of their comments, how often they post, audience fit with how sure it is, about 12 months of brand-safety checks, rival partnerships and rules for regulated…

gooseworks-ai/goose-skills · 110 tokens