electron
Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include "automate Slack app", "control VS Code", "interact with Discord app", "test this Electron app", "connect to desktop app", or any task requiring automation of a native Electron application.
Install
git clone https://github.com/vercel-labs/agent-browser /tmp/agent-browser && ln -s /tmp/agent-browser/skill-data/electron ~/.claude/skills/electron
From README
Electron App Automation Automate any Electron desktop app using agent-browser. Electron apps are built on Chromium and expose a Chrome DevTools Protocol (CDP) port that agent-browser can connect to, enabling the same snapshot-interact workflow used for web pages. Core Workflow Launch the Electron app with remote debugging enabled Connect agent-browser to the CDP port Snapshot to discover interactive elements Interact using element refs Re-snapshot after navigation or state changes Launching Electron Apps with CDP Every Electron app supports the --remote-debugging-port flag since it's built into Chromium. macOS Linux Windows Important: If the app is already running, quit it first, then relaunch with the flag. The --remote-debugging-port flag must be present at launch time. Connecting After connect, all subsequent commands target the connected app without needing --cdp. Tab Management Electron apps often have multiple windows or webviews.
