09-mermaid

09-mermaid is a skill for Claude Code from ai-driven-dev/framework. It costs 50 tokens per session (278 once invoked), scanned A, original, MIT.

A workflow for turning written information about an architecture or process into a Mermaid diagram. Mermaid is a text format for diagrams that can be rendered by compatible tools.

In plain words
What is it for?
Use it to create flowcharts or other Mermaid diagrams for architectures, lifecycles, and workflows.
Why use it?
It adds a planning and review loop so the diagram reflects the confirmed source instead of adding unsupported details.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the aidd-context plugin — 13 skills, 1 hook shipped together

Good fit Use it to create flowcharts or other Mermaid diagrams for architectures, lifecycles, and workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ai-driven-dev/framework/09-mermaid
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 ai-driven-dev/framework --skill 09-mermaid
Clone the repo
git clone --depth 1 https://github.com/ai-driven-dev/framework

Made for: Claude Code.

Or install aidd-context, the plugin that ships this one along with the rest of its 13 skills, 1 hook.

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 09-mermaid

README.md
[![agentmods](https://agentmods.dev/badge/skills/ai-driven-dev/framework/09-mermaid/github.svg)](https://agentmods.dev/skills/ai-driven-dev/framework/09-mermaid)
Your own site
<a href="https://agentmods.dev/skills/ai-driven-dev/framework/09-mermaid"><img src="https://agentmods.dev/badge/skills/ai-driven-dev/framework/09-mermaid/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 09-mermaid

Your own site · 80×15
<a href="https://agentmods.dev/skills/ai-driven-dev/framework/09-mermaid"><img src="https://agentmods.dev/badge/skills/ai-driven-dev/framework/09-mermaid.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 278 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
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.00050 $0.00278
Opus 5.5 $0.00020 $0.00111
Sonnet 5.5 $0.00010 $0.00056
Haiku 4.5 $0.00005 $0.00028

Measured 1mo ago against content hash 0d6e5ecfb0b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

09-mermaid 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 1mo 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.

plugins/aidd-context/skills/09-mermaid/SKILL.md · 30 lines

What it actually says

Mermaid

Produces a valid, structured Mermaid diagram from a written source by planning it, confirming the plan, generating, and offering a review.

Actions

# Action Role Input
01 mermaid Plan, confirm, generate, and review one diagram a written source

Run action 01 and run its ## Test before trusting the result. Before running an action, read its file in actions/, not only the table or assets.

Transversal rules

  • Plan before generating, and confirm the plan with the user. Block on the answer.
  • Generate only what the confirmed plan holds. Never add a node or a relationship the user did not confirm.
  • Follow the project's Mermaid conventions for every diagram.
  • Output the diagram as a fenced block, never describe it in prose.

References

  • references/mermaid-conventions.md: the conventions and defaults every generated diagram follows.
Files

What ships with it

2 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. 1mo ago First seen · 30 lines · 50 tokens per session scan A 0d6e5ecfb0b9

Subscribe to this mod's changes

09-mermaid is a skill published in the GitHub repository ai-driven-dev/framework (518 stars, last pushed today), licensed MIT. It adds 50 tokens to every session and 278 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

image-generation

Use this skill when the user requests to generate, create, imagine, or visualize images including characters, scenes, products, or any visual content. Supports structured prompts and reference images for guided generation.

bytedance/deer-flow · 42 tokens

podcast-generation

Use this skill when the user requests to generate, create, or produce podcasts from text content. Converts written content into a two-host conversational podcast audio format with natural dialogue.

bytedance/deer-flow · 38 tokens

skill-reviewer

Reviews DeerFlow skill packages for readiness, triggers, safety boundaries, resources, and evidence. Invoke when users ask to audit, grade, or production-check an existing skill.

bytedance/deer-flow · 38 tokens

knowledge-org

A guide to organising large bodies of knowledge so an AI system can navigate relationships, summaries, and layers instead of searching only flat text chunks. It covers tree indexes, knowledge graphs, file-like structures, incremental updates, and long-term memory layouts.

bojieli/ai-agent-book · 96 tokens

eval-dataset-design

A guide to creating reliable test sets for AI agents. Each evaluation task includes the request, the simulated user's behaviour, a reset starting state, and a success check that can be independently verified.

bojieli/ai-agent-book · 138 tokens

git-checkpoint

Use git as a safety net - create a checkpoint commit before risky or large changes and roll back cleanly if a change makes things worse. Use before multi-file refactors.

agentscope-ai/agentscope-java · 39 tokens