# Excalidraw Diagrams - Local PNG

> Guide AI agents from editable Excalidraw JSON to local PNG diagrams without a cloud account.

Excalidraw Diagrams - Local PNG is a free AI agent skill on Agensi by haxsd, in Technical Documentation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [haxsd](https://www.agensi.io/creators/haxsd)
- Category: [Technical Documentation](https://www.agensi.io/skills/technical-documentation)
- Uses: 3
- Version: 1.0
- Last updated: 2026-10-14
- Security: scan passed (2026-10-14); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/excalidraw-diagrams-local-png
- Tags: documentation, automation, node-js, diagrams, excalidraw

## About this skill

A free, original wrapper skill maintained by haxsd / agent-skills contributors for creating structured diagrams with the external @excalidraw/cli. It focuses on architecture diagrams, flowcharts and labeled boxes and arrows, rather than artistic illustrations.

### What it teaches
- Describe nodes, labels and connections before building the scene.
- Create editable Excalidraw JSON using a bundled minimal example.
- Check element IDs, geometry, arrow connections and text settings.
- Render locally and visually inspect the PNG before claiming completion.
- Keep the editable source alongside the rendered output.

### Local-first workflow
The default workflow uses the CLI's local render command. It does not require an Excalidraw+ account, workspace API key, cloud upload or paid AI model. Complex scenes can be authored by the current agent; delegation is optional and depends on the host's available tools and user authorization.

### Requirements and language
Node.js 22+, an installed browser supported by the CLI and @excalidraw/cli are external prerequisites. Dependencies are not bundled and must be installed only with permission. Instructions are in Simplified Chinese; the listing is English. Consult the installed CLI's render --help for version-specific behavior and font mappings.

### What's included
SKILL.md, a minimal two-service scene, source metadata, standalone attribution and a copyright/distribution notice. The original skill text and scene are maintained in haxsd/agent-skills; the external CLI is separately MIT licensed and is not included. This is not an official Excalidraw product, and no endorsement is claimed.

### Evidence and limits
The package's ZIP structure, local Markdown links, scene JSON, unique element IDs and text settings have been checked. A CLI render was not completed during this submission preparation. The example below explains the bundled scene; it is not a screenshot or a claim that rendering was successfully tested. Inspect actual PNG output before relying on any generated diagram.

The free listing does not change ownership of the original skill text or automatically place it under the external CLI's MIT licence.

## Requires

- Node.js
- @excalidraw/cli

## Known limitations

Actual CLI rendering and CI/CD execution have not been validated for this release; the completed checks cover package structure, Markdown links and example JSON only. Requires external Node.js 22+, @excalidraw/cli and a compatible installed browser; dependencies are not bundled. CLI flags and fontFamily mappings can vary by version. Chinese label rendering must be inspected in the resulting PNG. Simplified Chinese instructions focus on structured diagrams, not complex illustration. No Excalidraw+ cloud workflow or paid AI service is needed by the default local path. This independently maintained skill is not an official Excalidraw product.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Excalidraw Diagrams - Local PNG skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill improve the standard Excalidraw workflow?

This independently maintained wrapper skill guides an AI agent through editable Excalidraw JSON, structural checks, local rendering with the external @excalidraw/cli, and visual inspection. It is not an official Excalidraw product. Rendering depends on the installed CLI and browser; successful export is not guaranteed by the instructions alone.

### What are the technical requirements to run this skill locally?

Node.js 22+, @excalidraw/cli and an installed browser supported by that CLI version are external requirements; none are bundled. Install dependencies only with permission. Local rendering does not require an Excalidraw+ account or paid AI API. The SKILL.md instructions are in Simplified Chinese. Check the installed CLI's render --help and font mappings before use.

### Can I customize the layout and elements of the generated diagrams?

Yes. The instructions guide an agent to edit node positions, labels, box sizes and arrow connections in Excalidraw JSON, starting from the bundled minimal scene. This is a guidance package, not a layout engine. Validate the JSON, render using your installed CLI, and inspect the resulting image for label visibility, overlap and arrow direction.

### Is this skill suitable for automated documentation in CI/CD pipelines?

It can inform a local documentation workflow, but this release has not been validated in CI/CD or by a completed CLI render. Automated environments must provide compatible Node.js, browser and CLI installations, appropriate process/file permissions, and output validation. Check those requirements in your own environment before relying on unattended execution.

### What file formats and styling options are supported for the output?

The intended deliverables are editable Excalidraw JSON and a locally rendered PNG. Available theme, scale, background and font options depend on the installed external CLI version; consult render --help rather than assuming flags work everywhere. Package and example JSON structure were checked, but actual rendering remains unverified for this release.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
