Agent skill

Mermaid Diagrams

by comol in comol/ai_rules_1c

Practical guide for creating human-readable and agent-parseable diagrams using Mermaid.

No licenceAuto-check passedDevelopment

Install Mermaid Diagrams

skills CLI
$ npx skills add comol/ai_rules_1c --skill mermaid-diagrams -a claude-code

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

GitHub CLI
$ gh skill install comol/ai_rules_1c mermaid-diagrams --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/comol/ai_rules_1c.git skills-src && mkdir -p .claude/skills && cp -r skills-src/content/skills/mermaid-diagrams .claude/skills/mermaid-diagrams && 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
mermaid-diagrams
GitHub stars
481
Token cost
~1.6k tokens
SKILL.md length
401 words
Files
1
Skills in repo
26
Repo updated
First seen
Licence
None found

At a glance

Practical guide for creating human-readable and agent-parseable diagrams using Mermaid.

  • Works in 4 steps: Replace flowchart with graph and… → Quote node texts. → Test in https://mermaid.live to isolate… → …
  • Tasks that involve Diagrams
  • SKILL.md covers Compatibility Rules (Read First), ASCII/Unicode Sidecar…, Working Templates… and When to Use Which Diagram, plus 1 more section
  • Reaches mermaid.live

What it does

Mermaid Diagrams is an agent skill from comol/ai_rules_1c. Practical guide for creating human-readable and agent-parseable diagrams using Mermaid. Includes conservative, renderer-compatible templates and when-to-use guidance.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Diagrams. It works with Mermaid. The repository describes itself as: Rules\skills\subagens for vibecoding in 1C(bsl).

When your agent uses it

  • Tasks that involve Diagrams

Example prompts

  • “/mermaid-diagrams”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Replace flowchart with graph and simplify shapes.
  2. Quote node texts.
  3. Test in https://mermaid.live to isolate environment issues.
  4. Fall back to the templates above for maximum compatibility.

What it can do on your machine

Read from SKILL.md and the folder at commit 5700f54. 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 (its code samples are mermaid).

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

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • mermaid.live

    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

Mermaid Diagrams loads about 1.6k tokens when it runs. Until then it costs about 46 tokens; SKILL.md has 401 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~46
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 401 words (~1,564 tokens).

“To optimize for quick human scanning in raw Markdown and robust parsing by agents, always ship an ASCII/Unicode sidecar immediately below each Mermaid block.”

— opening of SKILL.md by comol
name
mermaid-diagrams

Read the full SKILL.md on GitHub

Files

Just SKILL.md in content/skills/mermaid-diagrams of comol/ai_rules_1c.

Open the folder on GitHubat commit 5700f54

Compare with similar skills

Mermaid Diagrams 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.

Mermaid Diagrams compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mermaid Diagrams this skillcomol/ai_rules_1c481—~1.6kAutomated safety check: PassNone
Archify Diagramstt-a1i/archify82k—~2.9kAutomated safety check: PassMIT
Diagram Designcathrynlavery/diagram-design49k1 repos~7.6kAutomated safety check: PassMIT
Draw.io Diagram StudioAgents365-ai/drawio-skill10k—~2.4kAutomated safety check: NotesMIT
Pretty Mermaid Rendererimxv/Pretty-mermaid-skills1.5k—~2kAutomated safety check: PassMIT
Archify Diagram BuilderUnclecheng-li/AI_Animation1.5k2 repos~4.1kAutomated 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.

    82k 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.

    49k GitHub starsUsed in 1 repo~7.6k 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 today
    DevelopmentAuto-check: notes
  • 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
  • Mermaid

    WH-2099/mermaid-skill

    Generate Mermaid diagrams from user requirements. An agent skill from WH-2099/mermaid-skill.

    288 GitHub starsUsed in 4 repos~958 tokens
    DevelopmentAuto-check passed

More from comol/ai_rules_1c

