system-design-doc

system-design-doc is a skill for Claude Code, Codex from reddishz/designdoc. It costs 122 tokens per session (2,849 once invoked), scanned A, original, MIT.

A system-level design guide for projects made of multiple independent subsystems. It defines their roles, boundaries, dependencies, interactions, and combined release versions without replacing each subsystem’s own design documents.

In plain words
What is it for?
Use it to register or retire subsystems, describe how they depend on one another, prepare a system release, and validate cross-subsystem references.
Why use it?
It keeps a large system’s parts coordinated while preserving separate ownership and documentation. It also checks that subsystem links and release records are consistent.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 .agents/skills/design-doc/scripts/check_docs.py -p ued/{子系统} --glossary ued/glossary.md.

Good fit Use it to register or retire subsystems, describe how they depend on one another, prepare a system release, and validate cross-subsystem references.

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/reddishz/designdoc
agentmods
npx agentmods add skills/reddishz/designdoc/system-design-doc

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 system-design-doc

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/reddishz/designdoc/system-design-doc"><img src="https://agentmods.dev/badge/skills/reddishz/designdoc/system-design-doc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,849 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.00122 $0.02849
Opus 5.5 $0.00049 $0.01140
Sonnet 5.5 $0.00024 $0.00570
Haiku 4.5 $0.00012 $0.00285

Measured yesterday against content hash 43dbb9206de8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

system-design-doc 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 yesterday.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/check_system.py, scripts/tests/run_fixtures.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.

.agents/skills/system-design-doc/SKILL.md · 142 lines

How it starts

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

系统级设计规范(多子系统)

本技能确立多子系统项目的系统级架构权威与组合发布编排,不重复 design-doc 的分层文档、内部组件(CMP)、编码与产品基线规则。系统由多个子系统组成;每个子系统是一个完整的 design-doc 作用域。

核心模型

视角 / 概念 位置 职责
系统入口与注册表 ued/README.md 当前结构、5 列子系统注册表、架构入口、系统发布索引;无 产品版本、baselines/ 或职责正文副本
系统架构 ued/architecture/system-architecture.md 系统定义、子系统职责分配(唯一真源)、系统交互、系统级约束(SYS-CON)、固定格式修订记录
系统级决策 ued/architecture/SYS-ADR-*.md 跨子系统架构决策(拆分/合并、通信模式、信任边界等);不进入子系统 ADR 计数器
子系统 ued/{目录}/ 完整 design-doc 作用域:落实系统分配的职责;CMP 仅表达内部逻辑组件;自有 产品版本 与 baselines/
系统发布 ued/releases/sys-vX.Y.yaml 不可变组合锁:钉住纳入的子系统版本、外部依赖版本与 architecture_rev;不是设计基线
共享库 普通子系统 与业务子系统同规则;可有零个或多个;不设固定 shared/
  • 系统层保留前缀 SYS(仅 SYS-CON / SYS-ADR),不建立第二套 L0–L6、产品基线或全局编码计数器。
  • 术语表固定为 ued/glossary.md(全系统唯一);子系统校验时用 --glossary ued/glossary.md。

运行时步骤

  1. 判定结构:ued/README.md 含子系统注册表 → 本技能适用;否则是单系统,改用 design-doc。
  2. 按任务路由读对应 workflow 或 rule;按需加载,不一次通读全部文件。
  3. 变更系统架构职责划分、登记 / 激活 / 废弃子系统、创建系统发布前:先给短计划,停在人审 Checkpoint。
  4. 改完运行:
    python3 .agents/skills/system-design-doc/scripts/check_system.py -p ued
    
    并对每个子系统运行:
    python3 .agents/skills/design-doc/scripts/check_docs.py -p ued/{子系统} --glossary ued/glossary.md
    
    跨子系统细项 依赖(成环 / 指向他子系统 初稿)另跑:
    python3 .agents/skills/design-doc/scripts/check_docs.py -p ued --cross-scope-deps
    
  5. 检查器校验注册表、系统架构对齐、SYS-* 命名空间、依赖、发布与跨子系统引用;通过 ≠ 架构划分语义正确。
  6. 人审后才可定稿系统架构、激活/废弃子系统或创建发布;AI MUST NOT 擅自执行高风险动作。

任务路由

意图 MUST 先读
首次接入 / 不确定先读哪页 decision-card.md
系统与子系统的职责模型与权威边界 system-model.md
编写或更新系统架构、SYS-CON、SYS-ADR architecture-description.md
注册表字段 / 状态 / 前缀 / 激活前置 registry.md
新建、登记、激活或废弃子系统 setup-subsystem.md
子系统发版、修改依赖钉住 subsystem-baseline.md
创建系统发布 / 产品集发版 system-release.md
审查系统架构、结构与发布 review-system.md
版本对齐、依赖冲突、外部依赖 version-alignment.md
技能升级后让系统层文档跟随新规范(规范版本目标 / 封面 规范版本) spec-upgrade.md
接口兼容性与破坏性变更 compatibility.md
从旧多应用结构或 v1.x 迁移至 v2.0 migration-from-design-doc.md
子系统内部设计(L0–L6、内部 CMP) 转 design-doc

Read the full file on GitHub · 142 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. yesterday Changed 43dbb9206de8
  2. 5d ago Changed 611a108ddec1
  3. 7d ago Changed · +9 lines · +17 tokens per session b66f5ddca14e
  4. 1mo ago Changed 100df82d5045
  5. 1mo ago First seen · 133 lines · 105 tokens per session scan A aef31406e000

Subscribe to this mod's changes

system-design-doc is a skill published in the GitHub repository reddishz/designdoc (15 stars, last pushed yesterday), licensed MIT. It adds 122 tokens to every session and 2,849 once invoked, about $0.0005 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-10-29.

Related

system-design-doc compared with skills from other repositories

system-design-doc next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
system-design-docreddishz/designdocSkill15yesterdayMITA122Claude Code, Codex
html-demoryanzhao1011/workframeSkill96d agoMITA169Claude Code
blueprint-standardsshinpr/nautilusSkill81mo agoMITA45Claude Code, Codex
openprd-frontend-designmileson/openprdSkill502mo agoMITA50Claude Code, Codex
design-perspectiveshinpr/nautilusSkill81mo agoMITA49Claude Code, Codex
recipe-blueprintshinpr/nautilusSkill81mo agoMITA42Claude Code, Codex
recipe-personashinpr/nautilusSkill81mo agoMITA35Claude Code, Codex