agent-browser
Skill24k starsChanged 8 months agoMITView on GitHub
Browser automation CLI for AI agents. Use this when asked to test something in a real browser.
172 other projects use a version of this, 86 of them edited; 84 of 84 edited versions we compared changed its rules.
How people change it
84 of 84 edited versions changed its rules, and some changes recur.
Of the 84 edited versions we compared: 84 made changes of their own.
Rules people drop
- Use
--annotateto take a screenshot with numbered labels overlaid on interactive elements.dropped by 84 of 84 - When to chain: Use
&&when you don't need to read the output of an intermediate command before proceeding (e.g., open + wait + screenshot). …dropped by 43 of 84 - Always close your browser session when done:dropped by 43 of 84
- Interact: Use refs to click, fill, selectdropped by 28 of 84
- Every browser automation follows this pattern:dropped by 27 of 84
- Re-snapshot: After navigation or DOM changes, get fresh refsdropped by 25 of 84
Rules people add
- When refs are unavailable or unreliable, use semantic locators:added by 55 of 84
- A rule we can't quote: its licence doesn't allow itadded by 45 of 84
- A rule we can't quote: its licence doesn't allow itadded by 45 of 84
- A rule we can't quote: its licence doesn't allow itadded by 41 of 84
- A rule we can't quote: its licence doesn't allow itadded by 41 of 84
- A rule we can't quote: its licence doesn't allow itadded by 41 of 84
- A rule we can't quote: its licence doesn't allow itadded by 41 of 84
- A rule we can't quote: its licence doesn't allow itadded by 41 of 84
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.
Trending
Less talk lately.about the whole repository
Most recently taken up by
- instrument-org/skillstheir own version, first seen Oct 6, 2026
- BUGLAN/skillsedited, first seen Oct 6, 2026
- hmjBill/skillstheir own version, first seen Oct 5, 2026
- t0ddharris/compound-marketingtheir own version, first seen Oct 5, 2026
- AlperGuven/TRAE-Skillstheir own version, first seen Oct 5, 2026
- kortix-ai/sunatheir own version, first seen Oct 5, 2026
Who's talking about slopus/happy
- A Hacker News story“Show HN: Happy Coder – End-to-End Encrypted Mobile Client for Claude Code”Hacker News · Aug 14, 2025 · 30 points
- slopus/happy-cli“feat: add OpenCode integration support”GitHub · Jan 7, 2026 · 17 reactions
- @koki.me“これ面白そう GitHub - slopus/happy: Mobile and Web client for Codex and Claude Code, with realtime voice, …”Bluesky · Jan 5, 2026 · 9 likes
- slopus/happy-cli“Support for Claude Code 2.0 and Sonnet 4.5”GitHub · Sep 29, 2025 · 4 reactions
- @tako-yaki-man.bsky.social“外出先からのスマホからでもクロードコードいじりたい依存者へ github.com/slopus/happy”Bluesky · Feb 24, 2026 · 3 likes
The biggest 5 of 58 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 58
Talked about on GitHub, Bluesky and Hacker News (58 times).
On GitHub · 50
- Jan 7, 2026feat: add OpenCode integration support — slopus/happy-cli17 reactions · 1 comment
- Sep 29, 2025Support for Claude Code 2.0 and Sonnet 4.5 — slopus/happy-cli4 reactions · 1 comment
- Jan 21, 2026docs: update self-hosting guide with Docker Compose and MinIO setup & enhance CLAUDE.md with project architecture — slopus/slopus.github.io3 reactions · 3 comments
- Aug 13, 2026Render agent-style TeX delimiters as math — happier-dev/happier1 reaction · 5 comments
- May 8, 2026feat: add happy to allowLargePackages — cnpm/unpkg-white-list1 reaction · 3 comments
45 more on GitHub
- Apr 29, 2026Proposal: surface tasks/todos as a first-class entity with cross-provider tracking — getpaseo/paseo1 reaction · 2 comments
- Feb 12, 2026Feature Request: Launching Without a Project / Supporting Multiple Projects — sijiaoh/pockode1 reaction · 3 comments
- Dec 17, 2025fix --resume --continue not working temporarily since 0.12.0 — slopus/happy-cli1 reaction · 1 comment
- Sep 1, 2025Add Happy Coder (open source native mobile app) to README.md — webfuse-com/awesome-claude1 reaction
- Aug 16, 2025Add support for happy to enable coding on mobile devices — RchGrav/claudebox1 reaction · 3 comments
- Nov 25, 2026agent-skills.github.slopus.happy: 1.1.6 → 0-unstable-2026-11-15 — sudosubin/agents.nix0 reactions
- Nov 3, 2026agent-skills.github.slopus.happy: 3 → 1.1.6 — sudosubin/agents.nix0 reactions
- Oct 21, 2026Open source alternatives to manage agents — pietroid/lunna0 reactions · 1 comment
- Oct 12, 2026RICE 5: See two or more sessions side by side — agentloops-dev/agent-loops0 reactions · 3 comments
- Oct 12, 2026Web page: install it as an app on a phone's home screen (Android included) — agentloops-dev/agent-loops0 reactions · 1 comment
- Oct 12, 2026Add Happy CLI harness detection — auron-labs/harness-detect0 reactions
- Oct 5, 2026chore(happy): drop the webapp mount once the app's server check is fixed — anthony-spruyt/spruyt-labs0 reactions · 1 comment
- Oct 4, 2026agent-skills.github.slopus.happy: init at 3 — sudosubin/agents.nix0 reactions
- Sep 28, 2026fix(cli): release stdin before handing terminal to local-mode child — tiann/hapi0 reactions · 1 comment
- Sep 14, 2026feat(happy): sync bot pictures as encrypted session avatars — slopus/happy-agent0 reactions · 1 comment
- Sep 9, 2026[upstream] Agy stream-JSON progress rendering — timmikk/happy0 reactions
- Sep 3, 2026[Bug] Responses→Chat 转换器将非 function 类型工具原样透传,导致 chat 上游必然 400 — QuantumNous/new-api0 reactions · 1 comment
- Aug 13, 2026Markdown: render agent-style TeX delimiters as math — happier-dev/happier0 reactions
- Aug 9, 2026The neighbors: tools that put a face on coding agents — alp82/curia0 reactions · 3 comments
- Aug 7, 2026Push notifications for agent events — tienan92it/kitterm0 reactions · 1 comment
- Jul 11, 2026happy-coder: deprecate as newer versions have non-FOSS dependency — Homebrew/homebrew-core0 reactions
- May 28, 2026[Link]: slopus/happy: Mobile and Web client for Codex and Claude Code, with realtime voice, encryption and fully featured — tinylabscom/this-week-in-microvms0 reactions
- May 21, 2026[P2] fix: Progress panel 多 list 切换形同虚设 (upstream #1305) — kmmao/happy0 reactions · 1 comment
- May 21, 2026[P3] question: Better than Dispatch/RC? (upstream #1236) — kmmao/happy0 reactions · 1 comment
- May 21, 2026[P3] fix: /btw 在当前环境不可用 (upstream #1226) — kmmao/happy0 reactions · 2 comments
- May 21, 2026[P3] feat: Android 前台 Service 保持语音模式运行 (upstream #1238) — kmmao/happy0 reactions · 1 comment
- May 21, 2026[P3] feat: 支持自定义回答提交方式 (upstream #1243) — kmmao/happy0 reactions · 1 comment
- May 21, 2026[P3] feat: 允许 Happy Codex 接入已有 Codex app-server (upstream #1253) — kmmao/happy0 reactions · 2 comments
- May 21, 2026[P3] feat: 支持 Google Antigravity (agy) CLI (upstream #1313) — kmmao/happy0 reactions · 2 comments
- May 21, 2026[P2] feat: 添加 PIN / 生物识别 App 锁 (upstream #1262) — kmmao/happy0 reactions · 3 comments
- May 21, 2026[P2] feat: 接入缺失的 Claude Code CLI 子命令 (upstream #1266) — kmmao/happy0 reactions · 2 comments
- May 21, 2026[P2] feat: 移动端支持文件/图片上传 (upstream #1270) — kmmao/happy0 reactions · 1 comment
- May 21, 2026[P2] fix: happy codex 未转发 sandbox 标志导致 bwrap 失败 (upstream #1246) — kmmao/happy0 reactions · 1 comment
- May 21, 2026[P2] fix: zod v3/v4 peer dependency 冲突 (upstream #1265) — kmmao/happy0 reactions · 1 comment
- May 21, 2026[P2] fix: Android alwaysShowContextSize 开关无效 (upstream #1274) — kmmao/happy0 reactions · 1 comment
- May 21, 2026[P2] fix: 远程切回本地模式报 FKH onSessionRestored 错误 (upstream #1231) — kmmao/happy0 reactions · 1 comment
- May 21, 2026[P2] fix: Web 浏览器缩放被强制设为 0.75 (upstream #1309) — kmmao/happy0 reactions · 1 comment
- May 21, 2026[P2] fix: happy codex 终端挂起 (upstream #1261) — kmmao/happy0 reactions · 1 comment
- May 21, 2026[P2] fix: chat title 不再自动创建 (upstream #1251) — kmmao/happy0 reactions · 1 comment
- May 21, 2026[P2] fix: Codex 内存泄漏到新 session (upstream #1277) — kmmao/happy0 reactions · 1 comment
- May 12, 2026upstream: watch slopus/happy#1262 — app-level PIN/biometric lock — thenemal/happy-server0 reactions
- May 11, 2026Mobile/web appears frozen after overnight inactivity (stale client connection) — thenemal/happy-server0 reactions
- May 9, 2026Self-hosting docs are outdated and point to legacy `happy-server` setup? — slopus/slopus.github.io0 reactions
- Apr 17, 2026Add Claude Code Docker image with happy tool — ilteoood/docker-harnesses0 reactions · 1 comment
- Apr 12, 2026byobu/tmux session support for terminal sessions (project → tmux session, task → tmux window), helps allow remote ssh access — debuglebowski/slayzone0 reactions · 1 comment
On Bluesky · 7
- Jan 5, 2026これ面白そう GitHub - slopus/happy: Mobile and Web client for Codex and Claude Code, with realtime voice, encryption and fully featured… — @koki.me9 likes and reposts · 1 reply
- Feb 24, 2026外出先からのスマホからでもクロードコードいじりたい依存者へ github.com/slopus/happy — @tako-yaki-man.bsky.social3 likes and reposts
- Oct 13, 2025📖 Happy — Editor markdown & catatan ringan, open-source & fokus kenyamanan pengguna ✍️ Real-time preview, tema, dukungan LaTeX & tabel 🔗… — @its-me-rhk.bsky.social3 likes and reposts
- Aug 8, 2026スマホやWebからClaude CodeなどのAIエージェントをリモート操作できるモバイルクライアントツールっぽい 移動中や外出先からもAIコーディングの続きができて便利そう yug1224 starred slopus/happy… — @yug1224.com2 likes and reposts
- Aug 8, 2026github.com/slopus/happy GitHub - slopus/happy: Mobile and Web client for Codex and Claude Code, with realtime voice, enc... — @technews4869.bsky.social1 likes and repost
2 more on Bluesky
- Aug 3, 2026📦 slopus / happy ⭐ 23,056 (+41) 🗒 TypeScript Mobile and Web client for Codex and Claude Code, with realtime voice, encryption and fully… — @github-trending-js.bsky.social1 likes and repost
- Jan 14, 2026monitor your agents remotely: simple + free + quick: github.com/slopus/happy complex + powerful + paid: HOST=0.0.0.0 npx vibe-kanban ngrok… — @mikestaub.social1 likes and repost · 1 reply
On Hacker News · 1
- Aug 14, 2025Show HN: Happy Coder – End-to-End Encrypted Mobile Client for Claude Code30 points · 8 comments
Used with
Projects with it also use architecture-governance, dep-refs and 10 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
Recepay6358Skilltime-skill
Display the current time in Pakistan Standard Time (PKT, UTC+5). Use when the user asks for the current time, Pakistan time, or PKT.
Also in 4 projects that use this
Recepay6358Skillweather-fetcher
Instructions for fetching current weather temperature data for Dubai, UAE from Open-Meteo API
Also in 4 projects that use this
nicepkgSkillcommunity-led-growth
Expert in community-led growth (CLG) - leveraging user communities to drive acquisition, retention, and expansion. Covers building developer communities, user groups, ambassador programs, and turning customers into advocates. Knows the difference between community as a feature vs community as a growth engine, and how to measure community ROI. Use when "community-led, CLG, ambassador program, champion program, user community, developer community, word of mouth, user group, " mentioned.
Also in 3 projects that use this
nicepkgSkillfinancial-unit-economics
Use when evaluating business model viability, analyzing profitability per customer/product/transaction, validating startup metrics (CAC, LTV, payback period), making pricing decisions, assessing scalability, comparing business models, or when user mentions unit economics, CAC/LTV ratio, contribution margin, customer profitability, break-even analysis, or needs to determine if a business can be profitable at scale.
Also in 3 projects that use this
- +1 more from ZCodium-project
- +1 more from Recepay6358
- +3 more from nicepkg
Other versions172 projects use a version of this.
Word for word · 1
- Altman-conquer/agentrejoin★ 93100% same
Edited · 86
- shanraisshan/claude-code-best-practice★ 67k47% same
- activepieces/activepieces★ 25k32% same
- openai/plugins★ 7.3k52% same
- MaxMiksa/Auto-Company★ 3.1k47% same
- BytePioneer-AI/codex-host★ 2.7k24% same
- crbnos/carbon★ 2.7k29% same
- melandlabs/openloomi★ 1k33% same
- jihe520/social-push★ 53034% same
- brianlovin/agent-config★ 37529% same
- ninehills/skills★ 28024% same
76 more not listed
Wrote their own version · 85
- vercel-labs/agent-browser★ 44ksame name
- kortix-ai/suna★ 20ksame name
- vercel-labs/open-agents★ 5.8ksame name
- Chachamaru127/claude-code-harness★ 3.1ksame name
- oxylabs/agent-skills★ 876same name
- 23blocks-OS/ai-maestro★ 805same name
- coleam00/skills★ 663same name
- pedronauck/skills★ 633same name
- mxyhi/ok-skills★ 492same name
- getsentry/junior★ 365same name
75 more not listed
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 repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- control-flowSkill
- devSkill
- maintainSkill
- metrics-graphanaSkill
- office-hoursSkill
- releaseSkill
- sessionsSkill
- terminal-emulatorSkill
- agent-browserSkill
- terminal-emulatorSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 156 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Every browser automation follows this pattern:
- Distinctive: line 15
Interact: Use refs to click, fill, select
- Distinctive: line 16
Re-snapshot: After navigation or DOM changes, get fresh refs
- Very specific: line 45
When to chain: Use && when you don't need to read the output of an intermediate command before proceeding (e.g., open + wait + screenshot).
- Very specific: line 164
Use --annotate to take a screenshot with numbered labels overlaid on interactive elements.
- Distinctive: line 193
Always close your browser session when done:
“Common” is measured: kept by at least 6 in 10 of the 156 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
Browser Automation with agent-browser
Core Workflow
Every browser automation follows this pattern:
- Navigate:
agent-browser open <url> - Snapshot:
agent-browser snapshot -i(get element refs like@e1,@e2) - Interact: Use refs to click, fill, select
- Re-snapshot: After navigation or DOM changes, get fresh refs
agent-browser open https://example.com/form
agent-browser snapshot -i
# Output: @e1 [input type="email"], @e2 [input type="password"], @e3 [button] "Submit"
agent-browser fill @e1 "user@example.com"
agent-browser fill @e2 "password123"
agent-browser click @e3
agent-browser wait --load networkidle
agent-browser snapshot -i # Check resultCommand Chaining
Commands can be chained with && in a single shell invocation. The browser persists between commands via a background daemon, so chaining is safe and more efficient than separate calls.
# Chain open + wait + snapshot in one call
agent-browser open https://example.com && agent-browser wait --load networkidle && agent-browser snapshot -i
# Chain multiple interactions
agent-browser fill @e1 "user@example.com" && agent-browser fill @e2 "password123" && agent-browser click @e3
# Navigate and capture
agent-browser open https://example.com && agent-browser wait --load networkidle && agent-browser screenshot page.pngWhen to chain: Use && when you don't need to read the output of an intermediate command before proceeding (e.g., open + wait + screenshot). Run commands separately when you need to parse the output first (e.g., snapshot to discover refs, then interact using those refs).
Essential Commands
# Navigation
agent-browser open <url> # Navigate (aliases: goto, navigate)
agent-browser close # Close browser
# Snapshot
agent-browser snapshot -i # Interactive elements with refs (recommended)
agent-browser snapshot -i -C # Include cursor-interactive elements (divs with onclick, cursor:pointer)
agent-browser snapshot -s "#selector" # Scope to CSS selector
# Interaction (use @refs from snapshot)
agent-browser click @e1 # Click element
agent-browser click @e1 --new-tab # Click and open in new tab
agent-browser fill @e2 "text" # Clear and type text
agent-browser type @e2 "text" # Type without clearing
agent-browser select @e1 "option" # Select dropdown option
agent-browser check @e1 # Check checkbox
agent-browser press Enter # Press key
agent-browser keyboard type "text" # Type at current focus (no selector)
agent-browser keyboard inserttext "text" # Insert without key events
agent-browser scroll down 500 # Scroll page
agent-browser scroll down 500 --selector "div.content" # Scroll within a specific container
# Get information
agent-browser get text @e1 # Get element text
agent-browser get url # Get current URL
agent-browser get title # Get page title
# Wait
agent-browser wait @e1 # Wait for element
agent-browser wait --load networkidle # Wait for network idle
agent-browser wait --url "**/page" # Wait for URL pattern
agent-browser wait 2000 # Wait milliseconds
# Downloads
agent-browser download @e1 ./file.pdf # Click element to trigger download
agent-browser wait --download ./output.zip # Wait for any download to complete
agent-browser --download-path ./downloads open <url> # Set default download directory
# Capture
agent-browser screenshot # Screenshot to temp dir
agent-browser screenshot --full # Full page screenshot
agent-browser screenshot --annotate # Annotated screenshot with numbered element labels
agent-browser pdf output.pdf # Save as PDF
# Diff (compare page states)
agent-browser diff snapshot # Compare current vs last snapshot
agent-browser diff snapshot --baseline before.txt # Compare current vs saved file
agent-browser diff screenshot --baseline before.png # Visual pixel diff
agent-browser diff url <url1> <url2> # Compare two pages
agent-browser diff url <url1> <url2> --wait-until networkidle # Custom wait strategy
agent-browser diff url <url1> <url2> --selector "#main" # Scope to elementCommon Patterns
Form Submission
agent-browser open https://example.com/signup
agent-browser snapshot -i
agent-browser fill @e1 "Jane Doe"
agent-browser fill @e2 "jane@example.com"
agent-browser select @e3 "California"
agent-browser check @e4
agent-browser click @e5
agent-browser wait --load networkidleAuthentication with State Persistence
# Login once and save state
agent-browser open https://app.example.com/login
agent-browser snapshot -i
agent-browser fill @e1 "$USERNAME"
agent-browser fill @e2 "$PASSWORD"
agent-browser click @e3
agent-browser wait --url "**/dashboard"
agent-browser state save auth.json
# Reuse in future sessions
agent-browser state load auth.json
agent-browser open https://app.example.com/dashboardData Extraction
agent-browser open https://example.com/products
agent-browser snapshot -i
agent-browser get text @e5 # Get specific element text
agent-browser get text body > page.txt # Get all page text
# JSON output for parsing
agent-browser snapshot -i --json
agent-browser get text @e1 --jsonRef Lifecycle (Important)
Refs (@e1, @e2, etc.) are invalidated when the page changes. Always re-snapshot after:
- Clicking links or buttons that navigate
- Form submissions
- Dynamic content loading (dropdowns, modals)
agent-browser click @e5 # Navigates to new page
agent-browser snapshot -i # MUST re-snapshot
agent-browser click @e1 # Use new refsAnnotated Screenshots (Vision Mode)
Use --annotate to take a screenshot with numbered labels overlaid on interactive elements.
agent-browser screenshot --annotate
# Output includes the image path and a legend:
# [1] @e1 button "Submit"
# [2] @e2 link "Home"
# [3] @e3 textbox "Email"
agent-browser click @e2 # Click using ref from annotated screenshotJavaScript Evaluation
# Simple expressions
agent-browser eval 'document.title'
# Complex JS: use --stdin with heredoc (RECOMMENDED)
agent-browser eval --stdin <<'EVALEOF'
JSON.stringify(
Array.from(document.querySelectorAll("img"))
.filter(i => !i.alt)
.map(i => ({ src: i.src.split("/").pop(), width: i.width }))
)
EVALEOFSession Management and Cleanup
Always close your browser session when done:
agent-browser close # Close default session
agent-browser --session agent1 close # Close specific sessionDoes 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.