All 26 skills in this repo
  • Img Grid Analysis

    comol/ai_rules_1c

    Overlay a numbered grid on an image to determine column proportions for layout generation.

    481 GitHub stars~619 tokensUpdated 3 days ago
    Auto-check passed
  • Md To DOCX

    comol/ai_rules_1c

    Convert a Markdown file to DOCX (Word). An agent skill from comol/ai_rules_1c.

    481 GitHub stars~1.1k tokensUpdated 3 days ago
    Auto-check passed
  • Transcribe

    comol/ai_rules_1c

    Transcribe video and audio files via Gemini API. An agent skill from comol/ai_rules_1c.

    481 GitHub stars~960 tokensUpdated 3 days ago
    Auto-check: notes
  • 1c Code Search

    comol/ai_rules_1c

    Find BSL code in a 1C project — routines by name, code by behaviour or exact literal, module layout, members of a context — through the graph and code-metadata MCP servers before any Grep.

    481 GitHub stars~1k tokensUpdated 3 days ago
    Auto-check passed
  • 1c Repository Manage

    comol/ai_rules_1c

    1C configuration repository (хранилище) — status, history, diff, lock, update, commit, unlock, dump; lock before edit, commit after verify.

    481 GitHub stars~1.7k tokensUpdated 3 days ago
    Auto-check passed
  • 1c Templates Memory

    comol/ai_rules_1c

    Search reusable 1C code templates with the task text and adapt a fitting result.

    481 GitHub stars~575 tokensUpdated 3 days ago
    Auto-check passed

Works with

Categories

Questions about Mermaid Diagrams

What does Mermaid Diagrams do?

Practical guide for creating human-readable and agent-parseable diagrams using Mermaid. Mermaid Diagrams is an agent skill from comol/ai_rules_1c. Practical guide for creating human-readable and agent-parseable diagrams using Mermaid.

When should I use Mermaid Diagrams?

Mermaid Diagrams fits situations like: tasks that involve Diagrams.

How do I install Mermaid Diagrams in Claude Code?

Run `npx skills add comol/ai_rules_1c --skill mermaid-diagrams -a claude-code`. Or copy the skill folder (content/skills/mermaid-diagrams in comol/ai_rules_1c) into .claude/skills/mermaid-diagrams in your project. Claude Code loads it when a task matches its description.

How do I install Mermaid Diagrams in Codex?

Run `npx skills add comol/ai_rules_1c --skill mermaid-diagrams -a codex`. Or copy the skill folder (content/skills/mermaid-diagrams in comol/ai_rules_1c) into .agents/skills/mermaid-diagrams in your project. Codex loads it when a task matches its description.

Can I use Mermaid Diagrams 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 comol/ai_rules_1c --skill mermaid-diagrams -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mermaid-diagrams, .gemini/skills/mermaid-diagrams, .github/skills/mermaid-diagrams and .opencode/skills/mermaid-diagrams in your project.

What does Mermaid Diagrams need to run?

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

Does Mermaid Diagrams access the network?

SKILL.md names 1 domain. In commands or code: mermaid.live; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Mermaid Diagrams 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 Mermaid Diagrams use?

No licence was found for Mermaid Diagrams or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Mermaid Diagrams use?

About 1.6k tokens (SKILL.md is roughly 6.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Mermaid Diagrams?

Skills that share tags, products or a category with Mermaid Diagrams: Archify Diagrams (tt-a1i/archify, 82k stars), Diagram Design (cathrynlavery/diagram-design, 49k stars), Draw.io Diagram Studio (Agents365-ai/drawio-skill, 10k stars) and Pretty Mermaid Renderer (imxv/Pretty-mermaid-skills, 1.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mermaid Diagrams?

comol (a GitHub user) maintains it in comol/ai_rules_1c, which has 481 GitHub stars. The repository holds 26 skills in this directory. The repository was last updated on October 7, 2026.

Source: comol/ai_rules_1c on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.