architecture-docs

architecture-docs is a skill for Claude Code, Codex from thunderkds/easy-ui-mcp. It costs 78 tokens per session (2,292 once invoked), scanned A, original, MIT.

A documentation skill for creating and refreshing a project's top-level architecture documents as Markdown with Mermaid diagrams. Mermaid is a text format for diagrams that can be rendered in documentation tools.

In plain words
What is it for?
Use it for architecture overviews, C4 diagrams, sequence and journey diagrams, entity-relationship diagrams, risk registers, and roadmaps.
Why use it?
It keeps architectural descriptions tied to repository sources and limits refreshes to documents affected by recent changes. It starts with a document map so you can approve the scope before drafting.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is | 7 | Decisions (ADR) | link | existing | [docs/adr/](../adr/) | - |.

Good fit Use it for architecture overviews, C4 diagrams, sequence and journey diagrams, entity-relationship diagrams, risk registers, and roadmaps.

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/thunderkds/easy-ui-mcp
agentmods
npx agentmods add skills/thunderkds/easy-ui-mcp/architecture-docs

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/thunderkds/easy-ui-mcp/architecture-docs/github.svg)](https://agentmods.dev/skills/thunderkds/easy-ui-mcp/architecture-docs)
Your own site
<a href="https://agentmods.dev/skills/thunderkds/easy-ui-mcp/architecture-docs"><img src="https://agentmods.dev/badge/skills/thunderkds/easy-ui-mcp/architecture-docs/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 architecture-docs

Your own site · 80×15
<a href="https://agentmods.dev/skills/thunderkds/easy-ui-mcp/architecture-docs"><img src="https://agentmods.dev/badge/skills/thunderkds/easy-ui-mcp/architecture-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,292 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.00078 $0.02292
Opus 5.5 $0.00031 $0.00917
Sonnet 5.5 $0.00016 $0.00458
Haiku 4.5 $0.00008 $0.00229

Measured 22d ago against content hash 80a7e416a2e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

architecture-docs 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 22d 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.

packs/tech-lead/skills/architecture-docs/SKILL.md · 188 lines

How it starts

The opening of the file, as written. The whole thing — 188 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Role: Architecture Documents

You write the project's top documents. You always start with the document map. You write nothing else until the user approves it.

Activation

Skill({ skill: "architecture-docs" })

Process

  1. Write docs/architecture/README.md from the map template below. Decide each row from the project's files.
  2. Stop. The user edits and approves the map. In [auto] mode, list the map for approval in your final report and stop.
  3. Draft each document the approved map marks "needed", one section below per type. The map is approved only when the spawn prompt says so, or its Approved by: line is filled; a map written in this run is not.
  4. On refresh, read the approved map, match git diff HEAD~1 --name-only against each document's watched paths, and update only the matched documents.

Shared rules (apply to every document)

  • Sources. End each document with a ## Sources list of file paths. Mark each statement that no listed file backs with (inferred).
  • Link, never copy. Existing kit documents (rows 7 to 12 of the map) are linked, never rewritten.
  • Never overwrite a file under docs/architecture/ that the map does not list. Link it from the map.
  • One diagram per concern. Keep a diagram to about 12 nodes. Split it when it grows.
  • Mermaid only. Put each diagram in a fenced mermaid block. No image files, no rendering tool.
  • Refresh keeps the user's hand edits. Change the affected section only.

Document map template (docs/architecture/README.md)

# Architecture documents
Approved by: <name> on <date>   (blank until the user approves; the Supervisor fills it on approval)

| # | Document | Needed? | Reason (one line) | File | Watched paths |
|---|----------|---------|-------------------|------|---------------|
| 1 | C4 + high-level overview | needed / not needed | ... | c4-overview.md | `docker-compose*`, `**/deploy/**`, new top-level folders |
| 2 | Sequence diagram, per core feature | needed / not needed | ... | sequence-<feature>.md | route and handler folders |
| 3 | Journey diagram, per core feature | needed / not needed | ... | journey-<feature>.md | `PRD.md` |
| 4 | ER diagram | needed / not needed | ... | er-diagram.md | `**/migrations/**`, `**/schema*`, `**/models/**` |
| 5 | Risk register | needed / not needed | ... | risk-register.md | `PROJECT_SPEC.md` (Known Risk Areas) |
| 6 | Roadmap | needed / not needed | ... | roadmap.md | `PRD.md` |
| 7 | Decisions (ADR) | link | existing | [docs/adr/](../adr/) | - |
| 8 | Product requirements | link | existing | [PRD.md](../../PRD.md) | - |
| 9 | Project spec | link | existing | [PROJECT_SPEC.md](../../PROJECT_SPEC.md) | - |
| 10 | Terms dictionary | link | existing | [memory/glossary.md](../../memory/glossary.md) | - |
| 11 | Epics and stories | link | existing | `to-issues` output / [PROJECT_KANBAN.md](../../PROJECT_KANBAN.md) | - |
| 12 | Security review | link | existing | latest `security-review` report in `reports/` | - |

Read the full file on GitHub · 188 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. 22d ago First seen · 188 lines · 78 tokens per session scan A 80a7e416a2e1

Subscribe to this mod's changes

architecture-docs is a skill published in the GitHub repository thunderkds/easy-ui-mcp (1 stars, last pushed 22d ago), licensed MIT. It adds 78 tokens to every session and 2,292 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-11.

Related

architecture-docs compared with skills from other repositories

architecture-docs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
architecture-docsthunderkds/easy-ui-mcpSkill122d agoMITA78Claude Code, Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill332k6d agoMITA21Claude Code