AGENT SKILL

next-ai-drawio

Create, edit, and export draw.io diagrams via CLI with real-time browser preview. Use when user needs to create flowcharts, diagrams, or edit mxGraphModel XML diagrams.

License 许可
MIT
最近更新
2026-04-13
Stars
★ 2
Forks
0

01 前言 Front Matter

name
next-ai-drawio
description
Create, edit, and export draw.io diagrams via CLI with real-time browser preview. Use when user needs to create flowcharts, diagrams, or edit mxGraphModel XML diagrams.
generated_at
2026-04-06T08:44:27.228580+00:00
source_version
0.1.2
source_cli_hash
43de5f35

02 资源文件 2

03 SKILL.md 正文

next-ai-drawio (via mcp2cli)

Create and manage draw.io diagrams via CLI with live browser preview.

Shortcuts

  • mcp2cli drawio <cmd> (alias for next-ai-drawio)

Commands

Session

Command Description Example Ref
mcp2cli drawio session start Start diagram session and open browser for live preview mcp2cli drawio session start ref

Diagram

Command Description Example Ref
mcp2cli drawio diagram create Create a new diagram from mxGraphModel XML mcp2cli drawio diagram create --xml '<mxGraphModel>...</mxGraphModel>' ref
mcp2cli drawio diagram get Get the current diagram XML from browser mcp2cli drawio diagram get ref
mcp2cli drawio diagram edit Edit diagram by ID-based cell operations (add/update/delete) ref
mcp2cli drawio diagram export Export diagram to file (.drawio/.png/.svg) mcp2cli drawio diagram export --path ./diagram.png ref

Discover Parameters

Append --help to any command for full parameter list:

mcp2cli drawio diagram create --help

Note: Use Ref links in the Commands table above to view detailed parameter reference and more examples.

User Notes

MUST READ users/skill.md for custom workflows and tips. Config: MCP server settings live in ~/.agents/mcp2cli/servers.yaml - edit there to take effect.

04 同仓库更多 Skills