Diagram Generator
luongnv89/skills
Generate a diagram and route to the right engine — draw.io XML (precise, editable, C4, swimlanes) or Excalidraw JSON (hand-drawn, sketch, wireframes).
Create and edit draw.io diagrams in the Pneuma Diagram workspace.
$ npx skills add pandazki/pneuma-skills --skill pneuma-diagram -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install pandazki/pneuma-skills pneuma-diagram --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/pandazki/pneuma-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/modes/diagram/skill .claude/skills/pneuma-diagram && rm -rf skills-srcUse ~/.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/
Install the "pneuma-diagram" agent skill from https://github.com/pandazki/pneuma-skills/tree/main/modes/diagram/skill into .claude/skills/pneuma-diagram/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pneuma-diagram", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/pandazki/pneuma-skills/tree/main/modes/diagram/skillType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add pandazki/pneuma-skills --skill pneuma-diagram -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install pandazki/pneuma-skills pneuma-diagram --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pandazki/pneuma-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/modes/diagram/skill .agents/skills/pneuma-diagram && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "pneuma-diagram" agent skill from https://github.com/pandazki/pneuma-skills/tree/main/modes/diagram/skill into .agents/skills/pneuma-diagram/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pneuma-diagram", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add pandazki/pneuma-skills --skill pneuma-diagram -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install pandazki/pneuma-skills pneuma-diagram --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pandazki/pneuma-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/modes/diagram/skill .cursor/skills/pneuma-diagram && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "pneuma-diagram" agent skill from https://github.com/pandazki/pneuma-skills/tree/main/modes/diagram/skill into .cursor/skills/pneuma-diagram/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pneuma-diagram", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/pandazki/pneuma-skills.git --path modes/diagram/skill--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add pandazki/pneuma-skills --skill pneuma-diagram -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install pandazki/pneuma-skills pneuma-diagram --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pandazki/pneuma-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/modes/diagram/skill .gemini/skills/pneuma-diagram && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "pneuma-diagram" agent skill from https://github.com/pandazki/pneuma-skills/tree/main/modes/diagram/skill into .gemini/skills/pneuma-diagram/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pneuma-diagram", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install pandazki/pneuma-skills pneuma-diagramInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add pandazki/pneuma-skills --skill pneuma-diagram -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/pandazki/pneuma-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/modes/diagram/skill .github/skills/pneuma-diagram && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "pneuma-diagram" agent skill from https://github.com/pandazki/pneuma-skills/tree/main/modes/diagram/skill into .github/skills/pneuma-diagram/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pneuma-diagram", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add pandazki/pneuma-skills --skill pneuma-diagram -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install pandazki/pneuma-skills pneuma-diagram --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pandazki/pneuma-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/modes/diagram/skill .opencode/skills/pneuma-diagram && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "pneuma-diagram" agent skill from https://github.com/pandazki/pneuma-skills/tree/main/modes/diagram/skill into .opencode/skills/pneuma-diagram/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pneuma-diagram", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
pneuma-diagramCreate and edit draw.io diagrams in the Pneuma Diagram workspace.
Pneuma Diagram is an agent skill from pandazki/pneuma-skills. Create and edit draw.io diagrams in the Pneuma Diagram workspace. Use for ANY task in this workspace. Defines the .drawio XML format, style strings, edge rules, and color palette.
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/style-reference.md` and `references/xml-reference.md`).
It sits in Development, covering Diagrams and Theming and dark mode. It works with draw.io. The repository describes itself as: Co-creation infrastructure for humans and code agents — visual environment, skills, continuous learning, and distribution. The licence is MIT.
10 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 0023d3c. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
curlFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use curl, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Pneuma Diagram loads about 2.2k tokens when it runs, and up to ~8.1k if it reads all its reference files. Until then it costs about 49 tokens; SKILL.md has 842 words of instructions outside code blocks.
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.
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.
The full file from pandazki/pneuma-skills at commit 0023d3c, republished under its MIT licence (© pandazki). 842 words, ~2,237 tokens.
.claude/skills/pneuma-diagram/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.You create and edit draw.io diagrams. The user sees a live preview that updates as you write .drawio files. Changes appear in real time during streaming — no confirmation needed.
The diagram canvas is the live surface where you and the user meet. Files (.drawio XML) are the source of truth; the viewer renders them and exposes a few channels for the user to point at things and for you to drive the canvas. Use these channels — don't ask the user to describe what they're looking at.
Before you respond, scan the latest user turn for two viewer-emitted blocks:
<viewer-context> — current canvas state. Carries the active .drawio file (workspace-relative path) and, when the user clicked a shape or edge to chat about it, the selected element (cell id, value, and style summary). Trust this over your own assumptions about what's open.<user-actions> — discrete events since the last turn (file switches, page changes, element selections). These are the breadcrumbs of what the user just did on the canvas.If the user says "this box" or "that arrow" without further context, it almost always refers to the selected element from <viewer-context> — Read that file and locate the cell by id before editing.
A ViewerAddress is the one JSON object that names "which object in the viewer" — shared by locator cards, the capture action, navigation, and selection reports. Diagram's address vocabulary:
| Key | Granularity | Meaning |
|---|---|---|
file | coarse | Workspace-relative path to the .drawio file. |
nodeId | fine | draw.io cell id of a single node / connector. Omit → the whole diagram. |
Selection reports it on the Address: line inside <viewer-context> — copy it verbatim back into a locator card.
After creating or substantially updating a diagram, embed a locator card so the user can jump to it from the chat. The viewer renders the card as a clickable chip that opens the diagram in the preview pane. The address attribute is a ViewerAddress JSON object.
Real example:
<viewer-locator label="Open architecture.drawio" address='{"file":"architecture.drawio"}' />For a multi-page diagram, one card opens the whole file; the user uses the viewer's page tabs to switch between <diagram> pages.
The viewer exposes one agent-callable action via POST $PNEUMA_API/api/viewer/action:
scaffold — Reset the active diagram to empty state. clearPatterns: ["(active file)"]. No params.Use it when the user asks for a clean slate on the current diagram (e.g. "start over", "clear this diagram"). The action wipes the .drawio file's content; you then write a fresh <mxfile> skeleton.
curl -X POST "$PNEUMA_API/api/viewer/action" \
-H "Content-Type: application/json" \
-d '{"action":"scaffold","params":{}}'After scaffold, write the new diagram with Write — don't expect the canvas to do anything until you save the file.
.drawio file can contain multiple <diagram> pages — the viewer shows tabs to switch between them. Use multiple pages for related diagrams on the same topic (e.g., overview + detail views). Each <diagram> must have a unique id and descriptive name.user-box, edge-api-db) — the user can click elements on the canvas, and selections come back via <viewer-context> keyed by id. Random ids like cell-1 make those references hard to reason about.Read the file first to preserve existing cell IDs and structure.<mxfile>
<diagram id="page-1" name="Page-1">
<mxGraphModel dx="0" dy="0" grid="1" gridSize="10"
math="0" shadow="0" adaptiveColors="auto">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="svc-1" value="Auth Service" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1"><mxGeometry x="100" y="100" width="140" height="60" as="geometry"/></mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>id="0" (root) and id="1" (default layer, parent="0") must always be the first two cells.parent="1" (or a container/group id)."server-1", "edge-api-db".vertex="1"; edges need edge="1" — mutually exclusive.<mxGeometry relative="1" as="geometry" /> — non-negotiable.<!-- --> in output.adaptiveColors="auto" on mxGraphModel for dark mode.&, <, >, ".compressed="true".Semicolon-separated key=value pairs, ending with ;. No spaces around = or ;.
rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;ellipse;, rhombus;, swimlane;0 or 1#RRGGBB, none, or defaultwhiteSpace=wrap;html=1; on vertices so labels wrap correctlyRounded rectangle:
<mxCell id="svc-1" value="Auth Service" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="100" y="100" width="140" height="60" as="geometry"/>
</mxCell>Diamond (decision):
<mxCell id="dec-1" value="OK?" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="300" y="90" width="120" height="80" as="geometry"/>
</mxCell>Database:
<mxCell id="db-1" value="PostgreSQL" style="shape=cylinder3;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="100" y="240" width="100" height="70" as="geometry"/>
</mxCell>Arrow (always expanded form):
<mxCell id="e-1" style="edgeStyle=orthogonalEdgeStyle;rounded=1;" edge="1" source="svc-1" target="db-1" parent="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>Labeled arrow:
<mxCell id="e-2" value="Yes" style="edgeStyle=orthogonalEdgeStyle;" edge="1" source="dec-1" target="svc-1" parent="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>Swimlane container (children use parent=container-id):
<mxCell id="lane-1" value="User Service" style="swimlane;startSize=30;" vertex="1" parent="1">
<mxGeometry x="100" y="100" width="300" height="200" as="geometry"/>
</mxCell>
<mxCell id="api-1" value="REST API" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="lane-1">
<mxGeometry x="20" y="50" width="120" height="60" as="geometry"/>
</mxCell>Coordinated fill/stroke pairs for consistent diagrams:
| Theme | fillColor | strokeColor | Use for |
|---|---|---|---|
| Blue | #dae8fc | #6c8ebf | Services, APIs, primary |
| Green | #d5e8d4 | #82b366 | Success, databases, storage |
| Yellow | #fff2cc | #d6b656 | Warnings, queues, buffers |
| Orange | #ffe6cc | #d79b00 | External systems, triggers |
| Red | #f8cecc | #b85450 | Errors, critical paths |
| Purple | #e1d5e7 | #9673a6 | Users, actors, auth |
| Gray | #f5f5f5 | #666666 | Infrastructure, neutral |
edgeStyle=orthogonalEdgeStyle for right-angle connectors (most common)exitX/exitY/entryX/entryY (values 0-1)<mxCell id="e1" style="edgeStyle=orthogonalEdgeStyle;" edge="1" parent="1" source="a" target="b">
<mxGeometry relative="1" as="geometry">
<Array as="points"><mxPoint x="300" y="150"/><mxPoint x="300" y="250"/></Array>
</mxGeometry>
</mxCell>Match all diagram labels to the user's language. If they write in Chinese, all text in the diagram should be Chinese.
For advanced topics, read these files when needed:
{SKILL_PATH}/references/xml-reference.md — XML structure, layers, metadata, dark mode, edge routing{SKILL_PATH}/references/style-reference.md — style properties, shapes, colors, HTML labels, shape library (AWS/Azure/GCP/K8s/UML/BPMN/ER)© pandazki, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (references) in modes/diagram/skill of pandazki/pneuma-skills.
Open the folder on GitHubat commit 0023d3c
Pneuma Diagram 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Pneuma Diagram this skillpandazki/pneuma-skills | 161 | — | ~2.2k | Automated safety check: Pass | MIT | |
| Diagram Generatorluongnv89/skills | 131 | — | ~2.2k | Automated safety check: Pass | MIT | |
| Diagram Designcathrynlavery/diagram-design | 49k | 1 repos | ~7.6k | Automated safety check: Pass | MIT | |
| Draw.io Diagram StudioAgents365-ai/drawio-skill | 10k | — | ~2.4k | Automated safety check: Notes | MIT | |
| Draw.io Diagram ReconstructionHKUSTDial/Supervisor-Skills | 8.8k | — | ~5.4k | Automated safety check: Pass | MIT | |
| Scibox Diagramjihe520/sci-box | 249 | 1 repos | ~983 | Automated safety check: Notes | None |
luongnv89/skills
Generate a diagram and route to the right engine — draw.io XML (precise, editable, C4, swimlanes) or Excalidraw JSON (hand-drawn, sketch, wireframes).
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.
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.
HKUSTDial/Supervisor-Skills
Rebuilds a reference diagram image as an editable, high-fidelity Draw.io file, mixing native elements, SVG icons and cropped PNGs, with a batch workflow for a folder of images.
jihe520/sci-box
制作与修改可编辑的 draw.io / diagrams.net 示意图(.drawio XML),产出 .drawio + PNG/PDF。三条路径:套用内置模板(五带技术路线图、三栏研究框架图、三栏阶段流程图、横版任务流水线图)、从零手写…
Will-hxw/drawio-diagram-builder
Create, edit, replicate, and iteratively refine editable research and technical diagrams in diagrams.net/draw.io (.drawio XML) from prompts, papers, repositories, screenshots, or existing diagrams.
pandazki/pneuma-skills
Explain something by writing it on a board. An agent skill from pandazki/pneuma-skills.
pandazki/pneuma-skills
AI-orchestrated video production on @pneuma-craft. An agent skill from pandazki/pneuma-skills.
pandazki/pneuma-skills
Pneuma Lucid Mode workspace guidelines. An agent skill from pandazki/pneuma-skills.
pandazki/pneuma-skills
Pneuma Plotwise workspace guidelines. An agent skill from pandazki/pneuma-skills.
pandazki/pneuma-skills
Pneuma Sprite Mode workspace guidelines. An agent skill from pandazki/pneuma-skills.
pandazki/pneuma-skills
Pneuma WebCraft Mode workspace guidelines with Impeccable.style design intelligence.
Works with
Categories
Create and edit draw.io diagrams in the Pneuma Diagram workspace. Pneuma Diagram is an agent skill from pandazki/pneuma-skills.io diagrams in the Pneuma Diagram workspace.
Pneuma Diagram fits situations like: ANY task in this workspace; tasks that involve Diagrams; tasks that involve Theming and dark mode.
Run `npx skills add pandazki/pneuma-skills --skill pneuma-diagram -a claude-code`. Or copy the skill folder (modes/diagram/skill in pandazki/pneuma-skills) into .claude/skills/pneuma-diagram in your project. Claude Code loads it when a task matches its description.
Run `npx skills add pandazki/pneuma-skills --skill pneuma-diagram -a codex`. Or copy the skill folder (modes/diagram/skill in pandazki/pneuma-skills) into .agents/skills/pneuma-diagram in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pandazki/pneuma-skills --skill pneuma-diagram -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pneuma-diagram, .gemini/skills/pneuma-diagram, .github/skills/pneuma-diagram and .opencode/skills/pneuma-diagram in your project.
Going by SKILL.md and its folder, Pneuma Diagram needs the command-line tools its instructions call (curl).
SKILL.md contains no URLs. Its commands use curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
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.
Pneuma Diagram is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.2k tokens (SKILL.md is roughly 8.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.8k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Pneuma Diagram: Diagram Generator (luongnv89/skills, 131 stars), Diagram Design (cathrynlavery/diagram-design, 49k stars), Draw.io Diagram Studio (Agents365-ai/drawio-skill, 10k stars) and Draw.io Diagram Reconstruction (HKUSTDial/Supervisor-Skills, 8.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
pandazki (a GitHub user) maintains it in pandazki/pneuma-skills, which has 161 GitHub stars. The repository holds 30 skills in this directory. The repository was last updated on October 9, 2026.
Source: pandazki/pneuma-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.