canvas
Skill by iii-hq
Stores mermaid diagrams and excalidraw whiteboard scenes as editable source under stable ids. The iii console renders them live.
Install canvas
Built from the published package, never by AI.
git clone --depth 1 https://github.com/iii-hq/workers /tmp/workers && mkdir -p ~/.claude/skills && cp -r /tmp/workers/canvas/skills ~/.claude/skills/canvasRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/iii-hq/workers /tmp/workers && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/workers/canvas/skills ~/.gemini/antigravity-cli/skills/canvasAntigravity 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
The canvas skill lets an assistant create, read, revise and delete diagrams. A canvas is a named record holding mermaid text or an excalidraw scene JSON, kept under a stable 8-character id. The worker does not render anything. The console draws each diagram, and the canvas page lists everything stored.
Ids stay the same across updates, so earlier references keep working. Records persist in the state worker. The syntax and validate functions help write valid mermaid before it is stored. Freeform canvases can be built one shape at a time while a person watches the console board. The skill suits architecture diagrams, sequence charts, state machines, ER models and hand-editable whiteboard sketches.
Written from the project's SKILL.md and checked against it.
What it can do
- canvas::createStores a new canvas from mermaid text or an excalidraw scene JSON and mints a stable id.
- canvas::getReads one canvas by id, including its editable source.
- canvas::listLists stored canvases newest first, with an optional format filter.
- canvas::updateRevises a canvas name or source by id without changing the id.
- canvas::deleteRemoves one canvas by id. Unknown ids report deleted=false.
- canvas::syntaxReturns the supported mermaid diagram families with a working example each.
- canvas::validateParses source without storing it and reports validity and per-issue messages.
- canvas::element::addAppends shapes to a freeform canvas one drawing step at a time.
- canvas::element::updateMerges properties into one element of a freeform canvas, such as moving or recoloring it.
- canvas::element::deleteRemoves elements from a freeform canvas by element id.
What you need
- The iii canvas worker
- The state worker for persistence
- The iii console to view rendered diagrams
Try asking
- Draw an architecture diagram of our API and database as a mermaid canvas
- Update canvas abc12345 to add a retry step to the sequence diagram
- Validate this mermaid state diagram before saving it as a canvas
Good to know
- The worker does not render. Drawing happens in the console.
- canvas::validate checks that source parses, not that the diagram is correct.
- A canvas format is fixed at creation and cannot be changed by update.
- Element functions work only on freeform canvases. Source size is capped by max_source_bytes.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: canvas/skills/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to canvas
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
canvas: common questions
Does canvas render diagrams to images?
No. The worker stores source only and returns no SVG or pixels. The console draws the diagram.
Can I edit a mermaid diagram by moving single shapes?
No. Element functions work only on freeform canvases with excalidraw scene source. Mermaid canvases are edited as text through canvas::update.
Does a diagram keep its id after it is revised?
Yes. Ids are stable across updates on purpose, so earlier references to the diagram keep working.
How do I install canvas?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is canvas free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is canvas safe to use?
It scores 61 of 100. Grades: maintenance A, licence A, quality B. 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 canvas?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
