Diagram Design is a tool for creating editorial-style diagrams as self-contained HTML and SVG files, covering layouts such as flows, system architectures, Sankey diagrams, maps, and schemas. Designers and coding-agent users can use it to produce branded static diagrams or redraw Mermaid and draw.io sources. The catalogue commands, plugin, and skill provide the agent workflow for generating these diagrams.
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.
git clone --depth 1 https://github.com/cathrynlavery/diagram-designWrote 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/commands/cathrynlavery/diagram-design/profile)<a href="https://agentmods.dev/commands/cathrynlavery/diagram-design/profile"><img src="https://agentmods.dev/badge/commands/cathrynlavery/diagram-design/profile/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/commands/cathrynlavery/diagram-design/profile"><img src="https://agentmods.dev/badge/commands/cathrynlavery/diagram-design/profile.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.00016 | $0.00458 |
| Opus 5 | $0.00008 | $0.00229 |
| Sonnet 5 | $0.00003 | $0.00092 |
| Haiku 4.5 | $0.00002 | $0.00046 |
Grade A, and why
profile 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 10d 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:
- profile — 100% identical, 0 lines differ
What it actually says
Manage Diagram Design client profiles by following skills/diagram-design/references/profiles.md. Treat that reference as the source of truth for storage, strict slug validation, metadata, marker-first resolution, schema checks, and failure handling. Do not reimplement or relax its rules here.
Full argument string: $ARGUMENTS
Routing
- No arguments →
list, with the active project-marker or working-copy profile marked. - Bare
<name>with no verb →load <name>. switch <name>→ synonym forload <name>even thoughswitchis omitted from the short argument hint.save [name],load [name],list,show,update [name],reset, anddelete [name]→ run that exact procedure from the reference.- Missing required name → list when useful, then ask. Never invent a slug.
- Unknown verb or extra argument → show the accepted forms and stop without writing.
Required behavior
- Resolve the current installed skill directory before reading its working
style-guide.md; do not assume the repository checkout is the active install. - Treat
.diagram-designas untrusted data. Accept only the exact marker grammar and canonical home profile path described in the reference. - Confirm before overwriting an existing profile, changing a project marker, or deleting a profile. Never skip a confirmation because the command was invoked from a script.
- For marker-selected projects, read the profile directly and leave the installed working copy unchanged.
- For copy-over load, verify the destination after writing. If it is unwritable, offer the marker-based flow.
- After save/update, verify exactly one profile metadata header and an unchanged body.
Report the active profile and the canonical file or marker affected. Never claim a write succeeded without re-reading it.
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.
- 10d ago First seen · 35 lines · 16 tokens per session scan A c4a510ded471
profile is a command published in the GitHub repository cathrynlavery/diagram-design (35,796 stars, last pushed yesterday), licensed MIT. It adds 16 tokens to every session and 458 once invoked, about $0.0001 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 commands, from other repositories
reimagine-it
Claude Code, Codex, Factory Droid, Cursor, Copilot, Gemini CLI. Redesign existing HTML from its own content — 15 visual directions (webpage, infographic, SVG, Three.js, simulation, and the rest). Invent a leap they did not know to ask for. Not a mood board. The CLI does not ingest PDF or PPTX.
arch4-open-map
Show this repository's rendered Arch4 architecture map widget.
design-handoff
Write a design-to-engineering handoff as Markdown in the user's repository. Use when invoked as /document-design-system:design-handoff. Produce designed HTML or PDF only when asked.
ppt-image2-editable-rebuild
Rebuild image2 or imagegen reference slides as editable PowerPoint decks.
responsive-design-specialist
Use when a layout breaks between sizes. Arbitrary breakpoints, type that does not scale, images that blow out the grid, or a desktop design retrofitted onto mobile.
p3-ux-wireframes
Creates wireframes (ASCII art) for the most important screens with interaction descriptions.