npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

excalidraw-skill

v0.1.0

Published

Agent skill for creating, rendering, and validating Excalidraw architecture and workflow diagrams in Claude Code, Codex, Gemini CLI, Cursor, Windsurf, Copilot, Kiro, Roo Code, and more.

Readme

███████╗██╗  ██╗ ██████╗ █████╗ ██╗     ██╗██████╗ ██████╗  █████╗ ██╗    ██╗
██╔════╝╚██╗██╔╝██╔════╝██╔══██╗██║     ██║██╔══██╗██╔══██╗██╔══██╗██║    ██║
█████╗   ╚███╔╝ ██║     ███████║██║     ██║██║  ██║██████╔╝███████║██║ █╗ ██║
██╔══╝   ██╔██╗ ██║     ██╔══██║██║     ██║██║  ██║██╔══██╗██╔══██║██║███╗██║
███████╗██╔╝ ██╗╚██████╗██║  ██║███████╗██║██████╔╝██║  ██║██║  ██║╚███╔███╔╝
╚══════╝╚═╝  ╚═╝ ╚═════╝╚═╝  ╚═╝╚══════╝╚═╝╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝ ╚══╝╚══╝

██████╗ ██╗ █████╗  ██████╗ ██████╗  █████╗ ███╗   ███╗
██╔══██╗██║██╔══██╗██╔════╝ ██╔══██╗██╔══██╗████╗ ████║
██║  ██║██║███████║██║  ███╗██████╔╝███████║██╔████╔██║
██║  ██║██║██╔══██║██║   ██║██╔══██╗██╔══██║██║╚██╔╝██║
██████╔╝██║██║  ██║╚██████╔╝██║  ██║██║  ██║██║ ╚═╝ ██║
╚═════╝ ╚═╝╚═╝  ╚═╝ ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝

Agent skill for creating .excalidraw JSON diagrams that make visual arguments for workflows, architectures, systems, protocols, and concepts.

Table of Contents

Sample Output

Architecture Diagram

Architecture diagram generated by the skill — rendered from excalidraw-architecture.excalidraw

The skill includes:

  • Excalidraw diagram design methodology
  • Semantic color palette
  • JSON element templates
  • Excalidraw schema notes
  • Playwright-based renderer for PNG previews

Install With npm

npm install -g excalidraw-skill
excalidraw-skill install --ai codex

Or run it without a global install:

npx excalidraw-skill install

By default this installs for Codex in the current project:

.codex/skills/excalidraw-diagram

Install for Claude Code:

excalidraw-skill install --ai claude

This installs to:

.claude/skills/excalidraw-diagram

Install for Gemini CLI:

excalidraw-skill install --ai gemini

This installs to:

.gemini/skills/excalidraw-diagram

Install for all supported assistants:

excalidraw-skill install --ai all

Global install:

excalidraw-skill install --ai codex --global
excalidraw-skill install --ai claude --global
excalidraw-skill install --ai gemini --global

Custom skills directory:

excalidraw-skill install --target ~/.codex/skills --force

Supported Assistants

| Assistant | --ai value | Project install path | Global install path | | --------------- | --------------- | --------------------------------------- | --------------------------------------- | | Claude Code | claude | .claude/skills/excalidraw-diagram | ~/.claude/skills/excalidraw-diagram | | Cursor | cursor | .cursor/skills/excalidraw-diagram | ~/.cursor/skills/excalidraw-diagram | | Windsurf | windsurf | .windsurf/skills/excalidraw-diagram | ~/.windsurf/skills/excalidraw-diagram | | Antigravity | antigravity | .agents/skills/excalidraw-diagram | ~/.agents/skills/excalidraw-diagram | | GitHub Copilot | copilot | .github/prompts/excalidraw-diagram | ~/.github/skills/excalidraw-diagram | | Kiro | kiro | .kiro/steering/excalidraw-diagram | ~/.kiro/skills/excalidraw-diagram | | Codex | codex | .codex/skills/excalidraw-diagram | ~/.codex/skills/excalidraw-diagram | | Roo Code | roocode | .roo/skills/excalidraw-diagram | ~/.roo/skills/excalidraw-diagram | | Qoder | qoder | .qoder/skills/excalidraw-diagram | ~/.qoder/skills/excalidraw-diagram | | Gemini CLI | gemini | .gemini/skills/excalidraw-diagram | ~/.gemini/skills/excalidraw-diagram | | Trae | trae | .trae/skills/excalidraw-diagram | ~/.trae/skills/excalidraw-diagram | | OpenCode | opencode | .opencode/skills/excalidraw-diagram | ~/.opencode/skills/excalidraw-diagram | | Continue | continue | .continue/skills/excalidraw-diagram | ~/.continue/skills/excalidraw-diagram | | CodeBuddy | codebuddy | .codebuddy/skills/excalidraw-diagram | ~/.codebuddy/skills/excalidraw-diagram| | Droid (Factory) | droid | .factory/skills/excalidraw-diagram | ~/.factory/skills/excalidraw-diagram | | KiloCode | kilocode | .kilocode/skills/excalidraw-diagram | ~/.kilocode/skills/excalidraw-diagram | | Warp | warp | .warp/skills/excalidraw-diagram | ~/.warp/skills/excalidraw-diagram | | Augment | augment | .augment/skills/excalidraw-diagram | ~/.augment/skills/excalidraw-diagram |

Aliases

Common typos and alternate names are accepted:

| Alias | Resolves to | | ---------------- | ----------- | | openai | codex | | gemni, gemimi| gemini | | roo, roo-code| roocode | | github-copilot | copilot | | kilo-code | kilocode | | code-buddy | codebuddy |

Usage

After installation, ask your assistant for an Excalidraw diagram:

Use $excalidraw-diagram to create an Excalidraw architecture diagram for my data pipeline.

The skill guides the assistant to plan the visual argument, create .excalidraw JSON, render a PNG preview, inspect it, and iterate.

Viewing Generated Diagrams

AI assistants generate .excalidraw JSON files. You can view them in any of these ways:

  • Render a PNG preview with the bundled renderer. See Renderer Setup, then run the renderer against your .excalidraw file.
  • Open the .excalidraw file in VS Code with an Excalidraw extension installed.
  • Import the file into Excalidraw by opening the site and dragging the .excalidraw file onto the canvas, or using the menu to open a local file.

Renderer Setup

The skill can render .excalidraw files to PNG using Playwright and Chromium:

python -m pip install -r .codex/skills/excalidraw-diagram/scripts/requirements.txt
python -m playwright install chromium

Then render:

python .codex/skills/excalidraw-diagram/scripts/render_excalidraw.py path/to/diagram.excalidraw

The renderer imports Excalidraw's browser bundle, so first-time rendering may require network access.

Repository Layout

skills/excalidraw-diagram/      # Bundled SKILL.md skill
  agents/                        # Agent-specific YAML configs (one per assistant)
  references/                    # Color palette, element templates, JSON schema
  scripts/                       # Python renderer (Playwright + Chromium)
bin/excalidraw-skill.js          # npm installer CLI
skill.json                       # Skill metadata
package.json                     # npm package metadata

License

MIT

Author

Dave Nguyen