Agent skill

Diagram Design

by vstorm-co in vstorm-co/pydantic-deepagents

Best practices for creating research diagrams with Excalidraw MCP tools

MITAuto-check passedDevelopment

Install Diagram Design

skills CLI
$ npx skills add vstorm-co/pydantic-deepagents --skill diagram-design -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install vstorm-co/pydantic-deepagents diagram-design --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/vstorm-co/pydantic-deepagents.git skills-src && mkdir -p .claude/skills && cp -r skills-src/apps/deepresearch/skills/diagram-design .claude/skills/diagram-design && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
diagram-design
GitHub stars
1.1k
Token cost
~884 tokens
SKILL.md length
321 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
MIT

At a glance

Best practices for creating research diagrams with Excalidraw MCP tools

  • Works in 6 steps: Plan the diagram — decide type,… → Create elements — use create_element or… → Arrange — use align_elements and… → …
  • Tasks that involve Diagrams
  • SKILL.md covers When to Create Diagrams, Excalidraw Workflow, Color Palette and Layout Patterns, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Diagram Design is an agent skill from vstorm-co/pydantic-deepagents. Best practices for creating research diagrams with Excalidraw MCP tools

Its SKILL.md is about 880 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Diagrams. It works with Excalidraw. The repository describes itself as: Open-source, self-hosted Claude Code - a terminal AI assistant and the Python framework behind it. Tool-calling, sandboxed execution, multi-agent teams, skills, checkpoints… The licence is MIT.

When your agent uses it

  • Tasks that involve Diagrams

Example prompts

  • “/diagram-design”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Plan the diagram — decide type, elements, and layout before creating
  2. Create elements — use create_element or batch_create_elements
  3. Arrange — use align_elements and distribute_elements for clean layout
  4. Inspect — use describe_scene to verify the diagram looks right
  5. Adjust — use update_element to fix positioning or text
  6. Group — use group_elements to lock related items together

What it can do on your machine

Read from SKILL.md and the folder at commit 650b592. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Diagram Design loads about 884 tokens when it runs. Until then it costs about 22 tokens; SKILL.md has 321 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~22
When it runs · the whole SKILL.md, loaded when a task matches
~884

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from vstorm-co/pydantic-deepagents at commit 650b592, republished under its MIT licence (© vstorm-co). 321 words, ~884 tokens.

