lov-architecture-documentation

lov-architecture-documentation is a skill for Claude Code, Codex from lovstudio/skills. It costs 43 tokens per session (842 once invoked), scanned A, original, MIT.

A documentation generator that describes a software system from its actual code and configuration. It can produce architecture views, interface descriptions, data flows, and draft decision records, with architecture diagrams showing how system parts relate.

In plain words
What is it for?
Use it to create C4, arc42, ADR, Mermaid, or PlantUML documentation; describe services, components, APIs, data schemas, deployment, authentication boundaries, monitoring, and recovery; and check links and diagrams against the code.
Why use it?
It reduces the gap between how a project is implemented and how it is documented. It keeps proposed or uncertain designs separate from facts found in the code instead of presenting guesses as existing behavior.

Skill for Claude CodeCodex

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

Part of the dev-tools plugin — 81 skills shipped together

Good fit Use it to create C4, arc42, ADR, Mermaid, or PlantUML documentation; describe services, components, APIs, data schemas, deployment, authentication boundaries, monitoring, and recovery; and check links and diagrams against the code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lovstudio/skills/architecture-documentation
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 lovstudio/skills --skill architecture-documentation
Clone the repo
git clone --depth 1 https://github.com/lovstudio/skills

Made for: Claude Code, Codex.

Or install dev-tools, the plugin that ships this one along with the rest of its 81 skills.

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 lov-architecture-documentation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lovstudio/skills/architecture-documentation"><img src="https://agentmods.dev/badge/skills/lovstudio/skills/architecture-documentation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 842 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.00043 $0.00842
Opus 5 $0.00022 $0.00421
Sonnet 5 $0.00009 $0.00168
Haiku 4.5 $0.00004 $0.00084

Measured 4d ago against content hash 883d4d36321e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

lov-architecture-documentation 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 4d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/profile_store.py, scripts/validate_skill.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/architecture-documentation/SKILL.md · 71 lines

What it actually says

架构图谱 · Architecture Atlas

从项目实际实现生成架构视图、接口说明与决策记录草稿。

Triggers

Activate when

  • “从项目实际实现生成架构视图、接口说明与决策记录草稿。”
  • “Create architecture documentation from a codebase.”

Do not activate when

  • 只是查询本 Skill 的说明,或请求与上述结果无关的任务;不执行实际业务操作。
  • 用户仅要预览或审查时,不进入修改、提交或发布分支。

Execution boundary

自然语言请求即可触发;无需旧 slash 路径、参数插值或指定助手。明确解析当前请求中的 项目、目标文件、选项与输出位置;用当前宿主实际提供的文件、搜索、CLI 和浏览器能力。 项目依赖版本与外部 API 在执行时核实,不能假设示例是现行配置。随包脚本从 Skill 根解析, 业务文件从目标项目根解析。先读当前状态,保护已有未提交内容与其他任务的暂存区。 分析、预览请求保持只读;修改、提交、推送、部署和发布各依当前请求的明确范围执行。 不绕过保护、自动发送消息、强制结束用户进程或抢前台。失败保留可诊断原始错误。

Workflow

  1. 读取入口、manifest、服务与部署配置、API、数据 schema 和已有 docs,使用安全文件搜索代替旧命令插值。

  2. 根据用户要求选择 C4、arc42、ADR、Mermaid/PlantUML 或完整文档集;文档深度服从项目复杂度,不无条件创建全部框架。

  3. 记录系统边界、外部角色、容器/服务、组件职责与数据流,明确实际证据路径;未实现设计单独标作建议。

  4. 描述鉴权与信任边界、质量属性、运行部署、观测与恢复事实,不把规划能力写成已上线。

  5. ADR 只在有历史依据时写已决策记录,推测动机写待确认;给出未来 ADR 模板时明确草稿。

  6. 生成可编辑文档与图,检查链接、语法及图与代码一致性。CI 文档发布只在请求覆盖时配置或执行。

Composition

执行前读取 能力组合,按明确制品交接相邻能力。

Runtime context (shared)

运行前读取本包 skill.yamlProfile 合同。优先级为当前请求、 项目上下文、本 Skill records、共享 preferences、brand/user Profile、安全默认值。 只读取声明字段;没有专用运行时的宿主可使用 scripts/profile_store.py 读取共享 Profile。 配置缺失只问影响结果的一个问题。用户明确要求长期保存的值通过该脚本原子写入, 报告实际路径;不保存推断、凭据或其他任务的资料。

作者性文本执行 作者性与来源合同,不编造作者经历、事实或来源。

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. 4d ago First seen · 71 lines · 43 tokens per session scan A 883d4d36321e

Subscribe to this mod's changes

lov-architecture-documentation is a skill published in the GitHub repository lovstudio/skills (65 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 842 once invoked, about $0.0002 per session on Opus 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-09-07.

Related

Other skills, from other repositories

ainb-fleet

Fleet orchestration overview — the ainb fleet ... Rust subcommand namespace for driving every claude session on the host. Routes to the sub-skills (ainb-spawn / standup / broadcast / sequence / needs / daemon / atc). Invoke this for an at-a-glance map of what fleet can do; reach for the specific sub-skill for the verb…

stevengonsalvez/agents-in-a-box · 88 tokens

ainb-fleet:fleet-needs

Workflow-backed Jarvis control panel. Runs the deterministic hangar workflow with verb=needs (discover → enrich → prioritize), renders the Jarvis HUD from its render-ready cards, fires AskUserQuestion per blocked session, and routes each answer back via tmux send-keys (broker fallback only). Requires the workflow gate…

stevengonsalvez/agents-in-a-box · 112 tokens

daily-brief

Start-of-day ranked brief - open issues, recent commits, work in progress, and anything waiting on a human decision. Use when asked for a 'daily brief', 'morning brief', 'what should I work on today', 'start my day', 'catch me up'.

craigcossairt/trellis · 60 tokens

branch-surgery-pr-split

Split oversized or mixed-concern branches into smaller, reviewable PR stacks with safety refs, topology selection, parity audits, and merge sequencing. Use when a PR or branch is too large, difficult to review, mixed across concerns, conflict-prone, or needs to be decomposed without losing net changes.

liatrio-labs/ai-prompts · 68 tokens

first-time-manager

A coaching guide for people moving from being a strong individual contributor to managing a team. It focuses on taking responsibility for team results, assigning work, and helping others improve.

kuhung/weread-book-skills · 104 tokens

talent-assessment

A practical guide to evaluating people-management systems and building a reliable view of team talent.

kuhung/weread-book-skills · 92 tokens