Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/jgraph/drawio-mcp/claude-mdgit clone --depth 1 https://github.com/jgraph/drawio-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/jgraph/drawio-mcp/claude-md)<a href="https://agentmods.dev/instructions/jgraph/drawio-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/jgraph/drawio-mcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.03005 | $0.03005 |
| Opus 5 | $0.01503 | $0.01503 |
| Sonnet 5 | $0.00601 | $0.00601 |
| Haiku 4.5 | $0.00300 | $0.00300 |
Grade A, and why
drawio-mcp CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Draw.io MCP Server
The official draw.io MCP (Model Context Protocol) server that enables LLMs to open and create diagrams in the draw.io editor.
Repository Structure
.claude-plugin/marketplace.json— Claude Code plugin marketplace manifest. Lists this repo's plugins (currently justdrawio, sourced from./plugins/claude-code); plugin metadata is inherited from each plugin's ownplugin.json. Users install with/plugin marketplace add jgraph/drawio-mcpthen/plugin install drawio@drawio..agents/plugins/marketplace.json— Codex CLI plugin marketplace manifest (Codex's format:sourceobject +policy+category). Lists thedrawioplugin sourced from./plugins/codex/drawio; metadata is inherited from that plugin's own.codex-plugin/plugin.json. Users install withcodex plugin marketplace add jgraph/drawio-mcpthencodex plugin add drawio@drawio..github/plugin/marketplace.json— GitHub Copilot CLI plugin marketplace manifest (same schema family as Claude's, but plugin metadata is inlined in theplugins[]entry rather than inherited — keep it in sync withplugins/copilot/plugin.json). Lists thedrawioplugin sourced from./plugins/copilot. Users install withcopilot plugin marketplace add jgraph/drawio-mcpthencopilot plugin install drawio@drawio. Copilot CLI checks this path first and falls back to.claude-plugin/marketplace.json.shared/— Shared XML generation reference (xml-reference.md), the single source of truth for all LLM prompts.mcp-app-server/— MCP App server (renders diagrams inline in chat via iframe). Hosted athttps://mcp.draw.io/mcp. Can also be self-hosted via Node.js or Cloudflare Workers. Itsserver.jsonis the MCP Community Registry manifest (io.draw/mcp— feeds github.com/mcp and VS Code's MCP browser); publish runbook in its README.mcp-tool-server/— Original MCP tool server (stdio-based, opens browser). Published as@drawio/mcpon npm.project-instructions/— Claude Project instructions (no MCP required, no install).plugins/— Assistant-side plugins grouped by host, one subdirectory per AI assistant.plugins/claude-code/— Claude Code plugin: ships thedrawioskill (generates native.drawiofiles, authored as Mermaid — converted + laid out by the desktop CLI — or as XML directly with optional ELK--layout; exports to PNG/SVG/PDF, or opens as a browser URL viaapp.diagrams.net). Mermaid conversion, ELK layout, and image export need draw.io Desktop; plain XML.drawio/urloutput does not. Installable via the repo-root marketplace orclaude --plugin-dir ./plugins/claude-code. No MCP required.plugins/codex/drawio/— Codex CLI plugin: the Codex port of the Claude Code plugin, shipping the samedrawioskill.skills/drawio/SKILL.mdis byte-identical to the Claude plugin's copy (Codex uses the same/drawio:drawioinvocation and fetches the same shared references from GitHub). Differs only in host wrapping: a.codex-plugin/plugin.jsonmanifest with aninterfaceblock (official draw.io SVG logo,brandColor, default prompts). Nested undercodex/because Codex requires the plugin root folder name to equalplugin.json"name"(drawio). No MCP required.plugins/copilot/— GitHub Copilot CLI plugin: the Copilot port of the Claude Code plugin, shipping the samedrawioskill.skills/drawio/SKILL.mdis byte-identical to the Claude plugin's copy (the in-skill/drawio:drawioexample lines are model-facing; Copilot's user-facing command is plain/drawiosince Copilot doesn't prefix plugin skills). Differs only in host wrapping: a rootplugin.jsonmanifest (Copilot's format,skillsdirectory list); no folder-name rule, socopilot/is itself the plugin root. The same skill folder also works in other Copilot surfaces (VS Code agent mode, coding agent, code review) when copied to a repo's.github/skills/. No MCP required.
shape-search/— Shape search index generator. Loads draw.io'sapp.min.jsvia jsdom to extract all shape styles and tags intosearch-index.json, which powers thesearch_shapesMCP tool. Re-run after updatingdrawio-devto pick up new or changed shapes.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 165 lines · 3,005 tokens per session scan A 878d5e88ca79
drawio-mcp CLAUDE.md is an instructions file published in the GitHub repository jgraph/drawio-mcp (5,332 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 3,005 tokens to every session, about $0.0150 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
next.js AGENTS.md
Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.