Skills Prompts Hues

Popular categories

Agent skill · drawio-skill

/drawio-skill Turn prompts and real sources into editable draw.io diagrams

drawio-skill routes each diagram request to the right method: hand-written XML for precise styling, Mermaid conversion for standard chart types, automatic layout for large graphs, or importers for code, infrastructure and schemas. The agent validates the file, exports a draft PNG, fixes visible defects, and only produces final exports after you approve. Its diagramctl CLI also syncs, queries, tests and reviews existing diagrams.

Works with

  • Claude Code, Cursor, Copilot and other agents
  • Claude Code

Used forDiagrams and codebase maps

When to use it

  • You need an architecture, ER, sequence, BPMN or network diagram that colleagues can open and edit in draw.io.
  • You want a diagram generated from Terraform, Kubernetes manifests, SQL DDL, OpenAPI or a codebase's imports.
  • An existing generated diagram must be updated after the source changed, without losing hand-tuned positions.

How it works

  1. 1
    Infer the request

    The agent works out diagram type, audience, scope and output, asking only when a missing choice changes the result, and defaults to PNG plus .drawio.

  2. 2
    Choose the route

    It uses an importer or autolayout.py for data-backed or large graphs and avoids hand-placing more than about fifteen nodes.

  3. 3
    Validate

    It runs validate.py with a score, and diagramctl test when an architecture policy applies, without presenting inferred findings as verified facts.

  4. 4
    Check the draft

    It exports a PNG without embedded XML, fixes overlap, clipping and stray edges, and stops automatic repair after two rounds.

  5. 5
    Finish

    After you approve, it creates the requested final formats and reports the paths of both the editable source and the exports.

What it steers the agent away from

  • Guessing shape names for cloud or vendor icons
  • Overwriting manual geometry and styles during local edits or syncs
  • Putting secrets into node properties that end up in exported files

Install this skill

It installs with the drawio-skill pack.

Claude Code, Cursor, Copilot and other agentsGlobal install through the skills CLI; update later with npx skills update drawio-skill -g.
npx skills add Agents365-ai/drawio-skill -g
Claude Code (manual link)Links only the skills/drawio-skill subfolder; use cp -R instead of ln -s if your host ignores symlinks.
mkdir -p ~/src
git clone https://github.com/Agents365-ai/drawio-skill.git ~/src/drawio-skill
mkdir -p ~/.claude/skills
ln -s ~/src/drawio-skill/skills/drawio-skill ~/.claude/skills/drawio-skill

Commands come from the author’s README; check it for changes before you run them.

Questions

Will the agent load it automatically?

Its frontmatter sets disable-model-invocation to true, so in Claude Code you start it yourself by name rather than relying on automatic loading.

What if the draw.io CLI is missing?

Core IR, sync, query, test and review commands need only Python 3; for previews the skill can fall back to a diagrams.net URL or deliver the XML.

Summary by trendhub. The skill itself lives in Agents365-ai/drawio-skill/skills/drawio-skill by Agents365.ai (MIT); read the full, current text there.