/sketchi-code-mode-claude:sketchi-code-modefrom Sketchi Code Mode
Draws editable Excalidraw diagrams via MCP: flowcharts, sequence, state machine, ER, class, Gantt, timeline, charts, mindmaps, org charts, Venn, journey maps, Sankey, wireframes, and quadrant diagrams.
Ships in Sketchi Code Mode. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Sketchi draws diagrams as editable Excalidraw scenes with a PNG. Its MCP server, sketchi-code-mode at https://playground.sketchi.app/mcp, needs no account or API key and has three tools:
execute runs one async JavaScript function against the sketchi client.docs returns one topic's request type, rules and example, such as { topic: "buildGantt" }.search finds documentation by keyword.Choose the builder for what the diagram shows:
| The diagram shows | Builder |
|---|---|
| steps, decisions, how systems connect, architecture zones | sketchi.buildFlowchart |
| messages between participants over time | sketchi.buildSequenceDiagram |
| states and the events that move between them | sketchi.buildStateMachine |
| tables, keys and relationships | sketchi.buildErDiagram |
| classes, members and relationships | sketchi.buildClassDiagram |
| dated tasks with durations and dependencies | sketchi.buildGantt |
| dated or ordered events | sketchi.buildTimeline |
| numbers across categories: bar, line or pie | sketchi.buildChart |
| a topic hierarchy | sketchi.buildMindmap |
| people and reporting lines | sketchi.buildOrgChart |
| what overlapping sets share | sketchi.buildVennDiagram |
| a user journey scored stage by stage | sketchi.buildJourneyMap |
| weighted flows between stages | sketchi.buildSankey |
| UI screens | sketchi.buildWireframe |
| items placed on a 2×2 matrix | sketchi.buildQuadrantChart |
| a layout no builder covers | sketchi.createCanvas (read its docs first) |
Call execute with one async arrow function in plain JavaScript (no TypeScript or imports). The code parameter's description gives every builder's spec and rules. For a flowchart, also pass the user's words as request: the result lists anything they state that the drawing misses.
async () =>
sketchi.buildFlowchart({
request: "Draw our release approval flow: submit a release for review, ship it if approved, revise it if not.",
spec: {
title: "Release approval",
nodes: { submit: "Submit release", review: "Approved?", ship: "Ship release", revise: "Revise release" },
edges: [
["submit", "review"],
["review", "ship", "yes"],
["review", "revise", "no"],
],
},
})
If the result is { ok: false, issues }, fix the spec as each issue's hint says and call execute again.
Copy artifactDelivery.finalResponseText as your final answer and stop. It starts with Sketchi artifact ready. and gives the artifact id with the Excalidraw and PNG URLs. Do not redraw the diagram as Mermaid, Markdown or a local file, and do not fetch the scene format to describe it.
sketchi.editFlowchart({ artifactId, edits }) adds, removes, relabels, recolors or reshapes steps by id or label, for example edits: [{ op: "set", nodes: { review: { color: "purple" } } }]. Never rebuild or patch a flowchart to change it.sketchi.applyDiagramPatch(...). Read its docs first.sketchi.getArtifact({ artifactId, format: "document" }) returns a flowchart's current document.Every change returns a new artifact; deliver its artifactDelivery.finalResponseText the same way.
sketchi.searchIcons({ q }) returns logo slugs for named technologies, and sketchi.drawIcon({ name, svg }) hand-draws a logo the catalog lacks. Each builder's spec says where an icon goes.
execute code.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
excalidraw, diagrams, mcp, architecture-diagrams, flowcharts
npx claudepluginhub shpitdev/sketchi --plugin sketchi-code-mode-claudeOther plugins' skills for the same job