/diagrams:ascii-artfrom diagrams
Draws ASCII-art diagrams for software documentation using extended box-drawing characters (CP437). Enforces ≤80-char width and monospaced alignment.
Ships in diagrams. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Generate clean, professional ASCII art diagrams for software development documentation using extended ASCII box-drawing characters (Unicode codes 128–255, specifically the IBM PC Code Page 437 box-drawing set).
Use ONLY these box-drawing characters (ASCII codes > 128 from CP437):
┌ (218), ─ (196), ┐ (191), │ (179), └ (192), ┘ (217), ├ (195), ┤ (180), ┬ (194), ┴ (193), ┼ (197)╔ (201), ═ (205), ╗ (187), ║ (186), ╝ (188), ╚ (200), ╩ (202), ╦ (203), ╠ (204), ╣ (185), ╬ (206)░ (176), ▒ (177), ▓ (178), █ (219), ▄ (220), ▀ (223)Never use standard ASCII (+, -, |, /) for box edges — only the extended characters above.
Must render in monospaced fonts only (terminal, VS Code, code editors).
Maximum width: 80 characters (fits standard terminal/code comments).
Never use emojis — strictly forbidden. No emoji (or any other wide / double-width / pictographic glyph) anywhere in the diagram: not in borders, not in labels, not inside boxes. Emojis render as two cells in most terminals and silently break column alignment. Use plain ASCII (codes 0–127) for all text and the box-drawing set above for structure.
SINGLE LINE:
┌ (218) ─ (196) ┐ (191) │ (179) └ (192) ┘ (217)
├ (195) ┤ (180) ┬ (194) ┴ (193) ┼ (197)
DOUBLE LINE:
╔ (201) ═ (205) ╗ (187) ║ (186) ╝ (188) ╚ (200)
╠ (204) ╣ (185) ╦ (203) ╩ (202) ╬ (206)
SHADING:
░ (176) ▒ (177) ▓ (178) █ (219)
Choose one:
Use single-line for primary boxes, double-line for highlighted/outer containers:
SINGLE-LINE BOX (component):
┌────────────┐
│ Label │
└────────────┘
DOUBLE-LINE BOX (system/container):
╔════════════════╗
║ System Name ║
╚════════════════╝
Use horizontal/vertical lines with proper junctions:
HORIZONTAL CONNECTION:
┌─────┐ ──────── ┌─────┐
│ Box │ │ Box │
└─────┘ ──────── └─────┘
VERTICAL CONNECTION:
┌──────┐
│ Box │
│ (179)│
│ (179)│
└──┬───┘
│ (179)
┌──┴──┐
│ Box │
└─────┘
JUNCTIONS (use correct corner):
├ (195) = vertical + right
┤ (180) = vertical + left
┬ (194) = horizontal + down
┴ (193) = horizontal + up
┼ (197) = cross (all 4 directions)
Arrows:
──▶ (use ─ (196) + ▶)
├───▶
│
▼
┌───┐
Validate connector alignment with the bundled checker (self-contained, no network):
scripts/ascii-connector-check.sh diagram.txt # or: cat diagram.txt | scripts/ascii-connector-check.sh
It flags any connector whose open end has nothing to attach to — dangling ends, off-by-one shifts,
lines running into text, and line-weight mismatches — printing the line, column, glyph, and reason.
The connection rules it enforces are in references/connector-rules.md; sample diagrams and a
self-test suite live in resources/ (run resources/run-tests.sh).
╔═══════════════════════════════════════════╗
║ Microservices System ║
╠═══════════════════════════════════════════╣
║ ┌──────────┐ ┌────────────┐ ║
║ │ Client │ ───▶ │ API Gateway│ ║
║ └──────────┘ └────┬───────┘ ║
║ │ (179) ║
║ ┌──────────┼───────────┐ ║
║ │ │ │ ║
║ ┌────▼────┐ ┌───▼────┐ ┌────▼───┐ ║
║ │Service A│ │ServiceB│ │ServiceC│ ║
║ └────┬────┘ └───┬────┘ └────┬───┘ ║
║ │ │ │ ║
║ └──────────┼───────────┘ ║
║ │ (179) ║
║ ┌────▼─────┐ ║
║ │ Database │ ║
║ └──────────┘ ║
╚═══════════════════════════════════════════╝
┌────────┐ ┌────────┐ ┌────────┐ ┌────────┐
│ Node 1 │──│ Node 2 │──│ Node 3 │──│ Node 4 │
│ val:5 │ │ val:12 │ │ val:7 │ │ val:3 │
└───┬────┘ └───┬────┘ └───┬────┘ └───┬────┘
└───────────┴───────────┴───────────┘
(next pointers)
┌──────────┐ HTTP/JSON ┌──────────────┐
│ Client │ ─────────────────▶│ API Gateway │
│ (Browser)│ └──────┬───────┘
└──────────┘ │
│ (179)
┌───────▼───────┐
│ Auth Service │
└───────┬───────┘
│ (179)
┌───────▼───────┐
│ User Database │
└───────────────┘
Before finalizing, verify:
+, -, |) for box edges| ❌ Wrong | ✅ Right |
|---|---|
+------+ | ┌──────┐ |
| text | | │ text │ |
----> | ───▶ |
| Width 100+ | Width ≤ 80 |
| Mixed fonts | Monospaced only |
| Emoji in labels (🎉 ✅ ⚠) | Plain ASCII text only |
chcp 65001 for UTF-8.?, your terminal font doesn't support CP437/Unicode box drawing.Now create your ASCII art diagram following these instructions. Start by defining the diagram's purpose, then build it step-by-step using ONLY the characters from the reference table.
references/connector-rules.md (opens in a new tab)resources/README.md (opens in a new tab)resources/fixtures/invalid-bare-equals.txt (opens in a new tab)resources/fixtures/invalid-emoji.txt (opens in a new tab)resources/fixtures/invalid-into-text.txt (opens in a new tab)resources/fixtures/invalid-offbyone.txt (opens in a new tab)resources/fixtures/invalid-wall-attach.txt (opens in a new tab)resources/fixtures/invalid-weight-mismatch.txt (opens in a new tab)resources/fixtures/label-hyphen.txt (opens in a new tab)resources/fixtures/valid-arrow-in-border.txt (opens in a new tab)resources/fixtures/valid-arrow-in-double-border.txt (opens in a new tab)resources/fixtures/valid-arrows.txt (opens in a new tab)resources/fixtures/valid-ascii-cross.txt (opens in a new tab)resources/fixtures/valid-double-box.txt (opens in a new tab)resources/fixtures/valid-label-punct.txt (opens in a new tab)resources/fixtures/valid-single-box.txt (opens in a new tab)resources/fixtures/valid-tee-junctions.txt (opens in a new tab)resources/run-tests.sh (opens in a new tab)scripts/ascii-connector-check.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ascii-art, text-diagrams, box-drawing, documentation-diagrams
npx claudepluginhub florianbuetow/claude-code --plugin diagrams4 skills in this plugin
/diagramsRouter for the diagrams plugin — pick the right diagram format and dispatch to its skill. Routes to ascii-art (text/box-drawing diagrams), mermaid (flowcharts, sequence, class, state, ER, gantt), or wardley (Wardley maps in markdown). Use when the user says "draw a diagram", "diagram this", "make a chart", "visualize this as a diagram", "ascii diagram", "mermaid diagram", or "wardley map"./mermaiddiagrams:mermaidProduce a Mermaid diagram (flowchart, sequence, class, state, ER, gantt, pie, mindmap) inside a ```mermaid fenced code block for rendering in Markdown, docs, or the GitHub/GitLab viewer. Use when the user asks for a mermaid diagram, a flowchart/sequence/class/state/ER/gantt diagram, or a diagram to embed in Markdown./wardleydiagrams:wardleyProduce a Wardley map in the WTG2 DSL (wardleyToGo) as a .wtg2 file that renders to SVG via wtg2svg — anchors (user needs), components positioned by value chain (visibility) and evolution (roman numerals I–IV), dependencies, movement, inertia, build/buy/outsource, signals, gameplays, and groups. Use when the user asks for a Wardley map, strategic map, or value-chain map.Other plugins' skills for the same job