ruizrica/agent-pi/agent-browser
- community
Checking that the SKILL.md file is still in the repository.
LOCAL browser automation CLI for AI agents. The ONLY tool that can access localhost, 127.0.0.1, and local network URLs. Use for ALL browser tasks including testing local dev servers, navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, and automation. Triggers include requests to "open a website", "test localhost", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "test my local server", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.
Install
npx vskill@latest install ruizrica/agent-pi/agent-browserSKILL.md
Browser Automation with agent-browser
When to Use This Skill (IMPORTANT)
agent-browser is a LOCAL browser — it runs directly on this machine using a real Chromium instance. It can access:
- localhost / 127.0.0.1 (local dev servers, local APIs)
- Local network IPs (192.168.x.x, 10.x.x.x, etc.)
- Any remote URL (https://example.com, etc.)
- Local files (file:///path/to/file.html)
DO NOT use web_remote for localhost testing
The web_remote tool (formerly web_test) is a remote service powered by Cloudflare Browser Rendering. It runs on Cloudflare's servers and CANNOT reach localhost, 127.0.0.1, or any local network address. It will fail silently or error on local URLs.
| Scenario | Use This | NOT This | |
|---|---|---|---|
| Test localhost:3000 | agent-browser | ||
| Test 127.0.0.1:8080 | agent-browser | ||
| Test local network device | agent-browser | ||
| Fill forms, click buttons | agent-browser | ||
| Multi-step browser workflow | agent-browser | ||
| Screenshot a public site (quick, no interaction) | agent-browser or web_remote | — | |
| Accessibility audit of public site | agent-browser or web_remote | — |
Rule of thumb: Always prefer agent-browser. Use web_remote only when you need a quick remote screenshot/a11y audit and don't need any interaction.
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
Essential Commands
Common Patterns
Form Submission
Authentication with State Persistence
Data Extraction
Parallel Sessions
Visual Browser (Debugging)
Local Files (PDFs, HTML)
iOS Simulator (Mobile Safari)
Requirements: macOS with Xcode, Appium (npm install -g appium && appium driver install xcuitest)
Real devices: Works with physical iOS devices if pre-configured. Use --device "<UDID>" where UDID is from xcrun xctrace list devices.
Ref 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)
Semantic Locators (Alternative to Refs)
When refs are unavailable or unreliable, use semantic locators:
Deep-Dive Documentation
| Reference | When to Use | |
|---|---|---|
| references/commands.md | Full command reference with all options | |
| references/snapshot-refs.md | Ref lifecycle, invalidation rules, troubleshooting | |
| references/session-management.md | Parallel sessions, state persistence, concurrent scraping | |
| references/authentication.md | Login flows, OAuth, 2FA handling, state reuse | |
| references/video-recording.md | Recording workflows for debugging and documentation | |
| references/proxy-support.md | Proxy configuration, geo-testing, rotating proxies | |
| references/web-search.md | Web search via DuckDuckGo/Google, extracting search results |
Ready-to-Use Templates
| Template | Description | |
|---|---|---|
| templates/form-automation.sh | Form filling with validation | |
| templates/authenticated-session.sh | Login once, reuse state | |
| templates/capture-workflow.sh | Content extraction with screenshots |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/agent-browser/SKILL.md
Popularity
- Repository stars
- 267
- Repository forks
- 41
- 7-day trend score
- 28
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 5 Sep 2026, a month ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ruizrica/agent-pi/agent-browser)