excalidraw-automate
Skill by zsviczian
Writes, modifies and explains ExcalidrawAutomate scripts for Obsidian.md. Use it when you need to create or change an Excalidraw script. It is aimed at users who script Excalidraw inside Obsidian.
Install excalidraw-automate
Built from the published package, never by AI.
git clone --depth 1 https://github.com/zsviczian/obsidian-excalidraw-plugin /tmp/obsidian-excalidraw-plugin && mkdir -p ~/.claude/skills && cp -r /tmp/obsidian-excalidraw-plugin/docs/AITrainingData/excalidraw-automate ~/.claude/skills/excalidraw-automateRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/zsviczian/obsidian-excalidraw-plugin /tmp/obsidian-excalidraw-plugin && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/obsidian-excalidraw-plugin/docs/AITrainingData/excalidraw-automate ~/.gemini/antigravity-cli/skills/excalidraw-automateAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install excalidraw-automate in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The excalidraw-automate skill gives an AI assistant the reference material it needs to write and change ExcalidrawAutomate scripts for Obsidian.md. Excalidraw-Obsidian is an Obsidian plugin built on the open source Excalidraw component, and ExcalidrawAutomate is its scripting API for automating tasks inside Excalidraw. The skill points the assistant to type definitions, API usage notes, ExcalidrawLib signatures and startup examples in the plugin repository.
The skill also sets rules for generated code. Scripts should prefer ea methods over window.ExcalidrawLib, avoid native browser dialogs in favor of Obsidian modals, and use FloatingModal for dialog windows. It covers customData handling, sidepanel tabs and version checks. It is meant for users who want to create, modify or understand an Excalidraw script for Obsidian.
Written from the project's SKILL.md and checked against it.
What it can do
- Create scriptsWrites new ExcalidrawAutomate scripts for Obsidian.md from the user's requirements.
- Modify scriptsChanges existing Excalidraw scripts based on the user's request.
- Explain scriptsHelps the user understand how an existing Excalidraw script works.
- Modal dialogsBuilds FloatingModal dialogs or Obsidian modals instead of native browser dialogs.
- Sidepanel tabsGuides scripts that stay open across multiple Excalidraw views using sidepanel tabs.
- Element dataShows how to store data in customData and hide elements by setting opacity.
What you need
- Obsidian.md
- Excalidraw-Obsidian plugin
Try asking
- Write an Excalidraw script for Obsidian that adds a labeled rectangle to the view.
- Modify this ExcalidrawAutomate script so it uses an Obsidian modal instead of confirm().
- Explain what this Excalidraw script does and how it uses ea.targetView.
Good to know
- ea.getExcalidrawAPI() is only available when ea.targetView is set.
- Persisted sidepanel scripts are restored without a bound view and must wait for onFocus.
- Scripts must not use window.confirm, window.alert, window.prompt or the global confirm(), alert() and prompt() functions.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: docs/AITrainingData/excalidraw-automate/SKILL.md, docs/AITrainingData/excalidraw-automate/references/scripts/Mindmap Builder.js. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md34 KB -
references/api-usage-index.md59 KB -
references/excalidraw-lib-functions.md16 KB -
references/scripts/Add Connector Point.md825 B -
references/scripts/Add Link to Existing File and Open.md2 KB
Show all 93 files
-
references/scripts/Add Link to New Page and Open.md3 KB -
references/scripts/Add Next Step in Process.md4 KB -
references/scripts/Auto Layout.md12 KB -
references/scripts/Boolean Operations.md12 KB -
references/scripts/Box Each Selected Groups.md6 KB -
references/scripts/Box Selected Elements.md2 KB -
references/scripts/Capture Note.md116 KB -
references/scripts/Change shape of selected elements.md2 KB -
references/scripts/Comicbook Callout Editor.md91 KB -
references/scripts/Concatenate lines.md5 KB -
references/scripts/Connect elements.md3 KB -
references/scripts/Convert freedraw to line.md2 KB -
references/scripts/Convert selected text elements to sticky notes.md3 KB -
references/scripts/Convert text to link with folder and alias.md1 KB -
references/scripts/Copy Selected Element Styles to Global.md2 KB -
references/scripts/Create new markdown file and embed into active drawing.md1 KB -
references/scripts/Crop Vintage Mask.md3 KB -
references/scripts/Custom Zoom.md770 B -
references/scripts/Darken background color.md2 KB -
references/scripts/Deconstruct selected elements into new drawing.md24 KB -
references/scripts/Elbow connectors.md3 KB -
references/scripts/Ellipse Selected Elements.md2 KB -
references/scripts/ExcaliAI.md113 KB -
references/scripts/ExcaliMath.md44 KB -
references/scripts/Excalidraw Collaboration Frame.md659 B
And 63 more files on GitHub.
Alternatives to excalidraw-automate
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
excalidraw-automate: common questions
Does this skill need the Excalidraw plugin for Obsidian?
The source describes ExcalidrawAutomate as the scripting API of the Excalidraw-Obsidian plugin, and scripts run inside it. Version checks use ea.verifyMinimumPluginVersion().
Which API should generated scripts prefer?
The source says that if a task can be done with ea methods, ea should be preferred over window.ExcalidrawLib.
Can scripts show confirm or alert dialogs?
No. The source says scripts must not use native browser dialogs and should create an Obsidian modal for confirmations and alerts.
How do I install excalidraw-automate?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is excalidraw-automate free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is excalidraw-automate safe to use?
It scores 90 of 100. Grades: maintenance A, licence C, quality A. 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 excalidraw-automate?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
