Borrowing it
Nothing to install: this file belongs to maaker-ai/excalidraw-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/maaker-ai/excalidraw-mcp/main/CLAUDE.mdgit clone --depth 1 https://github.com/maaker-ai/excalidraw-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/maaker-ai/excalidraw-mcp/claude-md)<a href="https://agentmods.dev/instructions/maaker-ai/excalidraw-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/maaker-ai/excalidraw-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/maaker-ai/excalidraw-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/maaker-ai/excalidraw-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.01544 | $0.01544 |
| Opus 5 | $0.00772 | $0.00772 |
| Sonnet 5 | $0.00309 | $0.00309 |
| Haiku 4.5 | $0.00154 | $0.00154 |
Grade A, and why
excalidraw-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 9d 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 — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Excalidraw MCP Server
Maaker.AI 开源 MCP Server,用自然语言生成 Excalidraw 图表
快速命令
# 开发
uv sync --dev
uv run pytest # 运行测试(200+ tests)
uv run excalidraw-mcp # 本地启动 MCP server
# 构建 & 发布(手动)
uv build # 构建到 dist/
uv publish --token <PYPI_TOKEN> # 发布到 PyPI
自动发布到 PyPI
- 触发方式:在 GitHub 创建 Release(打 tag)
- 工作流:
.github/workflows/publish.yml - 认证方式:PyPI Trusted Publisher(无需 token)
- PyPI 项目:https://pypi.org/project/maaker-excalidraw-mcp/
发版流程
- 更新
pyproject.toml中的version - 提交并推送到 main
- 创建 tag:
git tag v0.x.0 && git push origin --tags - 必须创建 GitHub Release:
gh release create v0.x.0 --title "v0.x.0" --notes "..." - GitHub Actions 自动构建并发布到 PyPI
⚠️ 踩坑记录:只 push tag 不会触发发布!workflow 触发条件是
on: release: types: [published],必须通过gh release create或 GitHub 网页创建 Release 才能触发。v0.4.0 就因为只 push tag 没创建 Release 导致未发布到 PyPI。
Trusted Publisher 配置(已完成)
PyPI 端配置:Owner=maaker-ai, Repo=excalidraw-mcp, Workflow=publish.yml, Environment=pypi
包信息
| 项目 | 值 |
|---|---|
| PyPI 包名 | maaker-excalidraw-mcp |
| 入口命令 | excalidraw-mcp |
| GitHub | maaker-ai/excalidraw-mcp |
| 安装方式 | claude mcp add excalidraw -- uvx maaker-excalidraw-mcp |
目录结构
src/excalidraw_mcp/
├── server.py # MCP server 入口,注册 25+ tools
├── elements/ # Excalidraw 元素生成
│ ├── text.py # 文本 + 带标签的形状(CJK 宽度估算,多行支持,字体族)
│ ├── arrows.py # 箭头(fixedPoint + orbit,边标签,肘形路由)
│ ├── shapes.py # 矩形、椭圆、菱形
│ ├── lines.py # 共享线段工具
│ ├── groups.py # 分组框架(虚线背景矩形 + 标签)
│ └── style.py # 8 色基础 + 30+ 技术品牌色
├── layout/ # 布局引擎
│ ├── sugiyama.py # Sugiyama 分层布局(grandalf)— 流程图主引擎
│ └── grid.py # 网格/分层布局 — 架构图使用
├── tools/ # MCP 工具定义(25+ 图表类型)
│ ├── flowchart.py # 流程图(形状/分组/边标签/线型)
│ ├── architecture.py # 分层架构图
│ ├── sequence.py # UML 时序图
│ ├── mindmap.py # 树形思维导图
│ ├── er_diagram.py # ER 实体关系图
│ ├── class_diagram.py # UML 类图
│ ├── state_diagram.py # UML 状态机
│ ├── timeline.py # 时间线/甘特图
│ ├── pie_chart.py # 饼图
│ ├── bar_chart.py # 柱状图
│ ├── line_chart.py # 折线图(多系列/标记/图例)
│ ├── radar.py # 雷达/蛛网图
│ ├── table.py # 网格表格
│ ├── kanban.py # 看板
│ ├── network.py # 网络拓扑
│ ├── quadrant.py # 四象限矩阵
│ ├── user_journey.py # 用户旅程图
│ ├── wireframe.py # UI 线框图
│ ├── org_chart.py # 组织架构图
│ ├── swot.py # SWOT 分析
│ ├── decision_tree.py # 决策树
│ ├── mermaid.py # Mermaid 导入(flowchart/sequence/class/state/pie)
│ ├── unified.py # 统一路由 create_diagram
│ ├── help.py # 图表类型列表
│ ├── modify.py # 修改已有图表
│ ├── read.py # 读取图表
│ └── export.py # SVG 导出
└── utils/
├── file_io.py # save/load .excalidraw 文件
├── ids.py # gen_id() 共享 ID 生成器
└── svg_export.py # SVG 导出
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.
- 9d ago First seen · 115 lines · 1,544 tokens per session scan A 96b7ec4424e0
excalidraw-mcp CLAUDE.md is an instructions file published in the GitHub repository maaker-ai/excalidraw-mcp (3 stars, last pushed 1mo ago), licensed MIT. It adds 1,544 tokens to every session, about $0.0077 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-31.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
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.
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).
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).
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.
deepseek-harness AGENTS.md
AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.