AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

agent-browser Automation Guide

Teaches Claude to drive the `agent-browser` CLI — open pages, click, fill forms, extract data, and screenshot with minimal token overhead.

AutomationIntermediate★ 1,218⑂ 116AI score 9/10Last updated: Nov 24, 2026

What it does

  • Gives Claude a working playbook for agent-browser, a CLI that drives Chrome/Chromium over CDP with no Playwright or Puppeteer dependency.
  • The core idea is the snapshot-and-ref loop: the accessibility tree is compressed into short @e1/@e2 refs so a page costs ~200–400 tokens instead of raw HTML parsing.
  • Covers navigation, click/fill/type/select/upload, text–attribute–value extraction, screenshots (including token-saving --if-changed), tab management, iframes, dialogs, network mocking and HAR capture, and video recording.
  • Dedicates a whole section to wait strategy — the most common cause of agent failures — with rules like "don't use networkidle as a generic SPA wait."
  • Also includes session isolation (--session), state restore (--restore), a credential vault (auth save/login), MCP server mode, the doctor diagnostic, and fixes for specific error messages.

Who it's for

  • Developers and QA engineers running web E2E checks from Claude Code.
  • Anyone scraping data behind a login or capturing recurring screenshots.
  • Teams running several agents in parallel who need non-colliding browser sessions.
  • Not useful if you can't install npm packages or Chrome in your environment.

Examples

  1. Log in and capture the dashboard: open → snapshot -i to find email/password refs → fill + click → wait --url "**/dashboard" → screenshot --full.
  2. Extract a table: pipe a heredoc into eval --stdin to map table tbody tr into a JSON array of names and prices.
  3. Multi-user flow test: launch isolated browsers with --session a and --session b and sign in two accounts simultaneously.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/fcakyon/claude-codex-settings/HEAD/plugins/agent-browser/skills/agent-browser/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on AI Skill Mart.
Copy the plugins/agent-browser/skills/agent-browser folder from the GitHub repo fcakyon/claude-codex-settings into my ~/.claude/skills/fcakyon-agent-browser/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/fcakyon/claude-codex-settings.git && mkdir -p ~/.claude/skills && cp -r claude-codex-settings/plugins/agent-browser/skills/agent-browser ~/.claude/skills/ && npm i -g agent-browser && agent-browser install

⚠ This is a third-party skill. Check the source repository before installing.

  1. Confirm Node.js is installed: node -v.
  2. Install the CLI: npm i -g agent-browser && agent-browser install (on Linux, agent-browser install --with-deps).
  3. Clone the repo: git clone https://github.com/fcakyon/claude-codex-settings.git
  4. Copy the skill folder: mkdir -p ~/.claude/skills && cp -r claude-codex-settings/plugins/agent-browser/skills/agent-browser ~/.claude/skills/
  5. Verify the setup with agent-browser doctor --offline --quick.
  6. Restart Claude Code, then try a request like "open this site and take a screenshot."
  7. For sensitive accounts, avoid passwords on the command line — store them with agent-browser auth save <name> --password-stdin.
View source on GitHub ↗License: Apache-2.0