excalidraw
Skill by ooiyeefei
Generates architecture diagrams as .excalidraw files from codebase analysis, with optional PNG and SVG export. Aimed at developers who want diagrams of their project's structure.
Install excalidraw
Built from the published package, never by AI.
git clone --depth 1 https://github.com/ooiyeefei/ccc /tmp/ccc && mkdir -p ~/.claude/skills && cp -r /tmp/ccc/skills/excalidraw ~/.claude/skills/excalidrawRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/ooiyeefei/ccc /tmp/ccc && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ccc/skills/excalidraw ~/.gemini/antigravity-cli/skills/excalidrawAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Excalidraw is an agent skill that generates architecture diagrams as .excalidraw files directly from codebase analysis. The assistant looks for components such as services, databases, APIs and frontends, maps their relationships and data flows, and writes valid Excalidraw JSON with dynamic IDs and labels. The source says it works with any language or framework and does not require existing diagrams or Terraform.
After the file is written, the skill can optionally export the diagram to PNG and SVG using Playwright MCP tools and @excalidraw/utils, without a manual upload to excalidraw.com. It is aimed at developers who want diagrams of a project, such as system or architecture diagrams saved under docs/architecture/. The source describes it for Claude Code.
Written from the project's SKILL.md and checked against it.
What it can do
- Codebase analysisDiscovers components, services, databases, APIs and relationships by searching and reading project files.
- Excalidraw file generationWrites valid .excalidraw JSON with dynamic IDs and labels.
- Layout planningPlans a vertical or other layout with rows, columns and element sizes before generating shapes.
- Connection routingAdds arrows for data flows and dependencies, with elbow routing that starts and ends at shape edges.
- GroupingAdds optional dashed boundary rectangles with labels to group related components.
- ValidationRuns a validation checklist on the diagram before writing the file.
- PNG and SVG exportOptionally renders the diagram to PNG and/or SVG using Playwright MCP tools and @excalidraw/utils.
What you need
- Playwright MCP tools (browser_navigate, browser_run_code, browser_close) for PNG and SVG export
- @excalidraw/utils for PNG and SVG export
- Claude Code as the assistant the source describes
Try asking
- Generate an architecture diagram for this project
- Create an excalidraw diagram of the system
- Visualize this codebase as an excalidraw file
Good to know
- PNG and SVG export requires Playwright MCP tools and @excalidraw/utils.
- Diamond shapes are not used because arrow connections are broken in raw Excalidraw JSON.
- Labels must be built from two elements, since the label property does not work in raw JSON.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/excalidraw/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
README.md3 KB -
SKILL.md8 KB -
references/arrows.md7 KB -
references/colors.md3 KB -
references/examples.md8 KB
Show all 8 files
-
references/export.md4 KB -
references/json-format.md5 KB -
references/validation.md5 KB
Alternatives to excalidraw
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
excalidraw: common questions
What file format does the excalidraw skill create?
It creates .excalidraw files, which are Excalidraw JSON, and can also export .png and .svg images.
Does it need existing diagrams or Terraform files?
No. The source says it works without existing diagrams, Terraform, or specific file types.
Where are the diagrams saved?
The source says output goes to docs/architecture/ or a user-specified path, with a descriptive filename.
How do I install excalidraw?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is excalidraw free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is excalidraw safe to use?
It scores 82 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to excalidraw?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
