Agent skill

09 Mermaid

by ai-driven-dev in ai-driven-dev/framework

Generate a valid Mermaid diagram from a written source through a plan, generate, review loop.

MITAuto-check passedDevelopment

Install 09 Mermaid

skills CLI
$ npx skills add ai-driven-dev/framework --skill 09-mermaid -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ai-driven-dev/framework 09-mermaid --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ai-driven-dev/framework.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/aidd-context/skills/09-mermaid .claude/skills/09-mermaid && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
09-mermaid
GitHub stars
513
Token cost
~347 tokens
SKILL.md length
129 words
Files
3 (incl. references)
Skills in repo
46
Repo updated
First seen
Licence
MIT

At a glance

Generate a valid Mermaid diagram from a written source through a plan, generate, review loop.

  • The user wants to turn an architecture
  • SKILL.md covers Actions, Transversal rules and References
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Flow into a Mermaid diagram

What it does

09 Mermaid is an agent skill from ai-driven-dev/framework. Generate a valid Mermaid diagram from a written source through a plan, generate, review loop. Use when the user wants to turn an architecture, lifecycle, or flow into a Mermaid diagram. Not for other diagram formats or image rendering.

Its SKILL.md is about 350 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `actions/01-mermaid.md` and `references/mermaid-conventions.md`).

It sits in Development, covering Diagrams. It works with Mermaid. The repository describes itself as: Marketplace Framework AI-Driven Dev : Context Engineering, Plugins, Agents, Skills, Hooks, Templates, SDLC. The licence is MIT.

When your agent uses it

  • The user wants to turn an architecture
  • Flow into a Mermaid diagram

Example prompts

  • “/09-mermaid”

What it can do on your machine

Read from SKILL.md and the folder at commit 6e30640. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

09 Mermaid loads about 347 tokens when it runs, and up to ~755 if it reads all its reference files. Until then it costs about 62 tokens; SKILL.md has 129 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~62
When it runs · the whole SKILL.md, loaded when a task matches
~347
With references · SKILL.md plus every file in references/, read only if the agent opens them
~755

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ai-driven-dev/framework at commit 6e30640, republished under its MIT licence (© ai-driven-dev). 129 words, ~347 tokens.

Download SKILL.mdSave it as .claude/skills/09-mermaid/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
09-mermaid
description
Generate a valid Mermaid diagram from a written source through a plan, generate, review loop. Use when the user wants to turn an architecture, lifecycle, or flow into a Mermaid diagram. Not for other diagram formats or image rendering.
argument-hint
architecture | lifecycle | flow

Mermaid

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

Actions

#ActionRoleInput
01mermaidPlan, confirm, generate, and review one diagrama 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.

© ai-driven-dev, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in plugins/aidd-context/skills/09-mermaid of ai-driven-dev/framework.

  • SKILL.md
  • actions/01-mermaid.md
  • references/mermaid-conventions.md

Open the folder on GitHubat commit 6e30640

Compare with similar skills

09 Mermaid next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

09 Mermaid compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
09 Mermaid this skillai-driven-dev/framework513—~347Automated safety check: PassMIT
Archify Diagramstt-a1i/archify79k—~2.9kAutomated safety check: PassMIT
Diagram Designcathrynlavery/diagram-design45k1 repos~7.5kAutomated safety check: PassMIT
Draw.io Diagram StudioAgents365-ai/drawio-skill10k—~2.4kAutomated safety check: NotesMIT
Code Graph Mermaid Diagramstrailofbits/skills7.4k1 repos~1.7kAutomated safety check: PassCC-BY-SA-4.0
Pretty Mermaid Rendererimxv/Pretty-mermaid-skills1.5k—~2kAutomated safety check: PassMIT

