browser
Web browser automation with AI-optimized snapshots for claude-flow agents
Install / Use
npx skills add spencermarx/open-code-review --skill browserInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
AutomationSupported Platforms
Tags
Our assessment of browser
browser scores 83/100 on our quality scale, 2195th of 2,882 Automation skills we index.
Its SKILL.md is 5.2 KB long, well organised into 37 sections with 10 code examples: a solid amount of guidance for an agent.
It has 368 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated about 3 months ago, so browser is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
browser compared with similar skills
All 4 of these similar skills score higher than browser; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| browser (this skill)by spencermarx | 83 | 368 | 3mo ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 101.0k | 2d ago | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 89.2k | today | MCP Server |
| rufloby ruvnet | 100 | 78.4k | today | MCP Server |
| algorithmic-artby anthropics | 100 | 177.9k | 30d ago | SKILL.md |
Frequently asked questions
- How do I install browser?
- Run
npx skills add spencermarx/open-code-review --skill browser. The install tabs above show the steps for each supported agent. - Which AI agents does browser work with?
- It is written for Claude Code and Zed, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is browser safe to use?
- It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is browser still maintained?
- The repository was last updated about 3 months ago, so browser is actively maintained.
Skill content
View source on GitHubname: browser description: Web browser automation with AI-optimized snapshots for claude-flow agents version: 1.0.0 triggers:
- /browser
- browse
- web automation
- scrape
- navigate
- screenshot tools:
- browser/open
- browser/snapshot
- browser/click
- browser/fill
- browser/screenshot
- browser/close
Browser Automation Skill
Web browser automation using agent-browser with AI-optimized snapshots. Reduces context by 93% using element refs (@e1, @e2) instead of full DOM.
Core Workflow
# 1. Navigate to page
agent-browser open <url>
# 2. Get accessibility tree with element refs
agent-browser snapshot -i # -i = interactive elements only
# 3. Interact using refs from snapshot
agent-browser click @e2
agent-browser fill @e3 "text"
# 4. Re-snapshot after page changes
agent-browser snapshot -i
Quick Reference
Navigation
| Command | Description |
|---------|-------------|
| open <url> | Navigate to URL |
| back | Go back |
| forward | Go forward |
| reload | Reload page |
| close | Close browser |
Snapshots (AI-Optimized)
| Command | Description |
|---------|-------------|
| snapshot | Full accessibility tree |
| snapshot -i | Interactive elements only (buttons, links, inputs) |
| snapshot -c | Compact (remove empty elements) |
| snapshot -d 3 | Limit depth to 3 levels |
| screenshot [path] | Capture screenshot (base64 if no path) |
Interaction
| Command | Description |
|---------|-------------|
| click <sel> | Click element |
| fill <sel> <text> | Clear and fill input |
| type <sel> <text> | Type with key events |
| press <key> | Press key (Enter, Tab, etc.) |
| hover <sel> | Hover element |
| select <sel> <val> | Select dropdown option |
| check/uncheck <sel> | Toggle checkbox |
| scroll <dir> [px] | Scroll page |
Get Info
| Command | Description |
|---------|-------------|
| get text <sel> | Get text content |
| get html <sel> | Get innerHTML |
| get value <sel> | Get input value |
| get attr <sel> <attr> | Get attribute |
| get title | Get page title |
| get url | Get current URL |
Wait
| Command | Description |
|---------|-------------|
| wait <selector> | Wait for element |
| wait <ms> | Wait milliseconds |
| wait --text "text" | Wait for text |
| wait --url "pattern" | Wait for URL |
| wait --load networkidle | Wait for load state |
Sessions
| Command | Description |
|---------|-------------|
| --session <name> | Use isolated session |
| session list | List active sessions |
Selectors
Element Refs (Recommended)
# Get refs from snapshot
agent-browser snapshot -i
# Output: button "Submit" [ref=e2]
# Use ref to interact
agent-browser click @e2
CSS Selectors
agent-browser click "#submit"
agent-browser fill ".email-input" "test@test.com"
Semantic Locators
agent-browser find role button click --name "Submit"
agent-browser find label "Email" fill "test@test.com"
agent-browser find testid "login-btn" click
Examples
Login Flow
agent-browser open https://example.com/login
agent-browser snapshot -i
agent-browser fill @e2 "user@example.com"
agent-browser fill @e3 "password123"
agent-browser click @e4
agent-browser wait --url "**/dashboard"
Form Submission
agent-browser open https://example.com/contact
agent-browser snapshot -i
agent-browser fill @e1 "John Doe"
agent-browser fill @e2 "john@example.com"
agent-browser fill @e3 "Hello, this is my message"
agent-browser click @e4
agent-browser wait --text "Thank you"
Data Extraction
agent-browser open https://example.com/products
agent-browser snapshot -i
# Iterate through product refs
agent-browser get text @e1 # Product name
agent-browser get text @e2 # Price
agent-browser get attr @e3 href # Link
Multi-Session (Swarm)
# Session 1: Navigator
agent-browser --session nav open https://example.com
agent-browser --session nav state save auth.json
# Session 2: Scraper (uses same auth)
agent-browser --session scrape state load auth.json
agent-browser --session scrape open https://example.com/data
agent-browser --session scrape snapshot -i
Integration with Claude Flow
MCP Tools
All browser operations are available as MCP tools with browser/ prefix:
browser/openbrowser/snapshotbrowser/clickbrowser/fillbrowser/screenshot- etc.
Memory Integration
# Store successful patterns
npx @claude-flow/cli memory store --namespace browser-patterns --key "login-flow" --value "snapshot->fill->click->wait"
# Retrieve before similar task
npx @claude-flow/cli memory search --query "login automation"
Hooks
# Pre-browse hook (get context)
npx @claude-flow/cli hooks pre-edit --file "browser-task.ts"
# Post-browse hook (record success)
npx @claude-flow/cli hooks post-task --task-id "browse-1" --success true
Tips
- Always use snapshots - They're optimized for AI with refs
- Prefer
-iflag - Gets only interactive elements, smaller output - Use refs, not selectors - More reliable, deterministic
- Re-snapshot after navigation - Page state changes
- Use sessions for parallel work - Each session is isolated
Related Skills
Agent-Reach
101.0kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Scrapling
89.2k🕷️ A Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
ruflo
78.4k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
