obsidian-excalidraw-cli
Skill by zsviczian
Discovers, creates, inspects, edits and exports Obsidian Excalidraw drawings through the running Obsidian app's native CLI. It is for people who want AI assistance with local vault drawing tasks. Each write is revision-checked and visual output can be verified.
Install obsidian-excalidraw-cli
Built from the published package, never by AI.
git clone --depth 1 https://github.com/zsviczian/obsidian-excalidraw-cli /tmp/obsidian-excalidraw-cli && mkdir -p ~/.claude/skills && cp -r /tmp/obsidian-excalidraw-cli ~/.claude/skills/obsidian-excalidraw-cliRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install obsidian-excalidraw-cli in Claude Code
git clone --depth 1 https://github.com/zsviczian/obsidian-excalidraw-cli /tmp/obsidian-excalidraw-cli && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/obsidian-excalidraw-cli ~/.gemini/antigravity-cli/skills/obsidian-excalidraw-cliAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install obsidian-excalidraw-cli in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill lets an AI assistant work with Excalidraw drawings inside a local Obsidian vault. It controls the running Obsidian app through its native CLI, not Excalidraw+ or a standalone renderer. The assistant first runs read-only discovery to confirm the vault, plugin version and available commands, then creates, opens, reads, edits or exports drawings.
Writes are designed to be safe. New drawings are created only at unused paths and are never overwritten. Edits use revision numbers and actual element IDs, and the source asks the assistant to check the status and persistence fields of every response. Preview exports go to explicit SVG or PNG paths. The bundle is intended for users who run Obsidian desktop with the Excalidraw plugin and want an assistant to draw, revise and check vault diagrams.
Written from the project's SKILL.md and checked against it.
What it can do
- DiscoverChecks the vault, plugin readiness, Excalidraw version and available commands before drawing.
- CreateCreates a new drawing at an unused exact .excalidraw.md path without overwriting existing files.
- InspectLists drawings and reads them from disk or from a live open view without saving changes.
- EditApplies narrow changes to an open drawing using its revision and element IDs.
- ExportExports drawings to explicit SVG or PNG paths for visual checks.
- Lucide iconsInserts installed Lucide icons into drawings through native commands.
- Mermaid and SVGCovers Mermaid diagrams and editable SVG import with stated fidelity limits.
- Trusted scriptsRuns reviewed local Extended API scripts inside Obsidian when the user authorizes them.
What you need
- Obsidian desktop app running
- Obsidian Excalidraw plugin 2.29.1 or higher
- Obsidian native CLI enabled (desktop API 1.12.2+)
- Node.js for the local doctor and helper scripts
Try asking
- Check whether my vault Work is ready for Excalidraw drawing tasks
- Create a new flowchart drawing at Projects/plan.excalidraw.md
- Export my system architecture drawing to an SVG preview
Good to know
- Requires the Obsidian desktop app to be running. Repository access alone is not enough.
- Create never overwrites. Replacing an existing export needs separate explicit permission.
- Diagram kinds other than Mermaid may render as SVG images, and SVG to native conversion is lossy.
- Trusted scripts are arbitrary code, not a sandbox or transaction.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to obsidian-excalidraw-cli
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
obsidian-excalidraw-cli: common questions
Does this work with Excalidraw+ or a standalone Excalidraw renderer?
No. The source says it controls the running Obsidian app, not Excalidraw+ or a standalone renderer.
Can the assistant overwrite my existing drawings?
New drawings are created only at unused paths and never overwrite. Edits to existing drawings go through revision checks, and replacing an exported output requires separate permission.
What happens if a drawing write times out?
The source says to query the result with the original request ID and read back the live or disk state before any other write. Uncertain mutations are not retried automatically.
How do I install obsidian-excalidraw-cli?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is obsidian-excalidraw-cli free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is obsidian-excalidraw-cli safe to use?
It scores 65 of 100. Grades: maintenance A, licence C, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to obsidian-excalidraw-cli?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
