# Agent browser

> Agent browser is an open-source agent skill for browser automation. Drives a browser via the agent-browser CLI to open pages, fill forms and capture. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/maxwell2732/claudecode-research-harness-workflow/tree/main/skills/agent-browser
- **Repository:** https://github.com/maxwell2732/claudecode-research-harness-workflow
- **GitHub stars:** 42
- **License:** MIT
- **Skill name:** agent-browser
- **Collection:** https://github.com/maxwell2732/claudecode-research-harness-workflow
- **Categories:** [browser automation](https://ai-powered.com/categories/browser-automation)
- **Listing updated:** 2026-12-03

## About

This skill gives the agent a set of commands for controlling a browser through the agent-browser CLI. It covers opening URLs, clicking and filling elements, taking screenshots, reading page text, URL and title, and checking console logs and page errors for UI debugging.

The workflow centres on snapshots. The agent captures an AI-oriented view of the interactive elements on a page, each with a reference ID, and then acts on those references rather than on raw selectors. After each action it can re-snapshot or check the URL to confirm the result. Named sessions let it keep several browser contexts apart, for example separate logins for an admin and a regular user. Headless mode is the default, and a headed mode is available for debugging.

The skill expects the agent-browser npm package to be installed globally; its setup step checks for the binary and installs it if missing. It only has Bash and Read tool access, and the skill itself says to prefer other browser tools such as Playwright when they are available.

## When your agent uses it

> Browser automation through the repo agent-browser CLI. Explicit helper for navigation, forms, screenshots, scraping, and web-app checks. Prefer Browser Use or Playwright when available. Do NOT load for: sharing URLs, embedding links, or editing screenshot files.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/maxwell2732/claudecode-research-harness-workflow/tree/HEAD/skills/agent-browser)
- [Asks for: Bash, Read](https://github.com/maxwell2732/claudecode-research-harness-workflow/blob/HEAD/skills/agent-browser/SKILL.md)
- [License: MIT](https://github.com/maxwell2732/claudecode-research-harness-workflow/tree/HEAD/skills/agent-browser)

## Features

- **Snapshot-driven element control:** Captures interactive page elements with reference IDs so the agent can click and fill them reliably.
- **Form filling and navigation:** Covers opening URLs, typing into fields, pressing keys, and moving back, forward or reloading.
- **Screenshots and page inspection:** Saves screenshots and reads page text, HTML, URL, and title for verification.
- **Debugging output:** Shows console logs, page errors, and element highlights, with an option to display the browser window.
- **Parallel browser sessions:** Runs named sessions side by side, useful for keeping separate authenticated accounts apart.

## Good for

- Open a staging site and check that a page loads without errors
- Fill in a sign-up form and submit it while watching the result
- Take a screenshot of a web app screen for a UI review
- Log into two accounts in separate sessions and compare their views
- Pull visible text from a page for a quick scrape

## Install

### Claude Code

This skill ships in the `claudecode-research-harness-workflow` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add maxwell2732/claudecode-research-harness-workflow
/plugin install claudecode-research-harness-workflow@claudecode-research-harness-workflow
```

Or copy only this skill to `~/.claude/skills/agent-browser`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/agent-browser &&
cp -R "$tmp/skills/agent-browser" ~/.claude/skills/agent-browser &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/agent-browser` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/agent-browser` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/agent-browser &&
cp -R "$tmp/skills/agent-browser" ~/.agents/skills/agent-browser &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/agent-browser` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/agent-browser` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/agent-browser &&
cp -R "$tmp/skills/agent-browser" ~/.cursor/skills/agent-browser &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/agent-browser` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/maxwell2732/claudecode-research-harness-workflow.git --path skills/agent-browser
```

Or copy the folder to `~/.gemini/skills/agent-browser` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/agent-browser`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/agent-browser &&
cp -R "$tmp/skills/agent-browser" ~/.copilot/skills/agent-browser &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/agent-browser` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git
```

Then copy `claudecode-research-harness-workflow/skills/agent-browser` into your agent's skills folder as `agent-browser`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Agent browser need installed?

It needs the agent-browser CLI. The setup step checks for it with which and installs it through npm if it is missing, then runs agent-browser install.

### Does the browser show on screen by default?

No. The notes say agent-browser runs headless by default, and the --headed flag shows the browser window.

### Will Agent browser keep my logins between commands?

Sessions persist until they are explicitly closed, so named sessions can be used for sites that require authentication.

### Which tools does Agent browser use?

The skill's allowed tools are Bash and Read. Other browser options such as Playwright are suggested as preferable when available.

### How do I install Agent browser in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/agent-browser to use it in all your projects, or to .claude/skills/agent-browser in one project. Or install the claudecode-research-harness-workflow plugin, which includes it: /plugin marketplace add maxwell2732/claudecode-research-harness-workflow, then /plugin install claudecode-research-harness-workflow@claudecode-research-harness-workflow.

### Does Agent browser run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Agent browser?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Agent browser?

The closest alternatives to Agent browser are Agent browser, Agent browser, Agent browser, Webapp testing and Chrome devtools.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Agent browser](https://ai-powered.com/skills/agent-browser-chachamaru127-2): Agent browser is an open-source agent skill for browser automation.
- [Agent browser](https://ai-powered.com/skills/agent-browser-melandlabs): Agent browser is an open-source agent skill for browser automation.
- [Agent browser](https://ai-powered.com/skills/agent-browser-scaledockhq): Agent browser is an open-source agent skill for browser automation.
- [Webapp testing](https://ai-powered.com/skills/webapp-testing-github): Webapp testing is an open-source agent skill for browser automation.
- [Chrome devtools](https://ai-powered.com/skills/chrome-devtools): Chrome devtools is an open-source agent skill for browser automation.
- [Agent device](https://ai-powered.com/skills/agent-device-callstackincubator): Agent device is an open-source agent skill for browser automation.
- [Puppeteer skill](https://ai-powered.com/skills/puppeteer-skill): Puppeteer skill is an open-source agent skill for browser automation.
- [Browser verify](https://ai-powered.com/skills/browser-verify): Browser verify is an open-source agent skill for browser automation.

---
Source: https://ai-powered.com/skills/agent-browser-maxwell2732
