Workflow·Web, Search & Scraping·v1.0.0

Browser Automation

Web browser automation with AI-optimized snapshots for claude-flow agents.

You say
Install this skill Read the source first Free Written by ruvnet · unverified publisher
Context cost
1.3k tokensestimated from the bundle, loaded when it triggers
Bundle
1 file · 5.3 kBtext throughout, nothing executable
Licence
MITfree to use
Last change
v1.0.0
Servers it uses
Noneruns standalone

What it does

Web browser automation with AI-optimized snapshots for claude-flow agents

Installed, it changes the agent in these ways.

What this skill changes about the agent is not written down here yet. The listing was collected from its source, and the description is in its own SKILL.md.

Workflow

Runs a procedure end to end.

browserautomation

The skill itself

This is the whole product. A skill is instructions the model reads, so there is nothing behind the listing you cannot see first — the front matter loads with every session, and the body below it loads when the skill triggers.

SKILL.md5.3 kB · 205 lines
--- name: 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 ---
21# Browser Automation Skill
22
23Web browser automation using agent-browser with AI-optimized snapshots. Reduces context by 93% using element refs (@e1, @e2) instead of full DOM.
24
25## Core Workflow
26
27```bash
28# 1. Navigate to page
29agent-browser open <url>
30
31# 2. Get accessibility tree with element refs
32agent-browser snapshot -i # -i = interactive elements only
33
34# 3. Interact using refs from snapshot
35agent-browser click @e2
36agent-browser fill @e3 "text"
37
38# 4. Re-snapshot after page changes
39agent-browser snapshot -i
40```
41
42## Quick Reference
43
44### Navigation
45| Command | Description |
46|---------|-------------|
47| open <url> | Navigate to URL |
48| back | Go back |
49| forward | Go forward |
50| reload | Reload page |
51| close | Close browser |
52
53### Snapshots (AI-Optimized)
54| Command | Description |
55|---------|-------------|
56| snapshot | Full accessibility tree |
57| snapshot -i | Interactive elements only (buttons, links, inputs) |
58| snapshot -c | Compact (remove empty elements) |
59| snapshot -d 3 | Limit depth to 3 levels |
60| screenshot [path] | Capture screenshot (base64 if no path) |
61
62### Interaction
63| Command | Description |
64|---------|-------------|
65| click <sel> | Click element |
66| fill <sel> <text> | Clear and fill input |
67| type <sel> <text> | Type with key events |
68| press <key> | Press key (Enter, Tab, etc.) |
69| hover <sel> | Hover element |
70| select <sel> <val> | Select dropdown option |
71| check/uncheck <sel> | Toggle checkbox |
72| scroll <dir> [px] | Scroll page |
73
74### Get Info
75| Command | Description |
76|---------|-------------|
77| get text <sel> | Get text content |
78| get html <sel> | Get innerHTML |
79| get value <sel> | Get input value |
80| get attr <sel> <attr> | Get attribute |
81| get title | Get page title |
82| get url | Get current URL |
83
84### Wait
85| Command | Description |
86|---------|-------------|
87| wait <selector> | Wait for element |
88| wait <ms> | Wait milliseconds |
89| wait --text "text" | Wait for text |
90| wait --url "pattern" | Wait for URL |
91| wait --load networkidle | Wait for load state |
92
93### Sessions
94| Command | Description |
95|---------|-------------|
96| --session <name> | Use isolated session |
97| session list | List active sessions |
98
99## Selectors
100
101### Element Refs (Recommended)
102```bash
103# Get refs from snapshot
104agent-browser snapshot -i
105# Output: button "Submit" [ref=e2]
106
107# Use ref to interact
108agent-browser click @e2
109```
110
111### CSS Selectors
112```bash
113agent-browser click "#submit"
114agent-browser fill ".email-input" "test@test.com"
115```
116
117### Semantic Locators
118```bash
119agent-browser find role button click --name "Submit"
120agent-browser find label "Email" fill "test@test.com"
121agent-browser find testid "login-btn" click
122```
123
124## Examples
125
126### Login Flow
127```bash
128agent-browser open https://example.com/login
129agent-browser snapshot -i
130agent-browser fill @e2 "user@example.com"
131agent-browser fill @e3 "password123"
132agent-browser click @e4
133agent-browser wait --url "**/dashboard"
134```
135
136### Form Submission
137```bash
138agent-browser open https://example.com/contact
139agent-browser snapshot -i
140agent-browser fill @e1 "John Doe"
141agent-browser fill @e2 "john@example.com"
142agent-browser fill @e3 "Hello, this is my message"
143agent-browser click @e4
144agent-browser wait --text "Thank you"
145```
146
147### Data Extraction
148```bash
149agent-browser open https://example.com/products
150agent-browser snapshot -i
151# Iterate through product refs
152agent-browser get text @e1 # Product name
153agent-browser get text @e2 # Price
154agent-browser get attr @e3 href # Link
155```
156
157### Multi-Session (Swarm)
158```bash
159# Session 1: Navigator
160agent-browser --session nav open https://example.com
161agent-browser --session nav state save auth.json
162
163# Session 2: Scraper (uses same auth)
164agent-browser --session scrape state load auth.json
165agent-browser --session scrape open https://example.com/data
166agent-browser --session scrape snapshot -i
167```
168
169## Integration with Claude Flow
170
171### MCP Tools
172All browser operations are available as MCP tools with browser/ prefix:
173- browser/open
174- browser/snapshot
175- browser/click
176- browser/fill
177- browser/screenshot
178- etc.
179
180### Memory Integration
181```bash
182# Store successful patterns
183npx @claude-flow/cli memory store --namespace browser-patterns --key "login-flow" --value "snapshot->fill->click->wait"
184
185# Retrieve before similar task
186npx @claude-flow/cli memory search --query "login automation"
187```
188
189### Hooks
190```bash
191# Pre-browse hook (get context)
192npx @claude-flow/cli hooks pre-edit --file "browser-task.ts"
193
194# Post-browse hook (record success)
195npx @claude-flow/cli hooks post-task --task-id "browse-1" --success true
196```
197
198## Tips
199
2001. **Always use snapshots** - They're optimized for AI with refs
2012. **Prefer -i flag** - Gets only interactive elements, smaller output
2023. **Use refs, not selectors** - More reliable, deterministic
2034. **Re-snapshot after navigation** - Page state changes
2045. **Use sessions for parallel work** - Each session is isolated
205
In the file
SKILL.md782 words
Files1
LicenceMIT
Why you can read it

