agentic-mermaid-diagram-workflow

agentic-mermaid-diagram-workflow is a skill for Claude Code, Codex from adewale/agentic-mermaid. It costs 48 tokens per session (347 once invoked), scanned A, original, from a forked repository, MIT.

A workflow for creating and editing Mermaid diagrams with structured checks, typed changes, round-trip serialization, and deterministic outputs such as SVG, PNG, ASCII, Unicode, and JSON layout.

In plain words
What is it for?
Use it to author, render, verify, describe, mutate, and serialize Mermaid diagrams through the MCP server, SDK, command line, or hosted service.
Why use it?
It helps agents make diagram changes that can be checked and converted back to canonical Mermaid source while preserving unsupported syntax.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to author, render, verify, describe, mutate, and serialize Mermaid diagrams through the MCP server, SDK, command line, or hosted service.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/adewale/agentic-mermaid/agentic-mermaid-diagram-workflow
Install

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.

Any agent
npx skills add adewale/agentic-mermaid --skill agentic-mermaid-diagram-workflow
Clone the repo
git clone --depth 1 https://github.com/adewale/agentic-mermaid

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for agentic-mermaid-diagram-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/adewale/agentic-mermaid/agentic-mermaid-diagram-workflow/github.svg)](https://agentmods.dev/skills/adewale/agentic-mermaid/agentic-mermaid-diagram-workflow)
Your own site
<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.

agentmods 80×15 button for agentic-mermaid-diagram-workflow

Your own site · 80×15
<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>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 347 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin fork From a forked repository.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.00347
Opus 5.5 $0.00019 $0.00139
Sonnet 5.5 $0.00010 $0.00069
Haiku 4.5 $0.00005 $0.00035

Measured 15d ago against content hash de4cc5006eb3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 15d 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.

skills/agentic-mermaid-diagram-workflow/SKILL.md · 32 lines

What it actually says

Agentic Mermaid — diagram workflow

Read the operating guide before diagram work:

  • Installed CLI: am --agent-instructions (or npx agentic-mermaid --agent-instructions).
  • This repository: Instructions_for_agents.md at the repository root.
  • An am init-agent installation includes an offline copy at references/operating-guide.md beside this skill.
  • Without a local installation: hosted operating guide.

Follow the installed or connected version's guide and discovery. The online guide describes production, which can differ from an older package. Choose one channel and keep the diagram's source in the authorized environment.

Load only the relevant channel reference for exact call shapes:

  • Code Mode: synchronous mermaid.* SDK calls.
  • CLI: shell commands and output files.
  • Hosted MCP: direct tools, JSON-RPC and request examples.

The operating guide owns authoring, typed edits, verification, semantic read-back, source-preserving fallback and response rules. References add channel and family syntax; they do not define a second workflow. Discover family headers and operations with am capabilities --summary, then --family <id>, or describe_sdk rather than borrowing another family's vocabulary.

Files

What ships with it

40 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.

Changes

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.

  1. 15d ago Changed · +1 lines de4cc5006eb3
  2. 1mo ago Changed · -135 lines · -13 tokens per session feeb85776094
  3. 2mo ago Changed · -1 lines 5859af31633d
  4. 2mo ago Changed · +8 lines b82b6c4477d8
  5. 3mo ago First seen · 159 lines · 61 tokens per session scan A 3553a129ab53

Subscribe to this mod's changes

agentic-mermaid-diagram-workflow is a skill published in the GitHub repository adewale/agentic-mermaid (73 stars, last pushed today), licensed MIT. It adds 48 tokens to every session and 347 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It comes from a forked repository.

Related

agentic-mermaid-diagram-workflow compared with skills from other repositories

agentic-mermaid-diagram-workflow next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agentic-mermaid-diagram-workflowadewale/agentic-mermaidSkill73todayMITA48Claude Code, Codex
code-to-diagramzebbern/claude-code-guideSkill4.7ktodayMITA74Claude Code, Codex
mermaid-diagramwecode-ai/WegentSkill896todayApache-2.0A102Claude Code, Codex
mermaid-diagramPM-Shawn/Abu-CoworkSkill426yesterdayApache-2.0A104Claude Code
Presentation Skills Indexaristoteleo/PantheonOSSkill499todayBSD-2-ClauseA15Claude Code, Codex
pdf-presskdcube/kdcubeSkill27todayMITA74Claude Code
png-presskdcube/kdcubeSkill27todayMITA36Claude Code