electron

Automate Electron desktop app UI interactions via the Chrome DevTools Protocol.

Updated Apr 29, 2026
One-click install
npx skills add https://github.com/dev-khoi/conHack-2026 --skill electron-dev-khoi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: electron
Source: https://github.com/dev-khoi/conHack-2026/tree/main/.opencode/skills/electron
Command: npx skills add https://github.com/dev-khoi/conHack-2026 --skill electron-dev-khoi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via the Chrome DevTools Protocol. Use when you need to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application.

Core Features & Use Cases

  • Launch Electron apps with remote debugging enabled, connect agent-browser to the CDP port, snapshot UI, and interact with elements.
  • Automate cross-app interactions for popular Electron apps such as Slack, VS Code, Discord, Figma, Notion, and Spotify.
  • Re-snapshot and drive deterministic UI actions to support testing, demos, and scripted automation tasks.

Quick Start

Launch the target Electron app with remote debugging enabled, connect agent-browser to the CDP port, then snapshot and interact with UI elements.

Frequently Asked Questions about electron

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Electron desktop apps using the Chrome DevTools Protocol?

Automate Electron desktop apps by launching the target app with remote debugging enabled, connecting agent-browser to the CDP port, snapshotting UI elements, and driving deterministic interactions via the Chrome DevTools Protocol. This enables automated control and testing for apps like VS Code, Slack, and Discord.

Can I use agent-browser to test UI interactions in Slack or VS Code?

Yes, you can test UI interactions in Slack, VS Code, Discord, Figma, Notion, and Spotify. The automation approach connects agent-browser to the app's CDP port to snapshot elements and execute deterministic UI actions, supporting scripted testing and demo workflows.

What is the best way to connect to a running Electron app for automation?

The best way to connect to a running Electron app for automation is ensuring the app is launched with remote debugging enabled, then establishing a CDP connection using agent-browser to snapshot UI elements and interact with them deterministically.

Does CDP automation work for cross-app interactions across popular Electron apps?

Yes, CDP automation works for cross-app interactions across popular Electron apps. It re-snapshots and drives deterministic UI actions for Slack, VS Code, Discord, Figma, Notion, and Spotify to support testing, demos, and scripted automation tasks.

Why do I need to enable remote debugging to automate my desktop application?

You need to enable remote debugging because the automation relies on the Chrome DevTools Protocol to establish a connection via agent-browser. This CDP connection is required to snapshot UI elements and perform deterministic scripted interactions within the desktop application.

What are the limitations of using CDP for desktop app automation?

A limitation of using CDP for desktop app automation is that the target Electron app must support remote debugging launch to establish a connection. The automation depends on re-snapshotting UI elements to drive deterministic actions, which may require handling dynamic UI changes.