Nothing in a skill executes. The client loads the text and the model follows it, so a skill can be audited the way a runbook is — by reading it.

What it costs in context

Skills are not billed by the call. They are paid for in context: every token the instructions occupy is a token your code, your diff and your conversation cannot use. Here is what this one takes and when it takes it.

≈80
always loaded
The name and description, so the model knows the skill exists and when to reach for it.
1,245
on trigger
The instruction body, read only when the skill fires.
0.66%
of a 200k window
Ten skills this size would take about 7% of the window before you open a file.
050k100k150k200k context window

1.3k tokens, estimated from the bundle at four bytes to the token, held for the rest of the session once it triggers. Middling. Fine to keep on in a project where you use it weekly, worth unloading in one where you never do.

Servers bill, skills cost

A server charges by the month. A skill charges once per session, in context, and then keeps charging it for as long as the session lives.

Before and after

The same question, put to the same model twice: once as it comes, and once with these instructions loaded.

No worked example has been published for this skill yet.

Adoption
Installsnone yet
Ratingno reviews yet

The procedure it runs

The procedure has not been published here. It is in the skill’s own SKILL.md, which its author has not sent to the marketplace yet.

Prose, not code

These steps are written for a model to follow, not executed by a runtime. It can still be told to skip one, and it will say so when it does.

Servers it uses

None. This skill calls no MCP servers at all.

Everything it needs is in the instructions, so it works in a project with nothing connected — the model reads the file and changes how it works with what it can already reach.

It writes no files and reaches no network. All it changes is how the model reasons and writes.

What it asks for
Writes filesno
Network accessno

Read from the allowed-tools line of this skill’s own SKILL.md. A skill grants no permissions of its own — it can only ask for tools your client already has.

What it will not do

Every skill is narrow, and the useful ones say where they stop. These are the jobs this one is the wrong tool for.

What this skill is not for has not been published here. Nothing is implied by that: it is a section the author has not filled in.

What is in the bundle

1 file, 5.3 kB on disk. A bundle is text throughout: the instructions the model reads, plus the templates it fills in.

  • SKILL.md5.3 kB
What is not in it

No dependencies and nothing executable: a skill is text the agent reads, so the bundle is 1 file you can review in full before installing. The MIT licence covers the templates and examples as well as the instructions.

Install

Installing copies the bundle into your project. Nothing runs at install time — the files sit on disk until the model reads them.

# Browser Automation · 1.3k tokens when loaded npx mcprush@latest skill add ruvnet/browser-automation

Writes to .claude/skills/browser-automation/ in the current project. Add --global to put it in your home directory instead, for every project.

Which clients pick it up on their own

A skill is a folder of text. A client with a skills folder reads it without being told; everywhere else the same text works, it is just handed to the model rather than found.

Claude Code.claude/skills/
Claude Desktop
ChatGPT
Cursor.cursor/skills/
VS Code.github/skills/
Codex CLI.agents/skills/
Gemini CLI.gemini/skills/
Grok.grok/skills/
Zed.agents/skills/
Windsurf.windsurf/skills/
Agent SDK.claude/skills/
HTTP / API
This release
Version1.0.0
Publishedno release date on file
PriceFree
Referenceruvnet/browser-automation

Versions

v1.0.0 is what is on the shelf; no release here carries a date. Instructions change more often than APIs do — a skill can be rewritten entirely without anything it depends on moving.

v1.0.0
  • No earlier releases have been published to the marketplace.
Pinning

Put ruvnet/browser-automation@1.0.0 in the install command to hold this exact version. Without the suffix you get whatever is current the day you install, and nothing moves under you afterwards.

Reviews

no reviews yet · no installs yet

Nobody has reviewed this skill yet. The rating is the mean of the reviews written here, so there is none until somebody writes the first.

Who can post

Only accounts that have had the skill installed for fourteen days, so a review is written after living with it rather than after reading it. Publishers may reply once.

Publisher
Servers0