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.
npx agentmods add skills/liorcohen/sdd/d2npx skills add LiorCohen/sdd --skill d2git clone --depth 1 https://github.com/LiorCohen/sddWrote 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/liorcohen/sdd/d2)<a href="https://agentmods.dev/skills/liorcohen/sdd/d2"><img src="https://agentmods.dev/badge/skills/liorcohen/sdd/d2.svg" alt="Measured on agentmods" 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 | $0.00038 | $0.01660 |
| Opus 5 | $0.00019 | $0.00830 |
| Sonnet 5 | $0.00008 | $0.00332 |
| Haiku 4.5 | $0.00004 | $0.00166 |
Grade A, and why
d2 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.
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.
The source is not reproduced here
No licence file
A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.
What ships with it
4 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.
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.
- 4d ago First seen · 258 lines · 38 tokens per session scan A 8bb8842e23b3
d2 is a skill published in the GitHub repository LiorCohen/sdd (43 stars, last pushed 6mo ago), with no licence file. It adds 38 tokens to every session and 1,660 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-08-30.
Other skills, from other repositories
drogon-gen-orm-crud
生成符合 drogon 约定的 ORM CRUD 代码,支持回调式和协程式,覆盖 PostgreSQL、MySQL、SQLite3。.
drogon-gen-db-config
生成 drogon 项目的数据库配置(config.json 片段),支持 PostgreSQL、MySQL、SQLite3。.
drogon-gen-redis-config
生成 drogon 项目的 Redis 配置(config.json 片段)。.
requirement-alignment
Use when analyzing a requirement/PRD (分析需求/解析需求/解析PRD/分析PRD), building state machines (画状态机), sequence diagrams (时序图), decision tables (决策表) or DDL from a spec, or resuming an interrupted requirement analysis (用户说"继续") - drives the three-level intent-alignment funnel (code evidence, registered inference, structured…
drogon-create-controller
生成 drogon 控制器代码(.h + .cc),支持 HttpSimpleController、HttpController、WebSocketController 三种类型。.
drogon-gen-advice
生成 drogon AOP Advice 代码(11 个内建切面之一),区分拦截型/观察型,含 SyncAdvice 短路。.