Sign in
Explore
Skills · SkillEveryday codingWeb & UIReviewed

agent-browser

Browser automation CLI for agents: navigate pages, fill forms, click buttons, take screenshots and extract data.

Kind
Skill
Works with
Claude Code
Source
shanraisshan/claude-code-best-practice @ 6d0844baf620
Path
.claude/skills/agent-browser/SKILL.md
Jobs
Testing, Automation

Credit

Made by
shanraisshan
Original
github.com/shanraisshan/claude-code-best-practice/blob/6d0844…
License
MIT

Listed by Skill Manifest; not made by us.

InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
Adds
  • .claude/skills/agent-browser/ (the skill folder)
  • 9 file(s) the skill refers to
Runs scripts
Yes
  • templates/form-automation.sh
  • templates/authenticated-session.sh
  • templates/capture-workflow.sh
  • allowed-tools includes Bash
Uses the network
None found
Needs secrets
Yes
  • PASSWORD
Reads environment variables
  • USERNAME
  • PASSWORD
Source revision
6d0844baf620
Licence
MIT
Last activity
26 Nov 2026
Source changed after the scan
Yes
  • Last push 26 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

# Browser Automation with agent-browser

## Core Workflow

Every browser automation follows this pattern:

1. **Navigate**: `agent-browser open <url>`
2. **Snapshot**: `agent-browser snapshot -i` (get element refs like `@e1`, `@e2`)
3. **Interact**: Use refs to click, fill, select
4. **Re-snapshot**: After navigation or DOM changes, get fresh refs

```bash
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 "password123"
agent-browser click @e3
agent-browser wait --load networkidle
agent-browser snapshot -i  # Check result
```

## Essential Commands

```bash
# Navigation
agent-browser open <url>              # Navigate (aliases: goto, navigate)
agent-browser close                   # Close browser

# Snapshot
agent-browser snapshot -i             # Interactive elements with refs (recommended)
agent-browser snapshot -i -C          # Include cursor-interactive elements (divs with onclick, cursor:pointer)
agent-browser snapshot -s "#selector" # Scope to CSS selector

# Interaction (use @refs from snapshot)
…