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.
git clone --depth 1 https://github.com/reddishz/designdocnpx agentmods add skills/reddishz/designdoc/system-design-docWrote 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.
[](https://agentmods.dev/skills/reddishz/designdoc/system-design-doc)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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。
运行时步骤
- 判定结构:
ued/README.md含子系统注册表 → 本技能适用;否则是单系统,改用design-doc。 - 按任务路由读对应 workflow 或 rule;按需加载,不一次通读全部文件。
- 变更系统架构职责划分、登记 / 激活 / 废弃子系统、创建系统发布前:先给短计划,停在人审 Checkpoint。
- 改完运行:
并对每个子系统运行: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 - 检查器校验注册表、系统架构对齐、
SYS-*命名空间、依赖、发布与跨子系统引用;通过 ≠ 架构划分语义正确。 - 人审后才可定稿系统架构、激活/废弃子系统或创建发布;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 |
What ships with it
20 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- assets/templates/index.md 2.0 KB
- assets/templates/readme-subsystem-overlay.md 797 B
- assets/templates/readme-system.md 3.0 KB
- assets/templates/sys-adr.md 1.7 KB
- assets/templates/system-architecture.md 2.9 KB
- assets/templates/system-release.yaml 493 B
- references/architecture-description.md 13 KB
- references/compatibility.md 3.4 KB
- references/decision-card.md 3.2 KB
- references/migration-from-design-doc.md 8.6 KB
- references/registry.md 5.8 KB
- references/spec-upgrade.md 6.0 KB
- references/system-model.md 5.7 KB
- references/version-alignment.md 8.1 KB
- references/workflows/review-system.md 6.9 KB
- references/workflows/setup-subsystem.md 4.8 KB
- references/workflows/subsystem-baseline.md 4.8 KB
- references/workflows/system-release.md 5.1 KB
- scripts/check_system.py 96 KB runs code
- scripts/tests/run_fixtures.py 41 KB runs code
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.
- yesterday Changed 43dbb9206de8
- 5d ago Changed 611a108ddec1
- 7d ago Changed · +9 lines · +17 tokens per session b66f5ddca14e
- 1mo ago Changed 100df82d5045
- 1mo ago First seen · 133 lines · 105 tokens per session scan A aef31406e000
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.
system-design-doc compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| system-design-docreddishz/designdoc | Skill | 15 | yesterday | MIT | A | 122 | Claude Code, Codex |
| html-demoryanzhao1011/workframe | Skill | 9 | 6d ago | MIT | A | 169 | Claude Code |
| blueprint-standardsshinpr/nautilus | Skill | 8 | 1mo ago | MIT | A | 45 | Claude Code, Codex |
| openprd-frontend-designmileson/openprd | Skill | 50 | 2mo ago | MIT | A | 50 | Claude Code, Codex |
| design-perspectiveshinpr/nautilus | Skill | 8 | 1mo ago | MIT | A | 49 | Claude Code, Codex |
| recipe-blueprintshinpr/nautilus | Skill | 8 | 1mo ago | MIT | A | 42 | Claude Code, Codex |
| recipe-personashinpr/nautilus | Skill | 8 | 1mo ago | MIT | A | 35 | Claude Code, Codex |