Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

agent-browser

verified

Vercel agent-browser CLI for headless browser automation. 93% less context than Playwright MCP. Snapshot + refs workflow with @e1 @e2 element references. Use when automating browser tasks, web scraping, form automation, or content capture.

View on GitHub

Marketplace

orchestkit

yonatangross/skillforge-claude-plugin

Plugin

ork-mcp

development

Repository

yonatangross/skillforge-claude-plugin
55stars

plugins/ork-mcp/skills/agent-browser/SKILL.md

Last Verified

February 4, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/yonatangross/skillforge-claude-plugin/blob/main/plugins/ork-mcp/skills/agent-browser/SKILL.md -a claude-code --skill agent-browser

Installation paths:

Claude
.claude/skills/agent-browser/
Powered by add-skill CLI

Instructions

# Browser Automation with agent-browser

Headless browser CLI by Vercel. Full upstream docs: [github.com/vercel-labs/agent-browser](https://github.com/vercel-labs/agent-browser)

## Installation

```bash
npm install -g agent-browser
agent-browser install                # Download Chromium
agent-browser install --with-deps    # With system dependencies (Linux)
# Optional: npx skills add vercel-labs/agent-browser
```

## Quick Start

```bash
agent-browser open <url>          # Navigate to page
agent-browser snapshot -i         # Get interactive elements with refs
agent-browser click @e1           # Click element by ref
agent-browser fill @e2 "text"     # Fill input by ref
agent-browser close               # Close browser
```

## Core Concept: Snapshot + Refs

Run `agent-browser snapshot -i` to get interactive elements tagged `@e1`, `@e2`, etc. Use these refs for all subsequent interactions. Re-snapshot after navigation or significant DOM changes. This yields **93% less context** than full-DOM approaches.

## When to Use

- Web scraping from JS-rendered / SPA pages
- Form automation and multi-step workflows
- Screenshot capture and visual verification
- E2E test generation and debugging
- Content capture from authenticated pages

## Key Commands

| Command | Purpose |
|---------|---------|
| `open <url>` | Navigate to URL |
| `snapshot -i` | Interactive elements with refs |
| `click @e1` | Click element |
| `fill @e2 "text"` | Clear + type into input |
| `get text @e1` | Extract element text |
| `wait --load networkidle` | Wait for SPA render |
| `screenshot <path>` | Save screenshot |
| `state save <file>` | Persist cookies/storage |
| `state load <file>` | Restore session |
| `eval "js"` | Run JavaScript |
| `record start <path>` | Start video recording |
| `record stop` | Stop recording |
| `--session <name>` | Isolate parallel sessions |
| `--headed` | Show browser window |

Run `agent-browser --help` for the full 60+ command reference.

## OrchestKit Integration

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
2876 chars