agentleFS
HybridAIOneHybridAIOne/hybridclaw/skills/excalidraw/SKILL.md

excalidraw

Skill157 starsChanged 7 months agoMITView on GitHub

Create and revise editable `.excalidraw` diagrams as Excalidraw JSON for architecture diagrams, flowcharts, sequence diagrams, concept maps, and other hand-drawn explainers.

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

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. 0 are common, 10 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 46 edited versions we read keep these.

  • 10

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the user wants an editable diagram, not just a rendered image.

    line 22
  2. Very specific:

    Write a valid Excalidraw elements array.

    line 37
  3. Distinctive:

    If the user wants a shareable browser link, run:

    line 40
  4. Distinctive:

    Use this shape unless you are editing an existing file and need to preserve more fields:

    line 50
  5. Very specific:

    When editing an existing .excalidraw file, preserve appState, files, and any other existing top-level keys unless the user asked for a …

    line 65
  6. Distinctive:

    Use Excalidraw JSON, not SVG or HTML, unless the user explicitly asked for another format.

    line 69
  7. Very specific:

    Do not invent a "label" property on rectangles, diamonds, ellipses, or arrows.

    line 71
  8. Very specific:

    Place a bound text element immediately after its container in the elements array.

    line 72
  9. Very specific:

    Use readable sizes: fontSize 16+ for normal labels, 20+ for titles, and at least 120x60 for labeled boxes.

    line 73
  10. Very specific:

    Leave about 20-30px of space between major elements.

    line 74
  11. Very specific:

    Prefer short stable ids such as api, text-api, arrow-api-db.

    line 75
  12. Distinctive:

    Avoid emoji and decorative Unicode.

    line 76
  13. Distinctive:

    Default to a white background with dark text unless the user explicitly asks for dark mode.

    line 77
  14. Distinctive:

    Do not cram many tiny nodes into one canvas when two simpler diagrams would read better.

    line 143
  15. Distinctive:

    Do not put all shapes first and all text last.

    line 144
  16. Distinctive:

    Do not guess at Excalidraw-only properties you have not already seen in a working example.

    line 145
  17. Distinctive:

    Do not replace an editable diagram request with a static PNG export unless the user asked for the export.

    line 146

“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

Use this skill when the user wants an editable diagram, not just a rendered image.

Typical requests:

  • architecture or system diagrams
  • flowcharts and process maps
  • sequence diagrams
  • concept maps and explainers
  • hand-drawn style visuals that should stay editable in Excalidraw

Excalidraw files are plain JSON. The default deliverable is a *.excalidraw file in the workspace. The user can drag that file into excalidraw.com to view, edit, or export it.

Default Workflow

  1. Plan the diagram before writing JSON: title, nodes, connectors, groups, and rough canvas size.
  2. Write a valid Excalidraw elements array.
  3. Wrap the array in the standard file envelope.
  4. Save the result as *.excalidraw.
  5. If the user wants a shareable browser link, run:
node skills/excalidraw/scripts/upload.mjs diagram.excalidraw

The upload helper encrypts the diagram client-side and prints the Excalidraw share URL.

File Envelope

Use this shape unless you are editing an existing file and need to preserve more fields:

{
  "type": "excalidraw",
  "version": 2,
  "source": "hybridclaw",
  "elements": [],
  "appState": {
    "viewBackgroundColor": "#ffffff"
  },
  "files": {}
}

When editing an existing .excalidraw file, preserve appState, files, and any other existing top-level keys unless the user asked for a deliberate reset.

Rules

  • Use Excalidraw JSON, not SVG or HTML, unless the user explicitly asked for another format.
  • For labeled shapes or arrows, create a separate text element and bind it with containerId plus the container's boundElements.
  • Do not invent a "label" property on rectangles, diamonds, ellipses, or arrows. Excalidraw ignores it.
  • Place a bound text element immediately after its container in the elements array.
  • Use readable sizes: fontSize 16+ for normal labels, 20+ for titles, and at least 120x60 for labeled boxes.
  • Leave about 20-30px of space between major elements.
  • Prefer short stable ids such as api, text-api, arrow-api-db.
  • Avoid emoji and decorative Unicode. Stick to plain text that Excalidraw renders reliably.
  • Default to a white background with dark text unless the user explicitly asks for dark mode.
  • For arrows, points are offsets relative to the arrow's x and y.

Core Patterns

Labeled Rectangle

[
  {
    "type": "rectangle",
    "id": "api",
    "x": 120,
    "y": 120,
    "width": 220,
    "height": 80,
    "roundness": { "type": 3 },
    "backgroundColor": "#a5d8ff",
    "fillStyle": "solid",
    "boundElements": [{ "id": "text-api", "type": "text" }]
  },
  {
    "type": "text",
    "id": "text-api",
    "x": 130,
    "y": 145,
    "width": 200,
    "height": 24,
    "text": "API Service",
    "fontSize": 20,
    "fontFamily": 1,
    "strokeColor": "#1e1e1e",
    "textAlign": "center",
    "verticalAlign": "middle",
    "containerId": "api",
    "originalText": "API Service",
    "autoResize": true
  }
]

Arrow Between Shapes

{
  "type": "arrow",
  "id": "arrow-api-db",
  "x": 340,
  "y": 160,
  "width": 180,
  "height": 0,
  "points": [[0, 0], [180, 0]],
  "endArrowhead": "arrow",
  "startBinding": { "elementId": "api", "fixedPoint": [1, 0.5] },
  "endBinding": { "elementId": "db", "fixedPoint": [0, 0.5] }
}

Reference Files

  • For palette and contrast guidance, read references/colors.md.
  • For copy-pasteable diagram patterns, read references/examples.md.
  • For dark-background diagrams, read references/dark-mode.md.

Anti-Patterns

  • Do not cram many tiny nodes into one canvas when two simpler diagrams would read better.
  • Do not put all shapes first and all text last; that usually breaks layering and bindings.
  • Do not guess at Excalidraw-only properties you have not already seen in a working example.
  • Do not replace an editable diagram request with a static PNG export unless the user asked for the export.

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.