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 Jacobinwwey/notemdpro --skill diagram-generatorgit clone --depth 1 https://github.com/Jacobinwwey/notemdproWrote 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/jacobinwwey/notemdpro/diagram-generator)<a href="https://agentmods.dev/skills/jacobinwwey/notemdpro/diagram-generator"><img src="https://agentmods.dev/badge/skills/jacobinwwey/notemdpro/diagram-generator/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/jacobinwwey/notemdpro/diagram-generator"><img src="https://agentmods.dev/badge/skills/jacobinwwey/notemdpro/diagram-generator.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.00017 | $0.00616 |
| Opus 5.5 | $0.00007 | $0.00246 |
| Sonnet 5.5 | $0.00003 | $0.00123 |
| Haiku 4.5 | $0.00002 | $0.00062 |
Grade A, and why
diagram-generator 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.
How it starts
The opening of the file, as written. The whole thing — 31 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diagram generator
English
Canonical action: generate-diagram; accept generate-experimental-diagram as an alias. preview-diagram requires an available host renderer.
- Read the full authorized source. Identify required concepts, source references, ownership hierarchy and explicit directed predicates. Keep a coverage inventory.
- Select an available target. Mermaid text is supported by the bundled validator; Drawnix, SVG and PDF need an actual host adapter. Never claim an unavailable format was exported.
- Keep hierarchy separate from cross-branch relationships. Preserve all required nodes and source-supported relations, including reciprocal and distinct predicates. Do not invent edges merely to connect isolated concepts.
- Prefer deterministic renderer placement: closely related blocks should be nearer; route from boundaries, reserve label space and reduce crossings/overlap. Never delete content to improve geometry. Revalidate coverage after any reorder.
- Validate canonical source before preview/export. For a host SVG-to-PDF path, require sanitized SVG, resolved style/inheritance support, valid dimensions/viewBox, proportional page-size limits and a nonempty parseable PDF. Preserve source plus intermediate artifacts and report the failing stage when unsupported or unsuccessful.
Use workflow-runner for complete diagnostics. A successful text generation does not establish rendered export success.
中文
规范操作名为 generate-diagram,接受 generate-experimental-diagram 兼容别名。preview-diagram 需要实际可用的宿主渲染器。
- 阅读完整的已授权来源,整理必要概念、来源引用、归属层级和显式有向谓词,保留覆盖清单。
- 选择可用目标。随附验证器支持 Mermaid 文本;Drawnix、SVG 和 PDF 需要真实宿主适配器,不得把不可用格式报告为已导出。
- 分离层级与跨分支关系,保留全部必要节点及来源支持的关系,包括反向关系和不同谓词。不得为了连接孤立概念而虚构连线。
- 优先使用确定性渲染排布:紧密关联块相邻,连接节点边界,预留标签空间,减少交叉与重叠。不得删除内容改善几何效果;重排后重新验证覆盖。
- 预览/导出前验证规范源。宿主 SVG 到 PDF 路径应支持净化、样式/继承解析、有效尺寸/viewBox、等比例页面尺寸限制,以及非空且可解析的 PDF。保留源与中间产物,能力不支持或失败时报告具体阶段。
完整诊断遵循 workflow-runner。文本生成成功不代表渲染导出成功。
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 First seen · 31 lines · 17 tokens per session scan A 124dcaaa4a81
diagram-generator is a skill published in the GitHub repository Jacobinwwey/notemdpro (2 stars, last pushed 2mo ago), licensed MIT. It adds 17 tokens to every session and 616 once invoked, about $0.0001 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-05.
diagram-generator compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| diagram-generatorJacobinwwey/notemdpro | Skill | 2 | 2mo ago | MIT | A | 17 | Claude Code, Codex |
| brand-landingpagewshobson/agents | Skill | 43k | 3d ago | MIT | A | 112 | Claude Code |
| wcag-audit-patternswshobson/agents | Skill | 43k | 3d ago | MIT | A | 45 | Claude Code |
| app-store-screenshotsParthJadhav/app-store-screenshots | Skill | 8.2k | 28d ago | MIT | A | 80 | Claude Code, Codex |
| tailwind-design-systemcalesthio/OpenMontage | Skill | 86k | 4d ago | AGPL-3.0 | A | 42 | Claude Code, Codex |
| motion-graphicscalesthio/OpenMontage | Skill | 86k | 4d ago | AGPL-3.0 | A | 187 | Claude Code, Codex |
| visual-stylecalesthio/OpenMontage | Skill | 86k | 4d ago | AGPL-3.0 | A | 136 | Claude Code, Codex |