1. Habit
  2. Skills
  3. Electron skill
vercel-labs · 17K installs

Electron skill
Runs by itself, every time a new build is ready.

Every new build gets a quick test.

Install the Electron skill and make it a habit: follow https://gethabit.dev/skills/vercel-labs/electron.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

17K installs44K starsApache-2.0 licenceSource on GitHub ↗

Electron

by vercel-labs · 17K installs

The skill

Lets your agent use a desktop app built with Electron.

Only when you ask.

Fewer bugs

Every new build gets a quick test. You find broken screens before users do.

↻ Runs by itselfevery time a new build is ready

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after one app flow per run and at most 1 retry of a failed connect.

  1. 01

    Read the log

    The agent reads the debugging port and the flow steps from the last run.

  2. 02

    Launch with CDP

    It quits any running copy and relaunches the app with --remote-debugging-port.

  3. 03

    Connect

    It waits a few seconds, then runs agent-browser connect to the port.

  4. 04

    Snapshot

    It runs agent-browser snapshot -i and lists targets with agent-browser tab if there are webviews.

  5. 05

    Walk the flow

    It clicks, fills and presses through the short flow by element refs, re-snapshotting after each change.

  6. 06

    Capture and log

    It saves a screenshot and records the port and flow in the run log.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the Electron skill helps.

Use it when

  • ✓ You automate or test an Electron app
  • ✓ You drive a desktop app's UI from the command line
  • ✓ You snapshot a native app's screen

Skip it when

  • – The app is not built on Electron
  • – You only test a plain web page

Questions

Electron skill, answered.

Which apps work?

Any Electron app, since the --remote-debugging-port flag is built into Chromium.

Why does connect fail right after launch?

Some apps need a few seconds to start their webview, so the loop waits before connecting.

How do I install the Electron skill?

Copy the prompt at the top into your agent. It installs the skill from vercel-labs/agent-browser and sets up the habit. Or run npx skills add vercel-labs/agent-browser --skill electron.

Is the Electron skill free?

Yes. It is published under Apache-2.0. Habit is free too.

Electron. Now as a habit.

Install the Electron skill and make it a habit: follow https://gethabit.dev/skills/vercel-labs/electron.md

  • Free
  • No account
  • Undo in one line

All vercel-labs skills →More code skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by vercel-labs, published under Apache-2.0. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.