π¦ ClawHub
Ai Pa Browser Clawdbot
by @netanel-abergel
Headless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection
TERMINAL
clawhub install ai-pa-browser-clawdbotπ About This Skill
name: ai-pa-browser description: Headless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection metadata: {"clawdbot":{"emoji":"π","requires":{"commands":["agent-browser"]},"homepage":"https://github.com/vercel-labs/agent-browser"}}
Agent Browser Skill
Fast browser automation via accessibility tree snapshots and ref-based element selection.
When to Use
Use agent-browser (this skill) when:
Use built-in browser tool when:
Core Workflow
agent-browser open
agent-browser snapshot -i --json # Get interactive elements with refs
agent-browser click @e2
agent-browser fill @e3 "text"
agent-browser wait --load networkidle
agent-browser snapshot -i --json # Re-snapshot after navigation
Most Common Commands
# Navigate
agent-browser open | back | forward | reload | closeSnapshot
agent-browser snapshot -i --json # Always use these flags
agent-browser snapshot -s "#main" -i # Scope to selectorInteract (use @refs from snapshot)
agent-browser click @e1
agent-browser fill @e2 "text"
agent-browser press Enter
agent-browser select @e3 "value"
agent-browser scroll down 500Wait
agent-browser wait --load networkidle
agent-browser wait --text "Success"
agent-browser wait @e1State
agent-browser state save auth.json
agent-browser state load auth.json
Installation
npm install -g agent-browser
agent-browser install # Download Chromium
agent-browser install --with-deps # Linux: + system deps
Full Reference
For complete command list: read skills/ai-pa-browser-clawdbot/references/commands.md
For examples: read skills/ai-pa-browser-clawdbot/references/examples.md