agentleFS
NicholasSpisakNicholasSpisak/excalidraw/SKILL.md

excalidraw

Skill13 starsChanged 2 months agoMITView on GitHub

Create and edit Excalidraw diagrams in an Excalidraw+ workspace — flowcharts, software architecture diagrams, sequence diagrams, data-flow diagrams, UML, Gantt charts, mind maps, wireframes, mockups, presentations/slide decks, roadmaps, user personas, brainstorming boards, Lean Canvas, SWOT analysis, competitor analysis, game-design boards, and whiteboarding-interview canvases. Use when asked to draw, diagram, sketch, wireframe, whiteboard, or make slides in Excalidraw.

  • Reads credentials

51 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use minecraft-modpack-server, pokemon-player and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • braxtonROSE4Skill

    minecraft-modpack-server

    Set up a modded Minecraft server from a CurseForge/Modrinth server pack zip. Covers NeoForge/Forge install, Java version, JVM tuning, firewall, LAN config, backups, and launch scripts.

    Also in 5 projects that use this

  • braxtonROSE4Skill

    pokemon-player

    Play Pokemon games autonomously via headless emulation. Starts a game server, reads structured game state from RAM, makes strategic decisions, and sends button inputs — all from the terminal.

    Also in 5 projects that use this

  • kevinnftSkill

    touchdesigner-mcp

    Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.

    Also in 8 projects that use this

  • AlexAI-MCPSkill

    native-mcp

    MCP server integration in Claude Code — add servers to .mcp.json, configure transports, and use their tools natively.

    Also in 5 projects that use this

  • AlexAI-MCPSkill

    youtube-content

    YouTube research and content operations — search, download, transcript extraction, and audio processing via yt-dlp.

    Also in 14 projects that use this

  • bergsideSkill

    sketch

    A friendly, hand-drawn sketch interface inspired by pencil illustrations on warm cream paper. Soft teal brand accents, hand-written display headings, rounded pill controls.

    Also in 10 projects that use this

  • +4 more from braxtonROSE4
  • +1 more from AlexAI-MCP

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 46 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Native MCP tools first: If this session exposes Excalidraw MCP tools (e.g.

    line 13
  2. Distinctive:

    Bundled CLI otherwise: If no native tools are available, use the zero-dependency CLI in this skill (Node ≥ 18):

    line 16
  3. Distinctive:

    If the key is missing the CLI prints setup instructions — relay them to the user.

    line 31
  4. Very specific:

    Never guess Excalidraw element fields, enum values, bindings, or frame behavior — the guides are authoritative and current.

    line 48
  5. Distinctive:

    Do not invent IDs (scenes, collections, frames) — list or create first.

    line 71
  6. Distinctive:

    Do not delete or overwrite scenes unless explicitly asked.

    line 72

“Common” is measured: kept by at least 6 in 10 of the 46 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Excalidraw

Author diagrams in an Excalidraw+ workspace through the official Excalidraw MCP server (https://api.excalidraw.com/api/v1/mcp).

Choosing a transport

  1. Native MCP tools first. If this session exposes Excalidraw MCP tools (e.g. mcp__excalidraw__create_diagram, or excalidraw tools in Codex), use them directly.
  2. Bundled CLI otherwise. If no native tools are available, use the zero-dependency CLI in this skill (Node ≥ 18):

    node scripts/excal.mjs tools                  # list tools
    node scripts/excal.mjs help <tool>            # print a tool's input schema
    node scripts/excal.mjs call <tool> --json '{"key":"value"}'

    Both paths hit the same server with the same tools — everything below applies to either. (CLI examples are shown; substitute native tool calls 1:1.)

Auth: the CLI reads EXCALIDRAW_API_KEY from the environment (raw sk-… or Bearer sk-… both work), falling back to ~/.config/excalidraw/api_key. If the key is missing the CLI prints setup instructions — relay them to the user; never paste keys into files that could be committed.

Core workflow

  1. Classify the request against references/use-cases.md — it maps every Excalidraw use case (flowchart, architecture, sequence, data-flow, UML, Gantt, mind map, wireframe, presentation, roadmap, persona, brainstorm, Lean Canvas, SWOT, competitor analysis, game design, interview) to the right tool and layout recipe.
  2. Read the matching format guide before your first content write — this is required by the server, not optional:
    • read_diagram_format — node/edge diagrams: architecture, flowcharts, workflows, swimlanes, dependency graphs, hierarchies, timelines
    • read_presentation_format — slide decks (one frame = one slide)
    • read_freeform_format — everything else: wireframes, personas, sticky-note boards, annotations, moodboards Never guess Excalidraw element fields, enum values, bindings, or frame behavior — the guides are authoritative and current.
  3. Create the scene. create_scene requires name, pinned, and collectionId — get an id from list_collections (use the collection with "isDefault": true unless told otherwise).
  4. Author the content:
    • Node/edge diagrams → create_diagram (semantic nodes + edges; automatic layout, elbow arrows, edge labels). Use edit_scene_content only for tweaks and layouts it can't express (swimlanes, timelines, Gantt, custom compositions).
    • Presentations → create_slide per slide, then fill each frame with edit_scene_content using the returned frameId and safe area; add_image for images; review with list_slides.
    • Freeform (wireframes, personas, brainstorms) → edit_scene_content directly.
  5. Verify visually. take_screenshot (whole scene or one frame) and inspect the result before declaring done. Fix overlaps and spacing issues you see — don't ship a diagram you haven't looked at.
  6. Hand back the link: https://app.excalidraw.com/s/<workspace>/<sceneId> (workspace and scene ids appear in tool responses).

Rules

  • Do not invent IDs (scenes, collections, frames) — list or create first.
  • Do not delete or overwrite scenes unless explicitly asked.
  • Match Excalidraw's hand-drawn aesthetic: default fonts/roughness, a restrained palette (2–3 hues max), generous whitespace. Design conventions per diagram type live in references/use-cases.md.
  • Presentations follow references/slide-standard.md (layout, palette, type, and image-upload gotchas) unless the user asks for a different style; it overrides the hand-drawn defaults for decks.
  • Scene content edits must use valid Excalidraw element format from the format guides (step 2) — invalid elements corrupt scenes.
  • Tool catalog and pagination notes: references/api.md.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.