excalidraw
Hand-drawn Excalidraw JSON diagrams (arch, flow, seq).
Skill by werxiao882-cell
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/werxiao882-cell-excalidraw
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
excalidraw- Description
- Hand-drawn Excalidraw JSON diagrams (arch, flow, seq).
- License
- MIT
- Instructions
- 186 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (5)
- SKILL.md
- colors.md · references/
- dark-mode.md · references/
- examples.md · references/
- upload.py · scripts/
SKILL.md (first lines)
# Excalidraw Diagram Skill
Create diagrams by writing standard Excalidraw element JSON and saving as `.excalidraw` files. These files can be drag-and-dropped onto [excalidraw.com](https://excalidraw.com) for viewing and editing. No accounts, no API keys, no rendering libraries -- just JSON.
## When to use
Generate `.excalidraw` files for architecture diagrams, flowcharts, sequence diagrams, concept maps, and more. Files can be opened at excalidraw.com or uploaded for shareable links.
## Workflow
1. **Load this skill** (you already did)
2. **Write the elements JSON** -- an array of Excalidraw element objects
3. **Save the file** using `write_file` to create a `.excalidraw` file
4. **Optionally upload** for a shareable link using `scripts/upload.py` via `terminal`
### Saving a Diagram
Wrap your elements array in the standard `.excalidraw` envelope and save with `write_file`:
```json
{
"type": "excalidraw",
"version": 2,
"source": "hermes-agent",
"elements": [ ...your elements array here... ],
"appState": {
"viewBackgroundColor": "#ffffff"
}
}
```
Save to any path, e.g. `~/diagrams/my_diagram.excalidraw`.
### Uploading for a Shareable Link
Run the upload script (located in this skill's `scripts/` directory) via terminal:
```bash
python skills/diagramming/excalidraw/scripts/upload.py ~/diagrams/my_diagram.excalidraw
```
This uploads to excalidraw.com (no account needed) and prints a shareable URL. Requires the `cryptography` pip package (`pip install cryptography`).
---
## Element Format Reference
### Required Fields (all elements)
`type`, `id` (unique string), `x`, `y`, `width`, `height`
### Defaults (skip these -- they're applied automatically)
- `strokeColor`: `"#1e1e1e"`
- `backgroundColor`: `"transparent"`
- `fillStyle`: `"solid"`
- `strokeWidth`: `2`
- `roughness`: `1` (hand-drawn look)
- `opacity`: `100`
Canvas background is white.
### Element Types
**Rectangle**:
```json
{ "type": "rectangle", "id": "r1", "x": 100, "y": 100, "width": 200, "height": 100 }
```
- `roundness: { "type": 3 }` for rounded corners
- `backgroundColor: "#a5d8ff"`, `fillStyle: "solid"` for filled
**Ellipse**:
```json
{ "type": "ellipse", "id": "e1", "x": 100, "y": 100, "width": 150, "height": 150 }
```
**Diamond**:
```json
{ "type": "diamond", "id": "d1", "x": 100, "y": 100, "width": 150, "height": 150 }
```
**Labeled shape (container binding)** -- create a text element bound to the shape:
> **WARNING:** Do NOT use `"label": { "text": "..." }` on shapes. This is NOT a valid
> Excalidraw property and will be silently ignored, producing blank shapes. You MUST
> use the container binding approach below.
The shape needs `boundElements` listing the text, and the text needs `containerId` pointing back:
```json
{ "type": "rectangle", "id": "r1", "x": 100, "y": 100, "width": 200, "height": 80,
"roundness": { "type": 3 }, "backgroundColor": "#a5d8ff", "fillStyle": "solid",
"boundElements": [{ "id": "t_r1", "type": "text" }] },
{ "type": "text", "id": "t_r1", "x": 105, "y": 110, "width": 190, "height": 25,
"text": "Hello", "fontSize": 20, "fontFamily": 1, "strokeColor": "#1e1e1e",
"textAlign": "center", "verticalAlign": "middle",
"containerId": "r1", "originalText": "Hello", "autoResize": true }
```
- Works on rectangle, ellipse, diamond
- Text is auto-centered by Excalidraw when `containerId` is set
- The text `x`/`y`/`width`/`height` are approximate -- Excalidraw recalculates them on load
- `originalText` should match `text`
- Always include `fontFamily: 1` (Virgil/hand-drawn font)
**Labeled arrow** -- same container binding approach:
```json
{ "type": "arrow", "id": "a1", "x": 300, "y": 150, "width": 200, "height": 0,
"points": [[0,0],[200,0]], "endArrowhead": "arrow",
"boundElements": [{ "id": "t_a1", "type": "text" }] },
{ "type": "text", "id": "t_a1", "x": 370, "y": 130, "width": 60, "height": 20,
"text": "connects", "fontSize": 16, "fontFamily": 1, "strokeColor": "#1e1e1e",
"textAlign": "center", "verticalAlign": "middle",
"containerId": "a1", "originalText": "connects", "autoResize": true }
```
**Standalone text** (titles and annotations only -- no container):
```json
{ "type": "text", "id": "t1", "x": 150, "y": 138, "text": "Hello", "fontSize": 20,
"fontFamily": 1, "strokeColor": "#1e1e1e", "originalText": "Hello", "autoResize": true }
```
- `x` is the LEFT edge. To center at position `cx`: `x = cx - (text.length * fontSize * 0.5) / 2`
- Do NOT rely on `textAlign` or `width` for positioningFrom werxiao882-cell/NanoHermes, MIT.
More from werxiao882-cell/NanoHermes
- 0.548score
ai-agent-integration-testing
werxiao882-cell
Integration testing for AI Agent CLI systems — PTY-driven conversation simulation, tool chain verification, OpenSpec-driven test design, and real-API…
SkillCFreshness: C★ 13Claude Code +9 - 0.543score
article-extraction
werxiao882-cell
Extract web article content from WeChat MP, blogs, and other platforms, converting text, images, formatting, and tables to clean Markdown.
SkillCFreshness: C★ 13Claude Code +9 - 0.541score
kanban-orchestrator
werxiao882-cell
Decomposition playbook + anti-temptation rules for an orchestrator profile routing work through Kanban.
SkillCFreshness: C★ 13Claude Code +9 - 0.538score
kanban-worker
werxiao882-cell
Pitfalls, examples, and edge cases for Hermes Kanban workers.
SkillCFreshness: C★ 13Claude Code +9 - 0.532score
minecraft-modpack-server
werxiao882-cell
Host modded Minecraft servers (CurseForge, Modrinth).
SkillCFreshness: C★ 13Claude Code +9 - 0.532score
webhook-subscriptions
werxiao882-cell
Webhook subscriptions: event-driven agent runs.
SkillCFreshness: C★ 13Claude Code +9 - 0.528score
pokemon-player
werxiao882-cell
Play Pokemon via headless emulator + RAM reads.
SkillCFreshness: C★ 13Claude Code +9 - 0.330score
openspec-propose
openspec
Propose a new change with all artifacts generated in one step.
SkillCFreshness: C★ 13Claude Code +9 - 0.330score
openspec-explore
openspec
Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements.
SkillCFreshness: C★ 13Claude Code +9 - 0.330score
openspec-apply-change
openspec
Implement tasks from an OpenSpec change.
SkillCFreshness: C★ 13Claude Code +9
Signals
- Stars
- 13
- Forks
- 3
- Open issues
- 0
- Last commit (this folder)
- Jul 6, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/werxiao882-cell/NanoHermes
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.579score
excalidraw
hermesonehq
Hand-drawn Excalidraw JSON diagrams (arch, flow, seq).
SkillCFreshness: C★ 92Claude Code +9 - 0.368score
excalidraw
m4tinbeigi-official
Hand-drawn Excalidraw JSON diagrams (arch, flow, seq).
SkillBFreshness: B★ 47Claude Code +9 - 0.356score
excalidraw
Lexus2016
Hand-drawn Excalidraw JSON diagrams (arch, flow, seq).
SkillBFreshness: B★ 15Claude Code +9 - 0.339score
excalidraw
TTflysky
Hand-drawn Excalidraw JSON diagrams (arch, flow, seq).
SkillBFreshness: B★ 4Claude Code +9 - 0.336score
excalidraw
yadav-prakhar
Hand-drawn Excalidraw JSON diagrams (arch, flow, seq).
SkillAFreshness: AClaude Code +9 - 0.336score
excalidraw
SatangThevalue
Hand-drawn Excalidraw JSON diagrams (arch, flow, seq).
SkillAFreshness: AClaude Code +9 - 0.326score
excalidraw
kevinnft
Hand-drawn Excalidraw JSON diagrams (arch, flow, seq).
SkillCFreshness: C★ 14Claude Code +9 - 0.322score
excalidraw
AjayRajan05
Hand-drawn Excalidraw JSON diagrams (arch, flow, seq).
SkillCFreshness: C★ 10Claude Code +9 - 0.312score
excalidraw
darkmatter
Hand-drawn Excalidraw JSON diagrams (arch, flow, seq).
SkillBFreshness: BClaude Code +9 - 0.296score
excalidraw
megawinrar
Hand-drawn Excalidraw JSON diagrams (arch, flow, seq).
SkillCFreshness: C★ 1Claude Code +9 - 0.296score
excalidraw
zeno-sys
Hand-drawn Excalidraw JSON diagrams (arch, flow, seq).
SkillCFreshness: C★ 1Claude Code +9 - 0.282score
excalidraw
kuen0902
Hand-drawn Excalidraw JSON diagrams (arch, flow, seq).
SkillCFreshness: CClaude Code +9
More from werxiao882-cell
- 0.548score
ai-agent-integration-testing
werxiao882-cell
Integration testing for AI Agent CLI systems — PTY-driven conversation simulation, tool chain verification, OpenSpec-driven test design, and real-API…
SkillCFreshness: C★ 13Claude Code +9 - 0.543score
article-extraction
werxiao882-cell
Extract web article content from WeChat MP, blogs, and other platforms, converting text, images, formatting, and tables to clean Markdown.
SkillCFreshness: C★ 13Claude Code +9 - 0.541score
kanban-orchestrator
werxiao882-cell
Decomposition playbook + anti-temptation rules for an orchestrator profile routing work through Kanban.
SkillCFreshness: C★ 13Claude Code +9 - 0.538score
kanban-worker
werxiao882-cell
Pitfalls, examples, and edge cases for Hermes Kanban workers.
SkillCFreshness: C★ 13Claude Code +9 - 0.532score
webhook-subscriptions
werxiao882-cell
Webhook subscriptions: event-driven agent runs.
SkillCFreshness: C★ 13Claude Code +9 - 0.532score
minecraft-modpack-server
werxiao882-cell
Host modded Minecraft servers (CurseForge, Modrinth).
SkillCFreshness: C★ 13Claude Code +9
Cite this page
excalidraw skill. Agent Mart. https://agentmart.dev/skills/werxiao882-cell-excalidraw (last updated 2026-10-24)