excalidraw-architecture

excalidraw-architecture is a skill for Claude Code, Codex from mergisi/awesome-openclaw-agents. It costs 78 tokens per session (1,127 once invoked), scanned A, original, MIT.

A tool that creates or updates an Excalidraw architecture diagram from a codebase. Excalidraw is a whiteboard-style diagram editor; the output shows entry points, services, data stores, and connections.

In plain words
What is it for?
Use it to document a system, explain a backend to new contributors, prepare a design document, or update an architecture diagram in docs/architecture.excalidraw.
Why use it?
It turns a codebase that may be difficult to understand into a visual map for contributors and design discussions. It also helps keep the diagram current after refactoring.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: mentions Claude Code; built for openclaw.

Good fit Use it to document a system, explain a backend to new contributors, prepare a design document, or update an architecture diagram in docs/architecture.excalidraw.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mergisi/awesome-openclaw-agents/excalidraw-architecture
About the project

awesome-openclaw-agents is a curated collection of ready-to-use SOUL.md configurations that define AI agents for tasks across areas such as development, marketing, finance, support, and automation. It is for OpenClaw users who want predefined agent roles and workflows to adapt or deploy. The catalogue entries are agent-related skills drawn from this collection.

mergisi/awesome-openclaw-agents · 3,959 stars · on GitHub · crewclaw.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mergisi/awesome-openclaw-agents --skill excalidraw-architecture
Clone the repo
git clone --depth 1 https://github.com/mergisi/awesome-openclaw-agents

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for excalidraw-architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/mergisi/awesome-openclaw-agents/excalidraw-architecture/github.svg)](https://agentmods.dev/skills/mergisi/awesome-openclaw-agents/excalidraw-architecture)
Your own site
<a href="https://agentmods.dev/skills/mergisi/awesome-openclaw-agents/excalidraw-architecture"><img src="https://agentmods.dev/badge/skills/mergisi/awesome-openclaw-agents/excalidraw-architecture/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for excalidraw-architecture

Your own site · 80×15
<a href="https://agentmods.dev/skills/mergisi/awesome-openclaw-agents/excalidraw-architecture"><img src="https://agentmods.dev/badge/skills/mergisi/awesome-openclaw-agents/excalidraw-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,127 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00078 $0.01127
Opus 5 $0.00039 $0.00563
Sonnet 5 $0.00016 $0.00225
Haiku 4.5 $0.00008 $0.00113

Measured 13d ago against content hash 16f0df4b6d88, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

excalidraw-architecture scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/claude/excalidraw-architecture/SKILL.md · 62 lines

How it starts

The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Excalidraw Architecture

Produce an architecture diagram of the current project as an Excalidraw file (docs/architecture.excalidraw). The diagram shows services, entry points, data stores, and the edges between them — the kind of whiteboard sketch you'd draw in a design review.

Inspired by Bilgin Ibryam's Medium post on "Architecture diagrams as code with Claude Code + Excalidraw" — credit: @bibryam. This skill is a lightweight reimplementation for OpenClaw-style repos.

When to use

  • New contributor asks "what does this repo look like?"
  • User wants to update a stale architecture diagram after a refactor
  • User says "draw me the system", "excalidraw the backend", "/excalidraw-architecture"
  • Preparing a design doc and needs a canonical diagram

Instructions

  1. Survey the codebase. Use Glob and Grep to identify:
    • Entry points: main.*, index.*, server.*, api/**/route.*, cmd/*/main.go, package.json "scripts" field, Dockerfile CMD.
    • Data stores: mentions of postgres, redis, convex, sqlite, s3, mongodb, prisma.
    • External services: Stripe, OpenAI, Anthropic, Twilio, SendGrid, webhook handlers.
    • Internal modules: top-level folders under src/, app/, lib/, agents/. Read at most 3-5 key files to confirm how the pieces connect — don't try to read the whole repo.
  2. Sketch the model mentally. List nodes (rectangles) and edges (arrows with labels like "HTTP", "SQL", "pub/sub"). Group related nodes into clusters.
  3. Generate the Excalidraw JSON. The file format is standard Excalidraw:
    {
      "type": "excalidraw",
      "version": 2,
      "source": "https://excalidraw.com",
      "elements": [ /* rectangle, arrow, text elements */ ],
      "appState": { "viewBackgroundColor": "#ffffff", "gridSize": 20 },
      "files": {}
    }
    
    Each element needs at minimum: id, type (rectangle / arrow / text / ellipse), x, y, width, height, angle: 0, strokeColor, backgroundColor, fillStyle, strokeWidth, roughness, opacity, seed, versionNonce, isDeleted: false, groupIds: [], boundElements, updated, link: null, locked: false. For text elements add text, fontSize, fontFamily, textAlign, verticalAlign. For arrows add points, startBinding, endBinding. Use integer pixel coordinates on a ~20px grid. Arrange nodes left-to-right by data flow.
  4. Do not hand-forge exotic fields you're unsure about. If a field is optional and you're not confident, omit it — Excalidraw is forgiving on load. When in doubt, open the resulting file in the Excalidraw web app and confirm it renders; fix any errors it reports.
  5. Write the file to docs/architecture.excalidraw using the Write tool. If the directory doesn't exist, create it first with mkdir -p docs.
  6. Offer to open it. Suggest the user run:
    open docs/architecture.excalidraw   # macOS — opens in Excalidraw desktop app if installed
    
    Or drag-drop into excalidraw.com.
  7. Update vs regenerate. If docs/architecture.excalidraw already exists, read it first. If the existing layout still fits, only add/move the nodes that changed. If the shape of the system has changed significantly, tell the user and regenerate from scratch.

Read the full file on GitHub · 62 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 62 lines · 78 tokens per session scan A 16f0df4b6d88

Subscribe to this mod's changes

excalidraw-architecture is a skill published in the GitHub repository mergisi/awesome-openclaw-agents (3,959 stars, last pushed 3mo ago), licensed MIT. It adds 78 tokens to every session and 1,127 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.