AI Assistant Plugins

July 16, 2026 · View on GitHub

This directory groups assistant-side integrations by host — one subdirectory per AI assistant. Each subdirectory is the plugin root for its host, packaging the draw.io skill in whatever format that host expects (manifest schema, file layout, invocation convention).

DirectoryHostStatus
claude-code/Claude Code✅ Available
codex/drawio/Codex CLI✅ Available

Each host has its own marketplace manifest at the repo root, so users install with that host's own commands.

Claude Code — via .claude-plugin/marketplace.json:

/plugin marketplace add jgraph/drawio-mcp
/plugin install drawio@drawio

Codex — via .agents/plugins/marketplace.json:

codex plugin marketplace add jgraph/drawio-mcp
codex plugin add drawio@drawio

Adding a plugin for another host

Support for a new assistant lands as a sibling directory at this level:

plugins/
├── claude-code/             ← Claude Code plugin (plugin root)
└── codex/                   ← Codex host group
    └── drawio/              ← Codex plugin root (folder name == plugin.json "name")

Codex normalizes a plugin's root folder name to match its plugin.json "name", so the Codex plugin root is nested one level (codex/drawio/) inside the host group directory; Claude Code has no such rule, so claude-code/ is itself the plugin root. If another assistant (Cursor, etc.) is added later, it follows the same pattern in its own way.

The draw.io guidance itself — how to generate .drawio files, embed XML in PNG/SVG/PDF, and produce app.diagrams.net URLs — is shared. Only the wrapping (manifest format, file layout, invocation prefix) differs per host, and each host has its own plugin/skill model, so the wrapping is not assumed to be uniform.

The single source of truth for draw.io XML generation guidance lives at ../shared/xml-reference.md — every plugin references that file rather than duplicating its contents.

Other delivery mechanisms in this repo

Plugins are one of four ways to integrate draw.io with AI assistants. See the root README for the full comparison with the MCP App Server, MCP Tool Server, and Claude Project Instructions approaches.