Agent skill · software engineering · sundial-org

agent-browser-2

Headless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection

Why this skill is useful

Adds a comprehensive set of executable commands for headless browser automation that significantly enhances the AI's ability to interact with web applications.

What it needs

Requires agent-browser installed locally. About 3k tokens when loaded. Last updated 2026-03-07. 639 stars on the source repository.

What this skill does

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 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 Tabs & Frames Snapshot Output Format Best Practices 1. Always use -i flag - Focus on interactive elements 2. Always use --json - Easier to parse 3. Wait for stability - agent-browser wait --load networkidle 4. Save auth state - Skip login flows with state save/load 5. Use sessions - Isolate different browser contexts 6. Use --headed for debugging - See what's happening Example: Search and Extract Example: Multi-Session Testing Installation Credits Skill created by Yossi Elkrief (@MaTriXy) agent-browser CLI by Vercel Labs

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills sundial-org/agent-browser-2

View the source on GitHub

Browse the @skills marketplace