d2 SKILL.md skillA
d2 from devskale/skale-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add devskale/skale-skills/d2@v1.4.1Pins v1.4.1 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- devskale/skale-skills
- Path
skills/d2/SKILL.md- Versions recorded
- 7
- Latest version
- v1.4.1, committed Oct 2, 2026
- First version recorded
- Aug 9, 2026
- Size
- 4,987 bytes
- Repository stars
- 2
- License
- none declared
Draw architecture, sequence, flowchart, or ER diagrams as code with the D2 CLI. Use when the user wants to create, edit, validate, or render any diagram or .d2 file.
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
# D2 — Diagrams as Code > **Manual only** — invoke explicitly with `/skill:d2`; the agent won't reach for it on its own. D2 turns text into diagrams. **Knowledge skill** — the agent drives the `d2` CLI directly; `scripts/` only adds thin wrappers. Requires `brew install d2`. > **Ecosystem:** hand-drawn presentation figures (sketchy look, manual layout) → **`figure`** · > shareable page/report (one HTML + URL) → **`visualize`** · `d2` = auto-laid-out technical > diagrams (sequence, ER, class, many types) with ASCII self-verification. ## Install ```bash openskills install devskale/skale-skills/skills/d2 # → pi, claude, opencode, … ``` Or clone + add to pi config: `"skills": ["~/code/skale-skills/skills/d2"]` in `~/.pi/agent/settings.json`. ## Quick Start — the render loop ```bash bash scripts/d2v diagram.d2 # ONE command: validate → ASCII to stderr → svg → width-bloat check bash scripts/d2v diagram.d2 -- --sketch --theme 4 # forward flags to d2 (sketch/themes — sketch is CLI-only, vars ignore it) bash scripts/d2png diagram.d2 # PNG via rsvg-convert (no Playwright/Chromium download) # (the raw loop it runs, if you need the pieces:) …
Read the whole file at its exact version.
How to install
mdr add devskale/skale-skills/d2@sha256:c4d1fe82009bc7ccThe line at the top of this page pins the label v1.4.1, 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.
[](https://markdownregistry.com/a/art_ol7hbmshofstocok)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 7 versions of this file, between Aug 9, 2026 and Oct 2, 2026, about one every 9 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.4.1 latest | 2026-10-02 | b0e08b0 | 4,987 B | A | view · diff |
| v1.4.1 | 2026-09-17 | fc75cf8 | 5,263 B | A | view · diff |
| v1.4.0 | 2026-09-08 | 12dfa11 | 13,432 B | A | view · diff |
| v1.4.0 | 2026-08-12 | 229415e | 13,350 B | A | view · diff |
| v1.4.0 | 2026-08-12 | 9b10468 | 13,015 B | A | view · diff |
| v1.4.0 | 2026-08-09 | 24b3db3 | 12,824 B | A | view · diff |
| v1.4.0 | 2026-08-09 | c64a535 | 12,748 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4987 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
devskale/skale-skills · 2 stars · license none declared · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ol7hbmshofstocok GET https://markdownregistry.com/api/v1/resolve?ref=devskale/skale-skills/d2 GET https://markdownregistry.com/api/v1/blob/c4d1fe82009bc7cc5caab1809d1ec2ac9fa22a4d16fa89d0dd26e91c925db066
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.
More from devskale/skale-skills
Every file in devskale/skale-skills