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 adewale/agentic-mermaid --skill agentic-mermaid-diagram-workflowgit clone --depth 1 https://github.com/adewale/agentic-mermaidWrote 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/adewale/agentic-mermaid/agentic-mermaid-diagram-workflow)<a href="https://agentmods.dev/skills/adewale/agentic-mermaid/agentic-mermaid-diagram-workflow"><img src="https://agentmods.dev/badge/skills/adewale/agentic-mermaid/agentic-mermaid-diagram-workflow/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/adewale/agentic-mermaid/agentic-mermaid-diagram-workflow"><img src="https://agentmods.dev/badge/skills/adewale/agentic-mermaid/agentic-mermaid-diagram-workflow.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.00061 | $0.02510 |
| Opus 5 | $0.00030 | $0.01255 |
| Sonnet 5 | $0.00012 | $0.00502 |
| Haiku 4.5 | $0.00006 | $0.00251 |
Grade A, and why
agentic-mermaid-diagram-workflow 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 12d 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 — 159 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agentic Mermaid — diagram workflow
An agent-agnostic typed editing surface for Mermaid. New diagrams can be authored as Mermaid source and verified/rendered directly. Existing modeled diagrams can be parsed to a ValidDiagram, mutated with typed ops, verified structurally (not as subjective visual scoring), and serialized back to canonical source. Agentic Mermaid outputs SVG, PNG, ASCII, Unicode, and JSON layout; layout is deterministic — verified cross-process, no layout seed. Styled looks (style render option: name | spec | stack, e.g. ['hand-drawn', 'dracula']) accept an ink seed that re-rolls wobble without ever moving layout; see docs/style-authoring.md.
Pick a channel
agentic-mermaid-mcpconnected → Code Mode (references/code-mode.md). Multi-step edits in one round-trip.- Can run JS/TS with imports → library (
agentic-mermaid/agent). Same SDK. - Shell only → CLI (
references/cli.md). - No local install, network only → hosted MCP at
https://agentic-mermaid.dev/mcp(stateless Streamable HTTP JSON-RPC;execute,describe_sdk,render_svg,render_ascii,render_png,verify,describe,mutate, andbuildtools — 64 KB input cap). Readreferences/hosted-mcp.mdbefore composing a hosted request. Use the named direct tool and its exact argument object; do not substitute library APIs or local Code Mode for a hosted direct-tool task.
For hosted MCP, choose the least-powerful tool that completes the task:
| Need | Tool | Required arguments |
|---|---|---|
| Structural validity, family, warnings, layout counts | verify |
{ source } |
| Prose, AX tree, or semantic fact inventory | describe |
{ source, format?: 'text' | 'json' | 'facts' } |
| Edit an existing diagram with known ops | mutate |
{ source, ops: [{ kind, ...fields }] } |
| Author a new modeled diagram with known ops | build |
{ family, ops: [{ kind, ...fields }] } |
| Discover one family's exact op fields | describe_sdk |
{ family, detail: 'fields' } |
| Custom synchronous control flow | execute |
{ code, timeoutMs? } |
What ships with it
38 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.
- references/cli.md 2.3 KB
- references/code-mode.md 5.8 KB
- references/flowchart.md 805 B
- references/hosted-mcp.md 5.0 KB
- references/sequence.md 1.3 KB
- references/timeline.md 1.0 KB
- references/upstream/architecture.md 16 KB
- references/upstream/block.md 24 KB
- references/upstream/c4.md 31 KB
- references/upstream/classDiagram.md 28 KB
- references/upstream/cynefin.md 11 KB
- references/upstream/entityRelationshipDiagram.md 24 KB
- references/upstream/eventmodeling.md 11 KB
- references/upstream/examples.md 7.6 KB
- references/upstream/flowchart.md 53 KB
- references/upstream/gantt.md 31 KB
- references/upstream/gitgraph.md 51 KB
- references/upstream/ishikawa.md 1.7 KB
- references/upstream/kanban.md 6.0 KB
- references/upstream/mindmap.md 8.9 KB
- references/upstream/packet.md 3.8 KB
- references/upstream/pie.md 3.8 KB
- references/upstream/quadrantChart.md 12 KB
- references/upstream/radar.md 7.6 KB
- references/upstream/railroad.md 14 KB
- references/upstream/requirementDiagram.md 10 KB
- references/upstream/sankey.md 10 KB
- references/upstream/sequenceDiagram.md 33 KB
- references/upstream/stateDiagram.md 16 KB
- references/upstream/swimlanes.md 11 KB
- references/upstream/timeline.md 16 KB
- references/upstream/treemap.md 8.8 KB
- references/upstream/treeView.md 11 KB
- references/upstream/userJourney.md 1.2 KB
- references/upstream/venn.md 3.1 KB
- references/upstream/wardley.md 16 KB
- references/upstream/xyChart.md 14 KB
- references/upstream/zenuml.md 8.6 KB
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.
- 12d ago First seen · 159 lines · 61 tokens per session scan A 3553a129ab53
agentic-mermaid-diagram-workflow is a skill published in the GitHub repository adewale/agentic-mermaid (51 stars, last pushed 12d ago), licensed MIT. It adds 61 tokens to every session and 2,510 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It comes from a forked repository.
Other skills, from other repositories
Presentation Skills Index
Skills for creating presentations, slides, and visual documentation.
png-press
Teaches agents how to author content and configure writepng so PNGs render at the correct size, with tight cropping, readable text, and consistent scaling.
template-pitch-deck
Pitch-deck generation exemplar — short/medium/long PDF+PPTX decks from one token-resolved, diligence-cited content source.
mermaid-diagram
A guide for writing Mermaid code for structured diagrams. Mermaid is a text format that can describe diagrams such as flowcharts, architecture diagrams and timelines.
Architecture Diagram
Produces clean architecture and system diagrams from actual repo or product truth instead of decorative boxes.
okhp3-askjamie-brand
OverKill Hill P³ AskJamie SPA styling. Use when a user wants an AskJamie application, documentation artifact, presentation, or image brief aligned to the approved AskJamie profile. Also activate when a target needs calm, mid-century helpdesk clarity for complex decisions. This specialization applies the approved local…