Skip to content

Markdown Mermaid Writing skill

Write Markdown with version-aware Mermaid structural diagrams.

Community · Clayton Young / K-Dense
AuthorClayton Young / K-Dense
LicenceApache-2.0 (included skill content)
SourceK-Dense-AI/scientific-agent-skills · SKILL.md on GitHub
Works inClaude Code · Codex, Gemini CLI, Cursor, Copilot
Read from the source on

markdown-mermaid-writing: Write Markdown with version-aware Mermaid structural diagrams.

It prioritizes the requested format and repository conventions over its optional house style.

From the skill's SKILL.md: # Markdown and Mermaid Writing

This is a community skill by Clayton Young / K-Dense, not checked by us or by Anthropic. Skills can tell the agent to run code, read files or call the network. Before installing, read its SKILL.md and every script in the folder, and look for anything that does not match what it says it does.

What it does

  1. Describe structure, write syntax and render-check diagrams.

What you get

  • Markdown and Mermaid source, optionally rendered exports.

When to use it

  • Document a process or relationship.

When not to use it

  • Using structural diagrams as quantitative scientific plots.

What it needs

  • No runtime for writing; local rendering targets Mermaid CLI12, Node.js22.13+ and Chromium.

Files in the skill

File or folderWhat it is for
SKILL.mdEntry-point instructions and supporting workflow.

Licence as found in the repository on 2026-11-16: Apache-2.0 (included skill content).

Example prompts

Type one of these after installing; naming the skill makes sure it is used.

  • Diagram this workflow in Mermaid.
  • Document these system relationships.
  • Check this diagram against its renderer.

How to install markdown-mermaid-writing

Prepare the workflow

Keep templates and attribution. Included skill content is Apache-2.0 within the MIT repository. Match the source’s renderer target before export.

A skill is a folder with a SKILL.md file. You install it once; the agent reads its short description at the start of each session and loads the full instructions only when a request matches. Pick the place you use:

Claude Code: copy the folder into your skills folder

Put the skill's folder in ~/.claude/skills/ to use it in every project on this computer, or in .claude/skills/ inside a repository to share it with everyone who works there (commit it).

git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills.git
mkdir -p ~/.claude/skills
cp -R scientific-agent-skills/skills/markdown-mermaid-writing ~/.claude/skills/

Claude Code notices new or changed skills in these folders during the session. If the skills folder did not exist when the session started, run /reload-skills once. Then type /markdown-mermaid-writing or just describe the task.

On Windows, run the commands in Git Bash or WSL, or copy the folder into the same place with File Explorer.

Codex, Gemini CLI, Cursor and GitHub Copilot

These agents read the same SKILL.md folders. The one folder all four accept inside a project is .agents/skills/, so this copies the skill there:

git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills.git
mkdir -p .agents/skills
cp -R scientific-agent-skills/skills/markdown-mermaid-writing .agents/skills/
AgentProject folderYour user folderNotes
OpenAI Codex
.agents/skills/
~/.agents/skills/
Type $ or run /skills to pick a skill; Codex also chooses one when your task matches.
Gemini CLI
.agents/skills/
.gemini/skills/
~/.agents/skills/
~/.gemini/skills/
Or install from Git with gemini skills install <git URL> --path <folder> --consent. Google replaced Gemini CLI with Antigravity CLI for free-tier and Google One users on 18 June 2026; Antigravity uses .agents/skills/ in a project and ~/.gemini/config/skills/ for you.
Cursor
.agents/skills/
.cursor/skills/
~/.agents/skills/
~/.cursor/skills/
Type / in Agent chat to pick a skill. Cursor also reads Claude Code's .claude/skills/ folders.
GitHub Copilot
.github/skills/
.agents/skills/
.claude/skills/
~/.copilot/skills/
~/.agents/skills/
Works in Copilot CLI, the cloud agent, and agent mode in VS Code, Visual Studio and JetBrains (IDE support depends on the version). Or run gh skill install OWNER/REPOSITORY SKILL (public preview, GitHub CLI 2.90.0 or later).
Only install skills you trust. Anthropic's advice is to use skills only from trusted sources, and to read every file of any other skill before using it: a skill can direct the agent to run commands, read files or send data in ways its description does not mention.

Sources for these steps

Checked against each vendor's documentation on 2026-11-14:

Structure stays in text

Editable source makes workflows and relationships reviewable. Follow the surrounding document’s conventions.

Render before delivery

Version-aware syntax, accessible labels and actual output inspection matter more than an untested code block.

Questions about markdown-mermaid-writing

Does copying the skill install its tools?

No. Install and configure external requirements separately.

Is full cloud execution verified here?

No. The page offers source-based local-agent guidance, not a tested cloud runtime.

Is Markdown writing runtime-dependent?

No. Rendering has separate dependencies.

Should it replace scientific plots?

No. Quantitative figures need suitable plotting tools.

More AI skills

Related skills

Skill categories