pneuma-diagram
Skill by pandazki
Creates and edits draw.io diagrams in the Pneuma Diagram workspace. It gives the assistant the .drawio XML format, style strings, edge rules and a color palette. Built for users who want a live diagram preview while the assistant writes.
Install pneuma-diagram
Built from the published package, never by AI.
git clone --depth 1 https://github.com/pandazki/pneuma-skills /tmp/pneuma-skills && mkdir -p ~/.claude/skills && cp -r /tmp/pneuma-skills/modes/diagram/skill ~/.claude/skills/pneuma-diagramRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/pandazki/pneuma-skills /tmp/pneuma-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/pneuma-skills/modes/diagram/skill ~/.gemini/antigravity-cli/skills/pneuma-diagramAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The pneuma-diagram skill lets an AI assistant create and edit draw.io diagrams inside the Pneuma Diagram workspace. The user sees a live preview that updates as the assistant writes .drawio files, and changes appear in real time during streaming. The skill defines the .drawio XML structure, style strings, edge rules, layout guidance and a coordinated color palette so the assistant can produce consistent diagrams.
The viewer shares canvas state with the assistant through viewer-context and user-actions blocks, so a request like "this box" can be matched to the selected cell. A single file can hold several diagram pages, and the assistant can embed clickable locator cards and reset a diagram with a scaffold action. The skill suits people who draw diagrams with an AI assistant in this workspace. It asks that diagram labels match the user's language.
Written from the project's SKILL.md and checked against it.
What it can do
- Live diagram editingWrites .drawio files that the viewer renders in real time while the assistant streams.
- Multi-page diagramsPuts several related diagram pages in one file, each with a unique id and name.
- Stable cell IDsUses descriptive cell ids so selections on the canvas can be referenced later.
- Locator cardsEmbeds clickable chips that open the diagram in the preview pane.
- Scaffold actionResets the active diagram to an empty state through the viewer API.
- Style strings and shapesDefines style syntax and shapes such as rhombus, cylinder and swimlane containers.
- Edge rulesSets orthogonal connectors, waypoints and exit and entry points for edges.
- Color paletteLists seven fill and stroke pairs for services, databases, errors and other roles.
- Shape librariesReferences AWS, Azure, GCP, Kubernetes, UML, BPMN and ER shapes in a separate file.
What you need
- A Pneuma Diagram workspace
- PNEUMA_API environment variable for the scaffold action
Try asking
- Draw an architecture diagram with an API service, a database and a queue.
- Add a decision diamond with labeled Yes and No arrows to this flow.
- Clear this diagram and start an overview page with a detail page.
Good to know
- Writes uncompressed .drawio XML only, never compressed files.
- The scaffold action wipes the content of the active diagram file.
- Existing cell IDs should be preserved when editing a diagram.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: modes/diagram/skill/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to pneuma-diagram
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
pneuma-diagram: common questions
Does the diagram update while the assistant works?
Yes. The source says changes appear in real time during streaming and need no confirmation.
Which diagram format does it use?
It writes uncompressed .drawio XML using an mxfile and mxGraphModel structure, as defined in the skill.
Can one file contain several diagrams?
Yes. A .drawio file can hold multiple diagram pages, and the viewer shows them as tabs.
How do I install pneuma-diagram?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is pneuma-diagram free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is pneuma-diagram safe to use?
It scores 64 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to pneuma-diagram?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