Download SKILL.mdSave it as .claude/skills/diagram-design/SKILL.md (or your agent's skills folder).
name
diagram-design
description
Best practices for creating research diagrams with Excalidraw MCP tools

Diagram Design Guide for Research

When to Create Diagrams

Create a diagram when your research findings involve:

  • Comparing 3+ options — comparison table or matrix diagram
  • Process with 4+ steps — flowchart or sequence diagram
  • System with multiple components — architecture diagram
  • Chronological events — timeline
  • Hierarchical relationships — tree or mind map
  • Data flows — data flow diagram

Excalidraw Workflow

  1. Plan the diagram — decide type, elements, and layout before creating
  2. Create elements — use create_element or batch_create_elements
  3. Arrange — use align_elements and distribute_elements for clean layout
  4. Inspect — use describe_scene to verify the diagram looks right
  5. Adjust — use update_element to fix positioning or text
  6. Group — use group_elements to lock related items together

Note: Do NOT export or share links — the user sees a live embedded canvas that auto-syncs.

Color Palette

Use consistent colors across diagrams:

PurposeColorHex
Primary conceptsBlue#1971c2
Positive / supportedGreen#2f9e44
Negative / limitationsRed#e03131
Warning / caveatsOrange#e8590c
Neutral / contextGray#868e96
Highlight / focusYellow#f08c00

Layout Patterns

  • Top-to-bottom: Process flows, decision trees, timelines
  • Left-to-right: Comparisons, before/after, pipelines
  • Radial / center-out: Concept maps, mind maps
  • Grid: Feature matrices, comparison tables

Element Guidelines

Text
  • Use short labels (2-4 words per element)
  • Title font size: 20-24px
  • Label font size: 14-16px
  • Add detail in sub-labels, not element titles
Shapes
  • Rectangles: Processes, components, entities
  • Diamonds: Decision points
  • Ellipses: Start/end points, concepts
  • Rectangles with rounded corners: Groups, categories
Arrows
  • Solid arrows: Direct relationships, data flow
  • Dashed arrows: Optional paths, indirect relationships
  • Label arrows to clarify the relationship
Spacing
  • 40px minimum between elements
  • 80px between groups
  • Consistent spacing within a group

Diagram Types for Research

Comparison Diagram
[Option A]  [Option B]  [Option C]
   |            |            |
[Pros]      [Pros]      [Pros]
[Cons]      [Cons]      [Cons]
   |            |            |
   └──── [Verdict] ─────────┘
Architecture Diagram
┌─────────────────────────────┐
│        [System Name]         │
│  ┌──────┐  ┌──────┐        │
│  │Comp A│──│Comp B│        │
│  └──────┘  └──┬───┘        │
│               │              │
│          ┌────▼────┐        │
│          │ Comp C  │        │
│          └─────────┘        │
└─────────────────────────────┘
Timeline
[2020]──[2021]──[2022]──[2023]──[2024]──[2025]
  │       │       │       │       │       │
 Event   Event   Event   Event   Event   Event

Tips

  • Always call describe_scene after creating elements to verify layout
  • Use batch_create_elements for efficiency (multiple elements at once)
  • Group related elements before aligning for cleaner organization
  • Do NOT export or share links — the live embedded canvas auto-syncs for the user
  • NEVER use create_from_mermaid — it produces invisible results. Always use batch_create_elements with element JSON instead

© vstorm-co, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in apps/deepresearch/skills/diagram-design of vstorm-co/pydantic-deepagents.

Open the folder on GitHubat commit 650b592

Compare with similar skills

Diagram Design next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Diagram Design compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Diagram Design this skillvstorm-co/pydantic-deepagents1.1k—~884Automated safety check: PassMIT
Diagram Designcathrynlavery/diagram-design49k1 repos~7.6kAutomated safety check: PassMIT
Excalidraw Diagramcoleam00/excalidraw-diagram-skill5k2 repos~6.1kAutomated safety check: PassNone
Excalidraw Diagrambreferrari/obsidian-mind5k—~3.9kAutomated safety check: PassMIT
Excalidraw Skillyctimlin/mcp_excalidraw2.5k—~4.6kAutomated safety check: PassMIT
Lanshu Animated Architecture Diagramcclank/lanshu-animated-architecture-diagram995—~1.1kAutomated safety check: PassMIT

Similar skills

  • Diagram Design

    cathrynlavery/diagram-design

    Creates branded diagrams, from architecture, flowchart and sequence to charts and maps, as self-contained HTML with inline SVG, with import from draw.io, Mermaid and Excalidraw.

    49k GitHub starsUsed in 1 repo~7.6k tokens
    DevelopmentAuto-check passed
  • Excalidraw Diagram

    coleam00/excalidraw-diagram-skill

    Create Excalidraw diagram JSON files that make visual arguments.

    5k GitHub starsUsed in 2 repos~6.1k tokens
    DevelopmentAuto-check passed
  • Excalidraw Diagram

    breferrari/obsidian-mind

    Generate Excalidraw diagrams from text content. An agent skill from breferrari/obsidian-mind.

    5k GitHub stars~3.9k tokensUpdated 5 days ago
    DevelopmentAuto-check passed
  • Excalidraw Skill

    yctimlin/mcp_excalidraw

    Excalidraw canvas toolkit for creating, editing, and refining diagrams on a live canvas.

    2.5k GitHub stars~4.6k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Lanshu Animated Architecture Diagram

    cclank/lanshu-animated-architecture-diagram

    Create premium hand-drawn architecture and process diagrams in the Lanshu animated GIF style, with editable .excalidraw files, static PNG previews, and genuinely animated GIFs with moving flow…

    995 GitHub stars~1.1k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Excalidraw Diagram Studio

    tech-leads-club/agent-skills

    Generates Excalidraw diagram files from plain descriptions, choosing among flowcharts, mind maps, architecture, swimlane, class, sequence and ER diagrams.

    7k GitHub stars~3.6k tokensUpdated 2 days ago
    DevelopmentAuto-check passed

More from vstorm-co/pydantic-deepagents

All 14 skills in this repo
  • Data Formats

    vstorm-co/pydantic-deepagents

    Working with diverse data formats: binary, text, structured, and custom

    1.1k GitHub stars~714 tokensUpdated 5 days ago
    Auto-check passed
  • Research Methodology

    vstorm-co/pydantic-deepagents

    Best practices for systematic research, source evaluation, and evidence gathering

    1.1k GitHub stars~577 tokensUpdated 5 days ago
    Auto-check passed
  • Systematic Debugging

    vstorm-co/pydantic-deepagents

    Systematic approach to diagnosing and fixing errors. An agent skill from vstorm-co/pydantic-deepagents.

    1.1k GitHub stars~732 tokensUpdated 5 days ago
    Auto-check passed
  • Verification Strategy

    vstorm-co/pydantic-deepagents

    Thorough verification of completed work before declaring done

    1.1k GitHub stars~736 tokensUpdated 5 days ago
    Auto-check passed
  • Environment Discovery

    vstorm-co/pydantic-deepagents

    Systematic exploration of unknown environments before starting work

    1.1k GitHub stars~419 tokensUpdated 5 days ago
    Auto-check passed
  • Skill Creator

    vstorm-co/pydantic-deepagents

    Create new reusable skills from conversation context. An agent skill from vstorm-co/pydantic-deepagents.

    1.1k GitHub stars~331 tokensUpdated 5 days ago
    Auto-check passed

Works with

Categories

Questions about Diagram Design

What does Diagram Design do?

Best practices for creating research diagrams with Excalidraw MCP tools. Diagram Design is an agent skill from vstorm-co/pydantic-deepagents.

When should I use Diagram Design?

Diagram Design fits situations like: tasks that involve Diagrams.

How do I install Diagram Design in Claude Code?

Run `npx skills add vstorm-co/pydantic-deepagents --skill diagram-design -a claude-code`. Or copy the skill folder (apps/deepresearch/skills/diagram-design in vstorm-co/pydantic-deepagents) into .claude/skills/diagram-design in your project. Claude Code loads it when a task matches its description.

How do I install Diagram Design in Codex?

Run `npx skills add vstorm-co/pydantic-deepagents --skill diagram-design -a codex`. Or copy the skill folder (apps/deepresearch/skills/diagram-design in vstorm-co/pydantic-deepagents) into .agents/skills/diagram-design in your project. Codex loads it when a task matches its description.

Can I use Diagram Design in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add vstorm-co/pydantic-deepagents --skill diagram-design -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/diagram-design, .gemini/skills/diagram-design, .github/skills/diagram-design and .opencode/skills/diagram-design in your project.

What does Diagram Design need to run?

SKILL.md names no scripts, command-line tools or credentials: Diagram Design is instructions for the agent only.

Does Diagram Design access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Diagram Design safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Diagram Design use?

Diagram Design is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Diagram Design use?

About 884 tokens (SKILL.md is roughly 3.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Diagram Design?

Skills that share tags, products or a category with Diagram Design: Diagram Design (cathrynlavery/diagram-design, 49k stars), Excalidraw Diagram (coleam00/excalidraw-diagram-skill, 5k stars), Excalidraw Diagram (breferrari/obsidian-mind, 5k stars) and Excalidraw Skill (yctimlin/mcp_excalidraw, 2.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Diagram Design?

vstorm-co (a GitHub organization) maintains it in vstorm-co/pydantic-deepagents, which has 1,078 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 6, 2026.

Source: vstorm-co/pydantic-deepagents on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.