What it does. Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web a
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
**Install**
```bash
npx skills add shanraisshan/claude-code-best-practice --skill agent-browser
Or copy the skill folder manually:
git clone https://github.com/shanraisshan/claude-code-best-practice.git
cp -r claude-code-best-practice/.claude/skills/agent-browser/ ~/.claude/skills/agent-browser
Source: shanraisshan/claude-code-best-practice — 67,894 stars, MIT, verified 2026-10-22.