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 skills add OutlineDriven/outline-driven-development --skill diagramming-codegit clone --depth 1 https://github.com/OutlineDriven/outline-driven-developmentWrote 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/outlinedriven/outline-driven-development/diagramming-code)<a href="https://agentmods.dev/skills/outlinedriven/outline-driven-development/diagramming-code"><img src="https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/diagramming-code/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/outlinedriven/outline-driven-development/diagramming-code"><img src="https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/diagramming-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00082 | $0.02365 |
| Opus 5.5 | $0.00033 | $0.00946 |
| Sonnet 5.5 | $0.00016 | $0.00473 |
| Haiku 4.5 | $0.00008 | $0.00236 |
Grade A, and why
diagramming-code 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 2mo 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- diagramming-code — 100% identical, 87 lines differ
How it starts
The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diagramming code and embedding diagrams
Contract
| Field | Bound contract |
|---|---|
| Trigger | The user asks for a code-derived call graph, class hierarchy, module dependency map, containment view, complexity heatmap, or a data-flow view, including an attack-surface view, or asks to render a Mermaid diagram offline and embed it in a document. |
| Authority | code-derived reads target code and writes only Mermaid graph text to the response or a named local file; it does not mutate source. document-embed writes Mermaid source, SVG, PNG, and (when supported) Excalidraw files only in the selected output directory and edits the existing target document to embed the render. Both modes are reversible local work with no remote mutation. |
| Side effect | code-derived emits a fenced Mermaid graph. document-embed emits the .mmd, rendered SVG and PNG, an optional Excalidraw scene, and an embedded SVG or PNG in the target document. |
| Done | code-derived produces valid, readable Mermaid with at least one node or an explanatory singleton. document-embed embeds a rendered diagram in the target document, keeps the .mmd source and rendered artifacts in the output directory, and states any Excalidraw limitation. |
Inputs
- Mode (optional):
code-derivedordocument-embed; when omitted, infer it from the request as specified in step 1. code-derivedmode:- Target code directory or path (required).
- Diagram type, one of: call-graph, class-hierarchy, module-deps, containment, complexity, data-flow (use this type for attack-surface views) (required).
- Focus node (optional; required for call-graph and data-flow on non-trivial codebases).
- Traversal depth (optional; default 2).
- Layout direction, TB or LR (optional; default TB; prefer LR for module-deps).
- Complexity threshold (optional; default 10; only for complexity).
- Source language or auto (optional; default auto).
document-embedmode:- Diagram request: an English description of the structure to diagram, or Mermaid source (required).
- Target document path (required). The document must exist and be writable.
- Output directory (optional):
./diagrams/when the cwd is a git repo, otherwise/tmp/odin-diagrams/. - Output slug (optional): derive kebab-case from the diagram subject, 40 characters or fewer.
- Embed location (optional) and placed width in inches (optional; when omitted, let
mmdcretain its intrinsic output width).
What ships with it
1 file 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.
- 2mo ago Changed · +21 lines · +36 tokens per session b7caac0ed058
- 2mo ago Changed · -23 tokens per session 719bc362a4bb
- 2mo ago First seen · 59 lines · 69 tokens per session scan A 6c4dd4e75f99
diagramming-code is a skill published in the GitHub repository OutlineDriven/outline-driven-development (54 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 82 tokens to every session and 2,365 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-09-03.
diagramming-code compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| diagramming-codeOutlineDriven/outline-driven-development | Skill | 54 | 2mo ago | Apache-2.0 | A | 82 | Codex |
| create-pull-requestOutlineDriven/odin-claude-plugin | Skill | 40 | 2mo ago | Apache-2.0 | A | 52 | Claude Code, Codex |
| gate-and-mergeOutlineDriven/odin-claude-plugin | Skill | 40 | 2mo ago | Apache-2.0 | A | 41 | Claude Code, Codex |
| doubt-drivenOutlineDriven/odin-claude-plugin | Skill | 40 | 2mo ago | Apache-2.0 | A | 41 | Claude Code, Codex |
| pr-review-canvas-htmlOutlineDriven/odin-claude-plugin | Skill | 40 | 2mo ago | Apache-2.0 | A | 58 | Claude Code, Codex |
| resolveOutlineDriven/odin-claude-plugin | Skill | 40 | 2mo ago | Apache-2.0 | A | 44 | Claude Code, Codex |
| property-test-authoringOutlineDriven/odin-claude-plugin | Skill | 40 | 2mo ago | Apache-2.0 | A | 57 | Claude Code, Codex |