diagrams SKILL.md skillA

diagrams from natsukium/claude-code-figures-plugin is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add natsukium/claude-code-figures-plugin/diagrams@git:20261003.75126c8

Pins git:20261003.75126c8 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
natsukium/claude-code-figures-plugin
Path
skills/diagrams/SKILL.md
Versions recorded
1
Latest version
git:20261003.75126c8, committed Oct 3, 2026
Size
2,676 bytes
Repository stars
10
License
Apache-2.0

How to write diagram code blocks and display math that the figures plugin draws as pictures in the terminal (mermaid, dot/graphviz, d2, svg, LaTeX math). Load before putting a diagram or a formula in a reply, or when asked to draw, chart, or visualize a flow, architecture, state machine, dependency graph, or sequence.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Diagrams and math that render inline

A fenced block tagged `mermaid`, `dot` (or `graphviz`), `d2`, or `svg` in a reply is drawn as a
picture under the reply, and the code stays visible above it. Where the terminal cannot show
images, or the block's renderer is not installed, only the code is shown, so the source should
still read sensibly as text.

If a block fails, the first line of the renderer's error is shown in red under the reply. Fix the
source and send the corrected block, rather than explaining the error.

## Choosing a language

- `mermaid` for flowcharts, sequence diagrams, state machines, class and ER diagrams.
- `dot` for graphs with many nodes or edges, such as dependency or call graphs; Graphviz lays them
  out more cleanly than mermaid does.
- `d2` for architecture diagrams with nested containers.
- `svg` only for a figure none of the above can express.

## Math

Display math, `$$ … $$`, `\[ … \]`, or a `math` block, is typeset with MathJax and drawn under the
reply. Inline `$…$` stays plain text, so put a formula that matters on its own as display math.

- amsmath environments such as `aligned` and `cases`, and `mathtools`, `cancel`, `color`, `braket`,
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add natsukium/claude-code-figures-plugin/diagrams@sha256:c60c34715306e5cf

The line at the top of this page pins the label git:20261003.75126c8, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_6iwpxzmqcjl47eey.svg)](https://markdownregistry.com/a/art_6iwpxzmqcjl47eey)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Oct 3, 2026.

versioncommittedcommitsizeaudit
git:20261003.75126c8 latest2026-10-03 75126c8 2,676 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2676 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

natsukium/claude-code-figures-plugin · 10 stars · license Apache-2.0 · pushed 2026-10-22 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_6iwpxzmqcjl47eey
GET https://markdownregistry.com/api/v1/resolve?ref=natsukium/claude-code-figures-plugin/diagrams
GET https://markdownregistry.com/api/v1/blob/c60c34715306e5cfb5aeb9b0974d47a81c78512e93222222613dacaf6b3020b4

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

Browse by kind, by grade A, or by owner.