electron-drive-skill
Skill by sickn33
Drives a project's Electron app through Playwright on a scratch profile. It lets an assistant click, type, take screenshots, run renderer or main-process code and read logs. Built for verifying UI changes end to end.
Install electron-drive-skill
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/electron-drive-skill ~/.claude/skills/electron-drive-skillRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/electron-drive-skill ~/.gemini/antigravity-cli/skills/electron-drive-skillAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install electron-drive-skill in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Electron Drive Skill launches a project's Electron app under Playwright in a background daemon and keeps it running between commands. Each action, such as a click, type, snapshot, screenshot or eval, is one shell call. Every launch uses a scratch profile that redirects Electron userData, so an assistant can check a UI change or reproduce a bug in the real app.
The assistant can take accessibility snapshots, click, fill, wait, capture screenshots, read logs, and run code in the renderer or the main process. Launch settings come from an optional drive.config.json file. Dev mode can attach to a renderer dev server for hot reload and source maps. The skill is aimed at developers who need to verify UI changes end to end in an Electron app. It is not a sandbox and does not replace a project's own test suite.
Written from the project's SKILL.md and checked against it.
What it can do
- start and stopLaunches the project's Electron app in a background daemon and stops it when finished.
- snapshotPrints the accessibility tree so the assistant can find elements by role and name.
- click, fill and waitClicks elements, fills text fields and waits for text using Playwright selectors.
- screenshotCaptures the app window as a PNG file the assistant can read.
- logsShows main and renderer console output, plus the configured log file.
- evalRuns JavaScript in the renderer, including calls through the preload bridge.
- mainRuns JavaScript in the Electron main process with electron and process in scope.
- dev modeLaunches against a renderer dev server with hot reload and source maps.
What you need
- Node.js 18 or later
- electron installed in the project
- playwright-core 1.49 or later installed in the project
- Built-in Windows PowerShell for ACL checks on Windows
Try asking
- Launch the app with a fresh profile and check the first-run screen.
- Click the Settings button and take a screenshot of the window.
- Read the renderer and main logs after I change the login form.
Good to know
- Commands act on one window, the first that is not DevTools. Multi-window flows are not supported.
- Only one app can run at a time per project.
- The process-tree kill used by stop is POSIX only. On Windows, run it with node.
- A scratch profile is not a filesystem or network sandbox.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/electron-drive-skill/SKILL.md, skills/electron-drive-skill/scripts/daemon.mjs, skills/electron-drive-skill/scripts/drive.mjs, skills/electron-drive-skill/scripts/lib.mjs, skills/electron-drive-skill/scripts/lib.test.mjs. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
LICENSE1 KB -
README.md7 KB -
SKILL.md10 KB -
drive.config.json.example201 B -
package.json753 B
Show all 9 files
-
scripts/daemon.mjs12 KB -
scripts/drive.mjs9 KB -
scripts/lib.mjs8 KB -
scripts/lib.test.mjs2 KB
Alternatives to electron-drive-skill
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
electron-drive-skill: common questions
Does it touch my real app data?
Each launch redirects userData to a scratch profile. Other data paths are redirected only if drive.config.json sets them through env, so check them before anything writes data.
Can it test flows across multiple windows?
No. The source says commands act on the first window that is not DevTools, and multi-window flows are excluded.
Is the scratch profile a sandbox?
No. The source says it redirects Electron userData but is not a filesystem or network sandbox, so the app keeps network access.
How do I install electron-drive-skill?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is electron-drive-skill free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is electron-drive-skill safe to use?
It scores 89 of 100. Grades: maintenance A, licence A, 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 electron-drive-skill?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
