agent-browser
Headless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection
npx skills add majiayu000/claude-skill-registry --skill agent-browser-clawdbot --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Agent Browser Skill Fast browser automation using accessibility tree snapshots with refs for deterministic element selection. ## Why Use This Over Built-in Browser Tool **Use agent-browser when:** - Automating multi-step workflows - Need deterministic element selection - Performance is critical - Working with complex SPAs - Need session isolation **Use built-in browser tool when:** - Need screenshots/PDFs for analysis - Visual inspection required - Browser extension integration needed ## Core Workflow ```bash # 1. Navigate and snapshot agent-browser open https://example.com agent-browser snapshot -i --json # 2. Parse refs from JSON, then interact agent-browser click @e2 agent-browser fill @e3 "text" # 3. Re-snapshot after page changes agent-browser snapshot -i --json ``` ## Key Commands ### Navigation ```bash agent-browser open <url> agent-browser back | forward | reload | close ``` ### Snapshot (Always use -i --json) ```bash agent-browser snapshot -i --json # Interactive elements, JSON output agent-browser snapshot -i -c -d 5 --json # + compact, depth limit agent-browser snapshot -s "#main" -i # Scope to selector ``` ### Interactions (Ref-based) ```bash agent-browser click @e2 a
- Why Use This Over Built-in Browser Tool
- Core Workflow
- Key Commands
- Navigation
- Snapshot (Always use -i --json)
- Interactions (Ref-based)
- Get Information
- Check State
- Wait
- Sessions (Isolated Browsers)
- State Persistence
- Screenshots & PDFs
- Network Control
- Cookies & Storage
agent-browser open https://example.com agent-browser snapshot -i --json agent-browser click @e2 agent-browser fill @e3 "text" agent-browser open <url> agent-browser back | forward | reload | close agent-browser snapshot -i --json # Interactive elements, JSON output agent-browser snapshot -i -c -d 5 --json # + compact, depth limit agent-browser snapshot -s "#main" -i # Scope to selector agent-browser type @e3 "text"
What does the agent-browser skill do?
Headless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill agent-browser-clawdbot --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
