skillfed

electron

Control Electron-based desktop apps programmatically through a high-performance command-line interface built in Rust. This skill enables AI agents to interact with popular applications including Slack, VS Code, Discord, and Figma by automating clicks, text input, and navigation. Perfect for workflows requiring desktop app integration without manual intervention.

electron enables you to automate Electron-based desktop applications through a high-performance command-line interface built in Rust. You can programmatically control popular apps like Slack, VS Code, Discord, and Figma by automating clicks, text input, and navigation without manual intervention. The skill connects to running applications via Chrome DevTools Protocol, allowing you to interact with the app as if a user were controlling it directly.

AI-generated summary based on this skill's SKILL.md

39,346 2,572 Apache-2.0 updated by vercel-labs

Install

vercel-labs/agent-browser/electron · repository language: Rust

CLI (skillfed)coming soon
git clone https://github.com/vercel-labs/agent-browser
cp -r agent-browser/skill-data/electron ~/.claude/skills/electron

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How do I automate an Electron desktop app?

electron enables you to automate Electron-based desktop applications through a high-performance command-line interface built in Rust. You can programmatically control popular apps like Slack, VS Code, Discord, and Figma by automating clicks, text input, and navigation without manual intervention. The skill connects to running applications via Chrome DevTools Protocol, allowing you to interact with the app as if a user were controlling it directly.

Can electron help me test Electron applications?

Yes, electron is designed for testing Electron applications by providing capabilities to take screenshots, extract data from the interface, and fill forms programmatically. This makes it ideal for automated testing workflows where you need to verify application behavior, validate UI elements, and ensure data flows correctly through your Electron app without requiring manual QA steps.

What is the connection method between electron and running desktop apps?

electron connects to and controls running native desktop apps via Chrome DevTools Protocol (CDP). This protocol-based connection allows the skill to communicate with Electron applications that are already running, enabling remote debugging and automation capabilities. The CDP connection provides a reliable channel for sending commands and receiving data from your desktop applications.

Can I control multiple Electron app instances at the same time with electron?

Yes, electron supports managing multiple Electron app instances simultaneously using named sessions. This allows you to orchestrate workflows across several applications or multiple instances of the same app, maintaining separate state and control for each session. This is particularly useful for complex automation scenarios involving coordination between different desktop applications.

Which desktop applications can electron automate?

electron excels at automating popular Electron-based applications including Slack, VS Code, Discord, Figma, and other Chromium-based desktop apps. Since electron uses Chrome DevTools Protocol for communication, it can work with any Electron application that supports remote debugging, making it versatile for a wide range of desktop automation and testing needs.

Does electron support interaction with webviews inside Electron applications?

Yes, electron can interact with webviews and embedded content within Electron applications. This capability allows you to automate not just the main application interface but also any embedded web content, giving you comprehensive control over the entire application environment including iframes and nested web components.

SKILL.md

rendered from the published skill — quoted content, verbatim

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

  1. Launch the Electron app with remote debugging enabled
  2. Connect agent-browser to the CDP port
  3. Snapshot to discover interactive elements
  4. Interact using element refs
  5. Re-snapshot after navigation or state changes

```bash

Launch an Electron app with remote debugging

open -a

(truncated - see the full file via the links below)

Read as markdown · JSON record · Browse the source repository

File tree — 1 file
skill-data/electron/SKILL.md

Related skills

Tags

desktop-automation chromium-based-apps native-app-control devtools-protocol webview-automation cross-platform-desktop application-testing remote-debugging