Similar skills

  • Archify Diagrams

    tt-a1i/archify

    Creates interactive architecture, workflow, sequence, data-flow and lifecycle diagrams as standalone HTML with inline SVG, themes and image or video export.

    79k GitHub stars~2.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Diagram Design

    cathrynlavery/diagram-design

    Creates branded diagrams, from architecture, flowchart and sequence to charts and maps, as self-contained HTML with inline SVG, with import from draw.io, Mermaid and Excalidraw.

    45k GitHub starsUsed in 1 repo~7.5k tokens
    DevelopmentAuto-check passed
  • Draw.io Diagram Studio

    Agents365-ai/drawio-skill

    Creates and edits editable draw.io diagrams from descriptions, code, infrastructure files, SQL and API schemas, with sync, review, test and export tools.

    10k GitHub stars~2.4k tokensUpdated 5 days ago
    DevelopmentAuto-check: notes
  • Code Graph Mermaid Diagrams

    trailofbits/skills

    Official

    Generates Mermaid diagrams from Trailmark code graphs, including call graphs, class hierarchies, module dependency maps, complexity heatmaps and attack surface data flows.

    7.4k GitHub starsUsed in 1 repo~1.7k tokens
    DevelopmentAuto-check passed
  • Pretty Mermaid Renderer

    imxv/Pretty-mermaid-skills

    Writes and renders Mermaid diagrams as themed SVG, PNG or terminal ASCII and Unicode art with a bundled Node.js CLI that needs no browser.

    1.5k GitHub stars~2k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Archify Diagram Builder

    Unclecheng-li/AI_Animation

    Builds validated architecture, workflow, sequence, data-flow and lifecycle diagrams as standalone interactive HTML from a small JSON spec, with optional motion and image export.

    1.5k GitHub starsUsed in 2 repos~4.1k tokens
    DevelopmentAuto-check passed

More from ai-driven-dev/framework

All 46 skills in this repo
  • 00 Async Dev

    ai-driven-dev/framework

    Drive the async-dev pipeline from one entry point, whether setup, run, or review.

    513 GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • 01 Plan

    ai-driven-dev/framework

    Turn a request, ticket, or file into a phased implementation plan.

    513 GitHub stars~517 tokensUpdated today
    Auto-check passed
  • 01 Sdlc

    ai-driven-dev/framework

    Autonomously orchestrates a request from framing to a draft pull request, isolating implementation, independent review, and final outcome challenge.

    513 GitHub stars~583 tokensUpdated today
    Auto-check passed
  • 02 Backlog

    ai-driven-dev/framework

    Orchestrates a product backlog end to end. An agent skill from ai-driven-dev/framework.

    513 GitHub stars~613 tokensUpdated today
    Auto-check passed
  • 00 Onboard

    ai-driven-dev/framework

    Guide a project's journey through AIDD, from first setup to shipping a feature.

    513 GitHub stars~242 tokensUpdated today
    Auto-check passed
  • 01 Acceptance QA

    ai-driven-dev/framework

    Validate a reviewed candidate's observable behavior against its acceptance criteria and record short named videos as reviewer evidence.

    513 GitHub stars~434 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about 09 Mermaid

What does 09 Mermaid do?

Generate a valid Mermaid diagram from a written source through a plan, generate, review loop. 09 Mermaid is an agent skill from ai-driven-dev/framework. Generate a valid Mermaid diagram from a written source through a plan, generate, review loop.

When should I use 09 Mermaid?

09 Mermaid fits situations like: the user wants to turn an architecture; flow into a Mermaid diagram.

How do I install 09 Mermaid in Claude Code?

Run `npx skills add ai-driven-dev/framework --skill 09-mermaid -a claude-code`. Or copy the skill folder (plugins/aidd-context/skills/09-mermaid in ai-driven-dev/framework) into .claude/skills/09-mermaid in your project. Claude Code loads it when a task matches its description.

How do I install 09 Mermaid in Codex?

Run `npx skills add ai-driven-dev/framework --skill 09-mermaid -a codex`. Or copy the skill folder (plugins/aidd-context/skills/09-mermaid in ai-driven-dev/framework) into .agents/skills/09-mermaid in your project. Codex loads it when a task matches its description.

Can I use 09 Mermaid in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ai-driven-dev/framework --skill 09-mermaid -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/09-mermaid, .gemini/skills/09-mermaid, .github/skills/09-mermaid and .opencode/skills/09-mermaid in your project.

What does 09 Mermaid need to run?

SKILL.md names no scripts, command-line tools or credentials: 09 Mermaid is instructions for the agent only.

Does 09 Mermaid access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is 09 Mermaid safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does 09 Mermaid use?

09 Mermaid is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does 09 Mermaid use?

About 347 tokens (SKILL.md is roughly 1.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 408 tokens, read only when the agent opens those files.

What are the alternatives to 09 Mermaid?

Skills that share tags, products or a category with 09 Mermaid: Archify Diagrams (tt-a1i/archify, 79k stars), Diagram Design (cathrynlavery/diagram-design, 45k stars), Draw.io Diagram Studio (Agents365-ai/drawio-skill, 10k stars) and Code Graph Mermaid Diagrams (trailofbits/skills, 7.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains 09 Mermaid?

ai-driven-dev (a GitHub organization) maintains it in ai-driven-dev/framework, which has 513 GitHub stars. The repository holds 46 skills in this directory. The repository was last updated on October 8, 2026.

Source: ai-driven-dev/framework on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.