electron

electron is a skill for Claude Code from leeguooooo/chrome-use. It costs 112 tokens per session (1,649 once invoked), scanned A, original, from a forked repository, Apache-2.0.

A desktop-app automation skill for Electron applications, which are desktop programs built with the Chromium browser engine. It connects to apps such as VS Code, Slack, Discord, Figma, Notion, and Spotify through Chrome DevTools Protocol.

In plain words
What is it for?
Launching or connecting to a running Electron app, discovering its controls, clicking through workflows, and taking screenshots.
Why use it?
It lets browser-style automation control supported desktop apps instead of requiring manual interaction.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Launching or connecting to a running Electron app, discovering its controls, clicking through workflows, and taking screenshots.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leeguooooo/chrome-use/electron
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add leeguooooo/chrome-use --skill electron
Clone the repo
git clone --depth 1 https://github.com/leeguooooo/chrome-use

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for electron

README.md
[![agentmods](https://agentmods.dev/badge/skills/leeguooooo/chrome-use/electron/github.svg)](https://agentmods.dev/skills/leeguooooo/chrome-use/electron)
Your own site
<a href="https://agentmods.dev/skills/leeguooooo/chrome-use/electron"><img src="https://agentmods.dev/badge/skills/leeguooooo/chrome-use/electron/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for electron

Your own site · 80×15
<a href="https://agentmods.dev/skills/leeguooooo/chrome-use/electron"><img src="https://agentmods.dev/badge/skills/leeguooooo/chrome-use/electron.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,649 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin fork From a forked repository.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00112 $0.01649
Opus 5.5 $0.00045 $0.00660
Sonnet 5.5 $0.00022 $0.00330
Haiku 4.5 $0.00011 $0.00165

Measured 6d ago against content hash 5f2c46c1215f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

electron scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skill-data/electron/SKILL.md · 237 lines

How it starts

The opening of the file, as written. The whole thing — 237 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Electron App Automation

Automate any Electron desktop app using chrome-use. Electron apps are built on Chromium and expose a Chrome DevTools Protocol (CDP) port that chrome-use 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 chrome-use to the CDP port
  3. Snapshot to discover interactive elements
  4. Interact using element refs
  5. Re-snapshot after navigation or state changes
# Launch an Electron app with remote debugging
open -a "Slack" --args --remote-debugging-port=9222

# Connect chrome-use to the app
chrome-use connect 9222

# Standard workflow from here
chrome-use snapshot -i
chrome-use click @e5
chrome-use screenshot slack-desktop.png

Launching Electron Apps with CDP

Every Electron app supports the --remote-debugging-port flag since it's built into Chromium.

macOS

# Slack
open -a "Slack" --args --remote-debugging-port=9222

# VS Code
open -a "Visual Studio Code" --args --remote-debugging-port=9223

# Discord
open -a "Discord" --args --remote-debugging-port=9224

# Figma
open -a "Figma" --args --remote-debugging-port=9225

# Notion
open -a "Notion" --args --remote-debugging-port=9226

# Spotify
open -a "Spotify" --args --remote-debugging-port=9227

Linux

slack --remote-debugging-port=9222
code --remote-debugging-port=9223
discord --remote-debugging-port=9224

Windows

"C:\Users\%USERNAME%\AppData\Local\slack\slack.exe" --remote-debugging-port=9222
"C:\Users\%USERNAME%\AppData\Local\Programs\Microsoft VS Code\Code.exe" --remote-debugging-port=9223

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

# Connect to a specific port
chrome-use connect 9222

# Or use --cdp on each command
chrome-use --cdp 9222 snapshot -i

# Auto-discover a running Chromium-based app
chrome-use --auto-connect snapshot -i

Read the full file on GitHub · 237 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago Changed 5f2c46c1215f
  2. 1mo ago First seen · 237 lines · 112 tokens per session scan A 147a41b5d894

Subscribe to this mod's changes

electron is a skill published in the GitHub repository leeguooooo/chrome-use (202 stars, last pushed yesterday), licensed Apache-2.0. It adds 112 tokens to every session and 1,649 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It comes from a forked repository.

Related

Other skills, from other repositories

surf

Control Chrome browser via CLI for testing, automation, and debugging. Use when the user needs browser automation, screenshots, form filling, page inspection, network/CPU emulation, DevTools streaming, or AI queries via ChatGPT/Gemini/Perplexity/Grok/AI Studio.

nicobailon/surf-cli · 60 tokens

Agent Browser Automation

Fast Rust-based headless browser automation CLI with Node.js fallback for AI agents, featuring navigation, clicking, typing, snapshots, and structured commands optimized for agent workflows.

PramodDutta/qaskills · 37 tokens

Browser-Use Automation

CLI tool for persistent browser automation with multi-session support, featuring Chromium/Real/Remote browser modes, cookie management, JavaScript execution, and long-running automation workflows.

PramodDutta/qaskills · 38 tokens

cursor-browser

Drive Cursor IDE's built-in Browser Tab via cursor-browser-cli. Navigate, ref snapshots, click/type/fill/scroll/select-option by ref, wait-for, lock, screenshot, console/network/inspect. For Grok Build, Claude Code, Codex in Cursor terminal. Triggers: Cursor browser, Browser Tab, /cursor-browser, snapshot, under the…

bcharleson/cursor-browser-cli · 83 tokens

wbrowser

Use when a task needs a browser that is already signed in — reading a dashboard, checking a web app, filling a form, taking a screenshot of a real page, or debugging a site's console. Drives a real Chrome window the user signed into by hand, so no re-login and no API keys. Do not guess selectors; run wb read first and…

w-partners/Wbrowser · 81 tokens

ultimate-playwright

Browser automation via ultimate-playwright-mcp. Use when the agent needs to control a shared Chrome browser — open tabs, navigate, click, type, fill forms, take snapshots. Handles multi-user tab group isolation so multiple sessions can share one browser without interference. Use for web browsing, scraping, form…

pm990320/ultimate-playwright-mcp · 74 tokens