electron
Skill44k starsChanged 2 months agoApache-2.0View on GitHub
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.
12 other projects use a version of this, 9 of them edited; 6 of 9 edited versions we compared changed its rules; 0 new projects in the last 4 weeks, against 2 the 4 before.
How people change it
6 of 9 edited versions changed its rules, and some changes recur.
Of the 9 edited versions we compared: 3 keep every rule, 6 made changes of their own.
Rules people drop
- Every Electron app supports the
--remote-debugging-portflag since it's built into Chromium.dropped by 2 of 6 - Re-snapshot after navigation or state changesdropped by 1 of 6
- Important: If the app is already running, quit it first, then relaunch with the flag. The
--remote-debugging-portflag must be present at launch time.dropped by 1 of 6 - After
connect, all subsequent commands target the connected app without needing--cdp.dropped by 1 of 6 - Use named sessions to control multiple Electron apps at the same time:dropped by 1 of 6
- Make sure the app was launched with
--remote-debugging-port=NNNNdropped by 1 of 6 - Check that the port isn't in use by another process:
lsof -i :9222dropped by 1 of 6 - Wait a few seconds after launch before connecting (
sleep 3)dropped by 1 of 6
Rules people add
- Use
agent-browser snapshot -i -Cto include cursor-interactive elements (divs with onclick handlers)added by 4 of 6
We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.
Adopted by
Cooling: 0 new projects took it in the last 4 weeks, 0× the 4 weeks before.thin data
Most recently taken up by
- Quad4-Software/skillstheir own version, first seen Oct 3, 2026
- BytePioneer-AI/codex-hostedited, first seen Oct 2, 2026
- skillpie/ZCodeOnlineedited, first seen Sep 29, 2026
- ccbud/CCBuddyedited, first seen Sep 24, 2026
- ZCodium-project/ZCodiumedited, first seen Sep 20, 2026
- flpbalada/fb-skillsedited, first seen Aug 3, 2026
Who's talking about vercel-labs/agent-browser
- @skorfmann.com“agent-browser from Vercel Labs: A Rust-powered CLI that gives AI agents browser superpowers. The snapshot …”Bluesky · Jan 17, 2026 · 27 likes
- @psoheil.bsky.social“Instead of relying on traditional browser automation scripts, Agent Browser gives AI agents a structured …”Bluesky · Nov 8, 2026 · 14 likes
- NixOS/nixpkgs“agent-browser: init at 0.23.3”GitHub · Mar 9, 2026 · 6 reactions
- anomalyco/opencode“How to serve and display images in web UI?”GitHub · Mar 5, 2026 · 5 reactions
- @jmcodes.bsky.social“As someone building AI-native products, Exa + agent-browser has become a core part of my agent's stack. Exa …”Bluesky · Feb 28, 2026 · 5 likes
The biggest 5 of 103 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 103
Talked about on GitHub, Bluesky and Hacker News (103 times).
On GitHub · 50
- Mar 9, 2026agent-browser: init at 0.23.3 — NixOS/nixpkgs6 reactions · 11 comments
- Mar 5, 2026How to serve and display images in web UI? — anomalyco/opencode5 reactions · 3 comments
- Jan 27, 2026Add agent-browser to default trusted dependencies — oven-sh/bun5 reactions · 2 comments
- Jun 28, 2026agent-browser: 0.27.0 -> 0.31.1 — NixOS/nixpkgs2 reactions · 5 comments
- May 18, 2026chore(deps): bump the npm_and_yarn group across 4 directories with 21 updates — HarleyCoops/hermes-agent2 reactions · 3 comments
45 more on GitHub
- Apr 30, 2026Agent fails with `Failed to start CDP` on Linux — `/json/version` returns 404 on default user-data-dir (Chromium 146 regression) — browseros-ai/BrowserOS2 reactions · 4 comments
- Feb 17, 2026Refactor mise skills report task alias — jey3dayo/dotfiles2 reactions · 2 comments
- Nov 21, 2026docs(skills): vendor complete Agent Browser skills and align QA — carterdea/dots1 reaction · 2 comments
- Nov 18, 2026feat: 浏览器基础技能适配与持续优先更新机制 — seaworld008/Commonly-used-high-value-skills1 reaction · 1 comment
- Oct 26, 2026[Feature]: Attach ego-browser to external Electron apps via CDP — citrolabs/ego-lite1 reaction
- Oct 21, 2026feature: better support for headless browser — demigodmode/pi-web-agent1 reaction · 1 comment
- Sep 21, 2026chore(deps): bump the development-minor-patch group across 1 directory with 8 updates — MarcosCamara01/ecommerce-template1 reaction · 2 comments
- Sep 14, 2026chore(deps): bump the development-minor-patch group with 7 updates — MarcosCamara01/ecommerce-template1 reaction · 2 comments
- Sep 8, 2026chore(deps): bump the development-minor-patch group with 9 updates — MarcosCamara01/ecommerce-template1 reaction · 3 comments
- Sep 3, 2026chore(deps): bump the minor-and-patch group with 14 updates — mcowger/plexus1 reaction
- Aug 20, 2026chore(deps): bump the minor-and-patch group across 1 directory with 9 updates — mcowger/plexus1 reaction · 1 comment
- Jul 20, 2026Support CloakBrowser as stealth Chromium backend for agent-browser skill — ahmadrosid/nakama1 reaction
- Jun 25, 2026[next-dev-loop] Fix some papercuts — vercel/next.js1 reaction · 2 comments
- May 11, 2026[BUG] Wrong .metadata.json after `skillshare update --all` — runkids/skillshare1 reaction · 2 comments
- May 6, 2026Split skill installs from hiring with new canManageSkills permission — paperclipai/paperclip1 reaction · 1 comment
- Mar 25, 2026Create a CLI for it check https://github.com/vercel-labs/agent-browser — appclawhq/AppClaw1 reaction · 1 comment
- Mar 23, 2026fix: prevent state commands from starting daemon without session_name (#677) — hyunjinee/agent-browser1 reaction · 1 comment
- Mar 9, 2026✨ feat(agent-browser): add browser automation skill and tool detection — lobehub/lobehub1 reaction · 4 comments
- Mar 9, 2026[security](deps-dev): bump agent-browser from 0.9.0 to 0.17.0 — jscraik/Design-System1 reaction · 2 comments
- Mar 4, 2026Compare with agent-browser — pinchtab/pinchtab1 reaction · 2 comments
- Feb 13, 2026chore(deps)(deps-dev): Bump the development-dependencies group with 18 updates — jscraik/Design-System1 reaction · 4 comments
- Jan 28, 2026chore(deps)(deps-dev): Bump the development-dependencies group across 1 directory with 21 updates — jscraik/Design-System1 reaction · 4 comments
- Jan 28, 2026Add Recommended Skills section with agent-browser — jellydn/my-ai-tools1 reaction · 2 comments
- Jan 28, 2026Add new sections for recommend skill, start with https://github.com/vercel-labs/agent-browser — jellydn/my-ai-tools1 reaction
- Nov 22, 2026Bump agent-browser from 0.27.0 to 0.43.0 in /business-desk — foralishalolz/hrmotorsedit0 reactions · 1 comment
- Nov 22, 2026Bump agent-browser from 0.42.0 to 0.43.0 in the npm group — HatimZafr/screen-relay0 reactions
- Nov 20, 2026chore(deps): bump agent-browser from 0.41.1 to 0.43.0 in /npm/agent-qa — rasmusjosefsson/agent-qa0 reactions · 1 comment
- Nov 19, 2026chore(deps): bump agent-browser from 0.39.2 to 0.43.0 — jaysteel-bit/Exo-AI0 reactions
- Nov 14, 2026agent-browser as a managed tier: not adopted, re-evaluation tracker — openabdev/openab-computer0 reactions · 6 comments
- Nov 12, 2026【总控】T-017 直控 node-3 浏览器自动化 PoC:P0 只读可行性核验(node-1) — xy3293/muse-hub0 reactions
- Nov 12, 2026Github trending [vercel-labs/agent-browser] 4.98万⭐ 给 Agent 的脚本化浏览器:页面读成无障碍树、元素挂 @e1 ref,一步一动作一验证 — web1992/github-trending0 reactions
- Nov 11, 2026Github trending [vercel-labs/agent-browser] 4.92万⭐ Vercel Agent 浏览器 CLI:snapshot + @e1 一步一验证,v0.42.0 出平台原生二进制 — web1992/github-trending0 reactions
- Nov 9, 2026chore(deps): bump agent-browser from 0.27.0 to 0.41.2 in /v3/@claude-flow/browser — clange78/Agents0 reactions · 1 comment
- Nov 8, 2026Github trending [vercel-labs/agent-browser] Vercel 出的 Agent 专用浏览器 CLI:Rust 原生,页面读成紧凑文本+@e1 元素引用,一条命令走一步,4.68万⭐ — web1992/github-trending0 reactions
- Nov 4, 2026nov 2026 — kimtth/azure-openai-llm-notes0 reactions
- Oct 17, 2026Context-aware plugin suggestions: frontend-design, Strix, agent-browser and AAS catalog — ErenTahiroglu/AI-Toolchain-Manager0 reactions
- Oct 10, 2026Research and select DID framework/blockchain platform — p2arthur/team-agent-bond0 reactions
- Oct 5, 2026Can't find Chrome installed in ~/Applications on macOS — 265866/agent-browser0 reactions
- Oct 5, 2026[bug] Windows ARM64 release asset missing — postinstall creates 0-byte placeholder causing "cannot run on this PC" dialog — 265866/agent-browser0 reactions · 1 comment
- Oct 5, 2026Window install failed from source — 265866/agent-browser0 reactions · 1 comment
- Oct 2, 2026Prevent unattended agent-browser sessions from exhausting host RAM and swap — alex-mextner/ha-configs-rs-bg-spomenik0 reactions · 1 comment
- Jul 29, 2026[Feature] 内置工具开关 — OpenMinis/OpenMinis0 reactions
- Jul 12, 2026Known issue: agent-browser clicks can miss wrapped inline links — lklyne/specular0 reactions
- Jul 11, 2026Explore using Vercel-Labs agent-browser to test a web GUI — jtigger/ai-zk0 reactions
- Jun 10, 2026Add 'browse' — jason-riddle/tools0 reactions
On Bluesky · 50
- Jan 17, 2026agent-browser from Vercel Labs: A Rust-powered CLI that gives AI agents browser superpowers. The snapshot command returns an accessibility… — @skorfmann.com27 likes and reposts · 3 replies
- Nov 8, 2026Instead of relying on traditional browser automation scripts, Agent Browser gives AI agents a structured way to navigate websites,… — @psoheil.bsky.social14 likes and reposts · 4 replies
- Feb 28, 2026As someone building AI-native products, Exa + agent-browser has become a core part of my agent's stack. Exa gets them the right docs fast,… — @jmcodes.bsky.social5 likes and reposts
- Jun 20, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 vercel-labs / agent-browser ⭐ 36,529 (+103) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social4 likes and reposts
- Nov 21, 2026vercel-labs / agent-browser: Browser automation CLI for AI agents ★53194 https://github.com/vercel-labs/agent-browser — @rusttrending.bsky.social3 likes and reposts
45 more on Bluesky
- Nov 7, 2026vercel-labs / agent-browser: Browser automation CLI for AI agents ★46623 https://github.com/vercel-labs/agent-browser — @rusttrending.bsky.social3 likes and reposts
- Aug 19, 2026📦 vercel-labs / agent-browser ⭐ 40,943 (+78) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social3 likes and reposts
- Jul 16, 2026📦 vercel-labs / agent-browser ⭐ 38,578 (+83) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social3 likes and reposts
- Jul 7, 2026vercel-labs / agent-browser: Browser automation CLI for AI agents ★38008 https://github.com/vercel-labs/agent-browser — @rusttrending.bsky.social3 likes and reposts
- May 9, 2026vercel-labs / agent-browser: Browser automation CLI for AI agents ★32340 https://github.com/vercel-labs/agent-browser — @rusttrending.bsky.social3 likes and reposts
- Nov 11, 2026今日のGitHubトレンド vercel-labs/agent-browser AIエージェント向けのブラウザ自動化ツールです。 Rust製のCLIを通じて、ページの閲覧や要素の操作をコマンド単位で実行できます。… — @dailygithubtrends.bsky.social2 likes and reposts
- Nov 7, 2026agent-browser — Browser automation CLI for AI agents Link: https://github.com/vercel-labs/agent-browser #OpenSource #GitHub #DevTools — @thestackradar.bsky.social2 likes and reposts
- Sep 5, 2026vercel-labs / agent-browser: Browser automation CLI for AI agents ★41985 https://github.com/vercel-labs/agent-browser — @rusttrending.bsky.social2 likes and reposts
- Aug 22, 2026vercel-labs / agent-browser: Browser automation CLI for AI agents ★41098 https://github.com/vercel-labs/agent-browser — @rusttrending.bsky.social2 likes and reposts
- Jul 22, 2026vercel-labs / agent-browser: Browser automation CLI for AI agents ★38905 https://github.com/vercel-labs/agent-browser — @rusttrending.bsky.social2 likes and reposts · 1 reply
- Jul 21, 2026📦 vercel-labs / agent-browser ⭐ 38,893 (+77) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social2 likes and reposts
- Jun 24, 2026📦 vercel-labs / agent-browser ⭐ 37,015 (+96) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social2 likes and reposts
- Jun 4, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 vercel-labs / agent-browser ⭐ 35,194 (+105) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social2 likes and reposts · 1 reply
- Mar 16, 2026vercel-labs / agent-browser: Browser automation CLI for AI agents ★0 https://github.com/vercel-labs/agent-browser — @rusttrending.bsky.social2 likes and reposts
- Feb 20, 2026Meet agent-browser, a CLI for automating web tasks for AI agents with a fast Rust binary and various commands for navigation and data… — @ai-linkstream.bsky.social2 likes and reposts
- Feb 2, 2026Today I learned - The agent-browser headless browser automation CLI for AI agents as a replacement for Playwright MCP. Developed by Vercel.… — @dimitristrechas.bsky.social2 likes and reposts
- Jan 14, 2026📢 vercel-labs/agent-browser: Browser automation CLI for AI agents #veille — @camilleroux.com2 likes and reposts
- Nov 10, 2026vercel-labs' agent-browser CLI lets AI agents interact with browsers via commands like open, click, and snapshot, using a background daemon… — @beyond-the-prompt.bsky.social1 likes and repost
- Nov 9, 2026今日のGitHubトレンド vercel-labs/agent-browser AIエージェントがブラウザを操作するためのRust製CLIツールです。 ページをアクセシビリティツリー形式のテキストで取得し、要素ごとの参照番号を用いてシェルから操作できます。… — @dailygithubtrends.bsky.social1 likes and repost · 1 reply
- Nov 1, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 vercel-labs / agent-browser ⭐ 45,093 (+112) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- Oct 28, 2026📦 vercel-labs / agent-browser ⭐ 44,746 (+66) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- Oct 24, 2026📦 vercel-labs / agent-browser ⭐ 44,513 (+49) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- Oct 8, 2026📦 vercel-labs / agent-browser ⭐ 43,665 (+69) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- Sep 23, 2026📦 vercel-labs / agent-browser ⭐ 43,104 (+70) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- Sep 17, 2026📦 vercel-labs / agent-browser ⭐ 42,762 (+88) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- Sep 9, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 vercel-labs / agent-browser ⭐ 42,286 (+134) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- Sep 2, 2026📦 vercel-labs / agent-browser ⭐ 41,769 (+88) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- Aug 11, 2026📦 vercel-labs / agent-browser ⭐ 40,403 (+73) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- Aug 7, 2026vercel-labs / agent-browser: Browser automation CLI for AI agents ★40134 https://github.com/vercel-labs/agent-browser — @rusttrending.bsky.social1 likes and repost · 1 reply
- Aug 2, 2026📦 vercel-labs / agent-browser ⭐ 39,748 (+74) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- Jul 29, 2026📦 vercel-labs / agent-browser ⭐ 39,472 (+89) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- Jul 18, 2026🚀 GitHub Intelligence Drop agent-browser (Rust • 🟢) ⭐ 38.7K → https://github.com/vercel-labs/agent-browser lapce (Rust • 🟢) ⭐ 38.7K →… — @githubfeed.bsky.social1 likes and repost
- Jul 7, 2026📦 vercel-labs / agent-browser ⭐ 38,003 (+71) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- Jun 1, 2026https://github.com/vercel-labs/agent-browser — @sigmanor.net1 likes and repost
- May 23, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 vercel-labs / agent-browser ⭐ 34,050 (+151) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- May 19, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 vercel-labs / agent-browser ⭐ 33,446 (+121) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- May 9, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 vercel-labs / agent-browser ⭐ 32,360 (+196) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- Apr 5, 2026これ使ってみよう github.com/vercel-labs/... — @tomoyuki-mikami.bsky.social1 likes and repost
- Apr 4, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 vercel-labs / agent-browser ⭐ 26,826 (+421) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost · 1 reply
- Mar 31, 2026vercel-labs / agent-browser: Browser automation CLI for AI agents ★25774 https://github.com/vercel-labs/agent-browser — @rusttrending.bsky.social1 likes and repost
- Mar 24, 2026github.com/vercel-labs/... — @srcaballero.bsky.social1 likes and repost · 1 reply
- Mar 15, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 vercel-labs / agent-browser ⭐ 22,179 (+335) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost · 1 reply
- Mar 3, 2026github.com/vercel-labs/... is brilliant — @yejun.dev1 likes and repost
- Feb 22, 2026https://github.com/vercel-labs/agent-browser — @tom-doerr.bsky.social1 likes and repost
- Jan 14, 2026AIエージェント向けのヘッドレスブラウザ自動化CLI。 RustのCLIとNode.jsデーモン(Playwrightを利用)で構成され、クライアント・デーモン構造で動作する。 アクセシビリティツリーからAI向けに最適… ""… — @azu.bsky.social1 likes and repost · 1 reply
On Hacker News · 3
- Jan 25, 2026Agent-Browser by Vercel Labs2 points
- Jan 13, 2026Agent-browser by Vercel: Browser automation CLI for AI agents2 points
- Jan 12, 2026Headless browser automation CLI for AI agents from Vercel2 points
Used with
Projects with it also use architecture-governance, dep-refs and 3 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ZCodium-projectSkillarchitecture-governance
Apply the repository's architecture policy to code changes by generating a bounded context package, checking module and layer boundaries, and reporting baseline-aware violations. Use for any code change; skip for documentation-only work.
Also in 4 projects that use this
ZCodium-projectSkilldep-refs
Use when needs to inspect TypeScript export references in the z-code workspace, list exports from a file, verify whether an export is unused before deletion, investigate who imports a symbol during refactors, or combine pnpm knip unused-export results with pnpm dep:refs symbol-level reference tracing.
Also in 4 projects that use this
VercelSkillai-elements
Build AI chat interfaces using ai-elements components — conversations, messages, tool displays, prompt inputs, and more. Use when the user wants to build a chatbot, AI assistant UI, or any AI-powered chat interface.
Also in 4 projects that use this
VercelSkillvercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
Also in 3 projects that use this
- +1 more from ZCodium-project
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 9
- BytePioneer-AI/codex-host★ 2.7k83% same
- opral/flashtype★ 29495% same
- ZCodium-project/ZCodium★ 21596% same
- ccbud/CCBuddy★ 896% same
- flpbalada/fb-skills★ 829% same
- JayAI623/claude-code-config★ 298% same
- skillpie/ZCodeOnline★ 296% same
- foxl-ai/skills★ 095% same
- ludwighb/claude_skills★ 098% same
Wrote their own version · 3
- wende/macbeth★ 4same name
- LDKTC/Agent-P-FullStack★ 1same name
- Quad4-Software/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- examples/eve/AGENTS.mdAGENTS.md
- examples/eve/CLAUDE.mdCLAUDE.md
- agentcoreSkill
- coreSkill
- derive-clientSkill
- dogfoodSkill
- protected-vercel-deploymentsSkill
- slackSkill
- vercel-sandboxSkill
- webmcp-genSkill
- agent-browserSkill
The file
We split this skill into the rules it gives an agent
10 rules. 3 are common, 0 are distinctive, and 7 are very specific to this project.
3
Common
Most of the 12 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 17
Re-snapshot: after navigation or state changes
- Very specific: line 34
Every Electron app supports the --remote-debugging-port flag since it's built into Chromium.
- Very specific: line 73
Important: If the app is already running, quit it first, then relaunch with the flag.
- Very specific: line 88
After connect, all subsequent commands target the connected app without needing --cdp.
- Common: line 175
Use named sessions to control multiple Electron apps at the same time:
- Very specific: line 208
Make sure the app was launched with --remote-debugging-port=NNNN
- Common: line 209
If the app was already running, quit and relaunch with the flag
- Very specific: line 210
Check that the port isn't in use by another process: lsof -i :9222
- Very specific: line 214
Wait a few seconds after launch before connecting (sleep 3)
- Very specific: line 236
If an app is built with Electron, it supports --remote-debugging-port and can be automated with agent-browser.
“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
# Launch an Electron app with remote debugging
open -a "Slack" --args --remote-debugging-port=9222
# Connect agent-browser to the app
agent-browser connect 9222
# Standard workflow from here
agent-browser snapshot -i
agent-browser click @e5
agent-browser screenshot slack-desktop.pngLaunching 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=9227Linux
slack --remote-debugging-port=9222
code --remote-debugging-port=9223
discord --remote-debugging-port=9224Windows
"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=9223Important: 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
agent-browser connect 9222
# Or use --cdp on each command
agent-browser --cdp 9222 snapshot -i
# Auto-discover a running Chromium-based app
agent-browser --auto-connect snapshot -iAfter connect, all subsequent commands target the connected app without needing --cdp.
Tab Management
Electron apps often have multiple windows or webviews. Use tab commands to list and switch between them:
# List all available targets (windows, webviews, etc.)
agent-browser tab
# Switch to a specific tab by index
agent-browser tab 2
# Switch by URL pattern
agent-browser tab --url "*settings*"Webview Support
Electron <webview> elements are automatically discovered and can be controlled like regular pages. Webviews appear as separate targets in the tab list with type: "webview":
# Connect to running Electron app
agent-browser connect 9222
# List targets -- webviews appear alongside pages
agent-browser tab
# Example output:
# 0: [page] Slack - Main Window https://app.slack.com/
# 1: [webview] Embedded Content https://example.com/widget
# Switch to a webview
agent-browser tab 1
# Interact with the webview normally
agent-browser snapshot -i
agent-browser click @e3
agent-browser screenshot webview.pngNote: Webview support works via raw CDP connection.
Common Patterns
Inspect and Navigate an App
open -a "Slack" --args --remote-debugging-port=9222
sleep 3 # Wait for app to start
agent-browser connect 9222
agent-browser snapshot -i
# Read the snapshot output to identify UI elements
agent-browser click @e10 # Navigate to a section
agent-browser snapshot -i # Re-snapshot after navigationTake Screenshots of Desktop Apps
agent-browser connect 9222
agent-browser screenshot app-state.png
agent-browser screenshot --full full-app.png
agent-browser screenshot --annotate annotated-app.pngExtract Data from a Desktop App
agent-browser connect 9222
agent-browser snapshot -i
agent-browser get text @e5
agent-browser snapshot --json > app-state.jsonFill Forms in Desktop Apps
agent-browser connect 9222
agent-browser snapshot -i
agent-browser fill @e3 "search query"
agent-browser press Enter
agent-browser wait 1000
agent-browser snapshot -iRun Multiple Apps Simultaneously
Use named sessions to control multiple Electron apps at the same time:
# Connect to Slack
agent-browser --session slack connect 9222
# Connect to VS Code
agent-browser --session vscode connect 9223
# Interact with each independently
agent-browser --session slack snapshot -i
agent-browser --session vscode snapshot -iColor Scheme
The default color scheme when connecting via CDP may be light. To preserve dark mode:
agent-browser connect 9222
agent-browser --color-scheme dark snapshot -iOr set it globally:
AGENT_BROWSER_COLOR_SCHEME=dark agent-browser connect 9222Troubleshooting
"Connection refused" or "Cannot connect"
- Make sure the app was launched with
--remote-debugging-port=NNNN - If the app was already running, quit and relaunch with the flag
- Check that the port isn't in use by another process:
lsof -i :9222
App launches but connect fails
- Wait a few seconds after launch before connecting (
sleep 3) - Some apps take time to initialize their webview
Elements not appearing in snapshot
- The app may use multiple webviews. Use
agent-browser tabto list targets and switch to the right one
Cannot type in input fields
- Try
agent-browser keyboard type "text"to type at the current focus without a selector - Some Electron apps use custom input components; use
agent-browser keyboard inserttext "text"to bypass key events
Supported Apps
Any app built on Electron works, including:
- Communication: Slack, Discord, Microsoft Teams, Signal, Telegram Desktop
- Development: VS Code, GitHub Desktop, Postman, Insomnia
- Design: Figma, Notion, Obsidian
- Media: Spotify, Tidal
- Productivity: Todoist, Linear, 1Password
If an app is built with Electron, it supports --remote-debugging-port and can be automated with agent-browser.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

