agent-browser · actionbook — Claude Code skill: what it does, how to install
This skill lets an agent operate a browser through commands for navigation, form entry, and page checks. Use it for browser tasks inside a coding workflow.
Apache-2.0 136 installs ★ 1,632 updated 2026-10-19
npx skills add actionbook/actionbook --skill agent-browser -a claude-codeWhat agent-browser does
agent-browser gives an agent a command set for browser control. It can open a URL, return an interactive snapshot with refs such as @e1, click elements, clear and fill fields, type text, press keys, scroll, wait for page state, and read text, the title, or the current URL. After navigation or a major DOM change, the agent should take another snapshot.
The included workflow covers a website indexing request: open the request page, inspect its form, enter the site URL, email, and use case, submit it, wait for network idle, and inspect the result. The browser session should end with agent-browser close. Claude Code needs Bash(agent-browser *) in .claude/settings.local.json, or you can run ./setup.sh to configure that permission.
What it helps with
- open a page and inspect its controls
- fill a web form from its interactive refs
- submit entered data with a button click
- verify a form submission after loading
- read the current page title or URL
Example prompts for the agent
- Open
<url>, inspect the interactive elements, and fill the required form fields. - Use
agent-browserto submit the form, wait for the page to load, and check the result. - Find the relevant button on the page, click it, then close the browser session.
How to install agent-browser
1Skills CLI (Vercel)
npx skills add actionbook/actionbook --skill agent-browser -a claude-code2Manually: put the files in place
~/.claude/skills/agent-browser/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/agent-browser/
1Skills CLI (Vercel)
npx skills add actionbook/actionbook --skill agent-browser -a codex2Manually: put the files in place
.agents/skills/agent-browser/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add actionbook/actionbook --skill agent-browser -a cursor2Manually: put the files in place
.cursor/skills/agent-browser/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install actionbook/actionbook playground/actionbook-scraper/skills/agent-browser2Manually: put the files in place
.github/skills/agent-browser/SKILL.md1Skills CLI (Vercel)
npx skills add actionbook/actionbook --skill agent-browser -a gemini-cli2Platform CLI
gemini skills install https://github.com/actionbook/actionbook --path playground/actionbook-scraper/skills/agent-browserManually: put the files in place
.devin/skills/agent-browser/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add actionbook/actionbook --skill agent-browser -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about agent-browser
How do I install agent-browser in Claude Code?
Run npx skills add actionbook/actionbook --skill agent-browser -a claude-code, then check ~/.claude/skills/agent-browser/SKILL.md.
What does agent-browser do?
It lets an agent navigate pages, inspect interactive elements, fill fields, click controls, wait for page state, and read page information through browser commands.
What permission does agent-browser need in Claude Code?
Add Bash(agent-browser *) to the allow list in .claude/settings.local.json, or run ./setup.sh to configure it.
Source text
SKILL.md · Apache-2.0
--- name: agent-browser description: Automates browser interactions for form filling and web page interaction. Used by the request-website command to submit website indexing requests. --- # Browser Automation with 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 workflow 1. Navigate: `agent-browser open <url>` 2. Snapshot: `agent-browser snapshot -i` (returns elements with refs like `@e1`, `@e2`) 3. Interact using refs from the snapshot 4. Re-snapshot after navigation or significant DOM changes 5. **Always close**: `agent-browser close` ## Commands ### Navigation ```bash agent-browser open <url> # Navigate to URL agent-browser close # Close browser (ALWAYS do this) ``` ### Snapshot (page analysis) ```bash agent-browser snapshot # Full accessibility tree agent-browser snapshot -i # Interactive elements only (recommended) ``` ### Interactions (use @refs from snapshot) ```bash agent-browser click @e1 # Click agent-browser fill @e2 "text" # Clear and type agent-browser type @e2 "text" # Type without clearing agent-browser press Enter # Press key agent-browser scroll down 500 # Scroll page ``` ### Get information ```bash agent-browser get text @e1 # Get element text agent-browser get title # Get page title agent-browser get url # Get current URL ``` ### Wait ```bash agent-browser wait @e1 # Wait for element agent-browser wait 2000 # Wait milliseconds agent-browser wait --load networkidle # Wait for network idle ``` ## Example: Form submission (request-website) ```bash # Open Actionbook request page agent-browser open "https://actionbook.app/request-website" # Get form elements agent-browser snapshot -i # Output shows: textbox "Site URL" [ref=e1], textbox "Email" [ref=e2], textbox "Use Case" [ref=e3], button "Submit" [ref=e4] # Fill form agent-browser fill @e1 "https://example.com/products" agent-browser fill @e2 "[email protected]" agent-browser fill @e3 "Scraping product catalog" # Submit agent-browser click @e4 agent-browser wait --load networkidle # Verify submission agent-browser snapshot -i # Close browser agent-browser close ``` ## Permission Required Add to `.claude/settings.local.json`: ```json { "permissions": { "allow": [ "Bash(agent-browser *)" ] } } ``` Or run `./setup.sh` to configure automatically.
© actionbook · Apache-2.0 · actionbook/actionbook
Similar skills
All skills for Browser and scraping →agent-browser by other authors comes first.