drawio
Create, generate, or design diagrams, flowcharts, architecture diagrams, ER diagrams, sequence diagrams, class diagrams, network diagrams, or any visual…
Skill by djmittens
Chalk Labs
Need help deploying drawio?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/djmittens-drawio
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, design
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/drawio
What's inside
- Skill name
drawio- Description
- Create, generate, or design diagrams, flowcharts, architecture diagrams, ER diagrams, sequence diagrams, class diagrams, network diagrams, or any visual diagram using draw.io. Produces native .drawio files with optional PNG/SVG/PDF export (with embedded XML so exports remain editable in draw.io).
- License
- Apache-2.0
- Compatibility
- Requires Python 3.10+ and `npx draw.io-export` on PATH
- Metadata
- system: drawio · category: diagramming · upstream: https://github.com/jgraph/drawio-mcp/tree/main/skill-cli
- Instructions
- 72 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (2)
- SKILL.md
- drawio.py · scripts/
SKILL.md (first lines)
# Draw.io Diagram Skill
Create and edit draw.io diagrams using `scripts/drawio.py`. The script handles PNG export (via `npx draw.io-export`) and embeds the source XML into the PNG as a zTXt chunk, so the file is both viewable as an image and editable in draw.io.
**Data privacy:** Everything runs locally. No diagram data is sent to any external server.
## Script Usage
```bash
# Create a new diagram from XML
uv run scripts/drawio.py create --xml '<mxGraphModel>...</mxGraphModel>' -o diagram.drawio.png
uv run scripts/drawio.py create --xml-file diagram.xml -o diagram.drawio.png
# Extract XML from an existing .drawio.png
uv run scripts/drawio.py read diagram.drawio.png
# Update an existing .drawio.png with new XML
uv run scripts/drawio.py update --xml '<mxGraphModel>...</mxGraphModel>' diagram.drawio.png
uv run scripts/drawio.py update --xml-file updated.xml diagram.drawio.png
```
XML can also be piped via stdin (omit `--xml` and `--xml-file`).
## Workflow
### Creating a new diagram
1. Generate draw.io mxGraphModel XML for the requested diagram
2. Write XML to a temp file (or pass via `--xml`)
3. Run: `uv run scripts/drawio.py create --xml-file tmp.xml -o diagram.drawio.png`
4. The script writes a `.drawio` file, exports to PNG, embeds XML into the PNG, and cleans up
### Editing an existing diagram
1. Extract current XML: `uv run scripts/drawio.py read diagram.drawio.png`
2. Modify the XML as needed
3. Write it back: `uv run scripts/drawio.py update --xml-file updated.xml diagram.drawio.png`
### Review loop
After creating or updating, show the resulting PNG to the user. If they request changes, read + update to iterate.
## XML format
A `.drawio` file is mxGraphModel XML. Always generate XML directly -- never Mermaid or CSV.
### Basic structure
```xml
<mxGraphModel adaptiveColors="auto">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
</root>
</mxGraphModel>
```
- Cell `id="0"` is the root layer, `id="1"` is the default parent
- All diagram elements use `parent="1"` unless inside a container
## XML reference
For the complete draw.io XML reference (styles, edge routing, containers, layers, tags, metadata, dark mode), fetch:
https://raw.githubusercontent.com/jgraph/drawio-mcp/main/shared/xml-reference.md
## CRITICAL rules
- **NEVER include XML comments** (`<!-- -->`) in diagram XML
- Escape special characters: `&`, `<`, `>`, `"`
- Use unique `id` values for each `mxCell`
- Every edge must have a child: `<mxGeometry relative="1" as="geometry" />`
- Use `html=1` in styles when labels contain HTML tags
- Use `
` or `<br>` for line breaks, never `\n`From djmittens/neo-mittens, Apache-2.0.
More from djmittens/neo-mittens
- 0.479score
jira
djmittens
Manage Jira issues, sprints, and boards.
SkillCFreshness: CClaude Code +9 - 0.473score
ralph-config
djmittens
Configure Ralph user-level settings - model selection, profiles, timeouts, context limits
SkillCFreshness: CClaude Code +9 - 0.473score
tix
djmittens
Use the tix CLI for git-based ticket management - tasks, issues, notes with plan.jsonl compatibility
SkillCFreshness: CClaude Code +9 - 0.473score
google-docs
djmittens
Google Workspace: Docs, Sheets, Slides, Drive, Gmail, Calendar — portable Python scripts using gcloud ADC auth
SkillCFreshness: CClaude Code +9 - 0.470score
ddg-search
djmittens
Search the web using DuckDuckGo -- no API key required
SkillCFreshness: CClaude Code +9 - 0.469score
circleci
djmittens
Fetch CircleCI build results, test failures, artifacts, and job logs to debug CI/CD issues on PRs
SkillCFreshness: CClaude Code +9 - 0.469score
tsan
djmittens
Handle ThreadSanitizer output - redirect to files, summarize races, avoid context flooding
SkillCFreshness: CClaude Code +9 - 0.463score
ralph-spec
djmittens
Write Ralph specification documents - structured feature specs with clear requirements, acceptance criteria, and implementation guidance for autonomous task…
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 19, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/djmittens/neo-mittens
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from djmittens
- 0.479score
jira
djmittens
Manage Jira issues, sprints, and boards.
SkillCFreshness: CClaude Code +9 - 0.473score
ralph-config
djmittens
Configure Ralph user-level settings - model selection, profiles, timeouts, context limits
SkillCFreshness: CClaude Code +9 - 0.473score
tix
djmittens
Use the tix CLI for git-based ticket management - tasks, issues, notes with plan.jsonl compatibility
SkillCFreshness: CClaude Code +9 - 0.473score
google-docs
djmittens
Google Workspace: Docs, Sheets, Slides, Drive, Gmail, Calendar — portable Python scripts using gcloud ADC auth
SkillCFreshness: CClaude Code +9 - 0.470score
ddg-search
djmittens
Search the web using DuckDuckGo -- no API key required
SkillCFreshness: CClaude Code +9 - 0.469score
circleci
djmittens
Fetch CircleCI build results, test failures, artifacts, and job logs to debug CI/CD issues on PRs
SkillCFreshness: CClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get drawio running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
drawio skill. Agent Mart. https://agentmart.dev/skills/djmittens-drawio (last updated 2026-10-24)