Skip to content

Guide · Agent skill

How to use the agent-browser agent skill: setup and examples

Updated · written with AI from the project's own documentation and checked against our catalogue data

The agent-browser skill teaches an AI agent to drive a real Chrome or Chromium browser through a command-line tool called agent-browser. Once it is installed, you can ask the agent to open a website, fill in a form, click a button, take a screenshot or pull data off a page, and it will do so by reading the page's accessibility tree rather than guessing at raw HTML. This guide covers what the skill does, how to install it, how to trigger it, and the safety points to check before you let it touch a live site.

Agent Browser Controlvercel-labs/agent-browser · Apache-2.0

Quick start

  1. 1Check prerequisites. Make sure Node.js with npm is installed on your machine.
  2. 2Install the CLI. Run npm i -g agent-browser && agent-browser install in a terminal to add the CLI and its Chrome or Chromium browser.
  3. 3Download the skill. Download the skill ZIP from this page and unzip it so the folder contains SKILL.md.
  4. 4Place the skill. Move the folder into ~/.claude/skills/, into a project's .claude/skills/, or upload the ZIP under Settings → Capabilities → Skills in the Claude apps.
  5. 5Make a request. Ask the agent in plain language to open a site, fill a form, click a button or take a screenshot.
  6. 6Review actions. Check the agent's steps before it submits forms or logs in, especially on sensitive accounts.

What the agent-browser skill does

Agent skills are folders of instructions that an AI agent loads when a task matches them. This one covers browser work: navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, and testing web apps.

The tool it relies on is a Rust-based CLI. It controls Chrome or Chromium over CDP, and it presents pages as accessibility-tree snapshots with short element references such as @eN, so the agent can refer to a specific button or field reliably.

  • Navigate pages and interact with elements by reference
  • Fill forms and click buttons
  • Take screenshots and extract data
  • Test and debug web apps, including exploratory QA
  • Support for sessions, state persistence and video recording

Install the agent-browser skill

Download the skill ZIP from this page and unzip it. The skill is a folder containing SKILL.md. Put it in one of these locations:

For a personal install across projects, place the unzipped folder in ~/.claude/skills/. For a single project, place it in that project's .claude/skills/ folder. In the Claude apps, you can instead upload the ZIP under Settings → Capabilities → Skills.

  • Personal: ~/.claude/skills/
  • Per project: .claude/skills/ inside the project
  • Claude apps: Settings → Capabilities → Skills, then upload the ZIP

Install the CLI the skill needs

The skill is only a stub. It needs the agent-browser CLI, which requires Node.js with npm. Install the CLI globally, then install the browser it controls.

Run these commands in a terminal. The skill's own instructions also tell the agent to load its workflow content from the installed CLI, so the instructions match the installed version.

npm i -g agent-browser && agent-browser install

How to trigger the skill with natural requests

You do not need special syntax. Describe the browser task in plain language and the agent should pick up the skill when the request matches its description. Typical trigger phrases include "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app" and "login to a site".

The skill also covers specialized areas. For a desktop Electron app such as VS Code, Slack, Discord, Figma, Notion or Spotify, or for Slack tasks like checking unreads or sending messages, the agent loads a sub-skill for that work. Be specific about the site or app and the outcome you want.

  • "Open example.com and take a screenshot of the pricing table."
  • "Fill out the contact form on my staging site with the test data in test.json."
  • "Test this web app's signup flow and report any bugs you find."

Examples of useful tasks

The skill fits tasks where a page has no API or where you need to exercise an interface as a user would. Developers use it to test or debug a web app in a real browser. Analysts use it to pull data from sites that have no export. Anyone with repetitive web chores, such as filling out the same form weekly, can hand those steps to the agent.

Keep requests concrete: the URL, the steps, what counts as success and where to save output.

  • Reproduce a bug on your staging app and capture a screenshot of the failure
  • Pull a table of listings from a site that offers no API
  • Fill a repetitive internal form on a site you own
  • Run an exploratory QA pass and list what looks broken

Safety notes before you run it

This skill runs scripts and uses the network. The browser runs with real session access, so anything you are logged into can be reached by the agent. Review what the agent plans to do before it submits forms, logs in, or handles payments.

Only automate accounts and sites you have permission to use. Logins and scraping can breach a site's terms of service. Also note that launching a browser is slower and heavier than a normal fetch or search, so use a simpler tool for simple lookups.

  • Use it on sites and accounts you own or are allowed to automate
  • Review sensitive logins and payments step by step
  • Avoid it for simple lookups that a fetch or search tool can answer

Tips for better results

Start with a short, specific request and check the first few actions. If the agent gets stuck, ask it to load the core workflow from the CLI with the command below, which includes workflows, common patterns and troubleshooting. Add the --full flag for the complete command reference.

  • Name the exact page or element you mean
  • Ask for a screenshot at key points so you can verify progress
  • Use a staging environment for testing forms and flows
agent-browser skills get core

What people use it for

  • Testing a staging web app's signup or checkout flow and reporting failures
  • Taking screenshots of pages for documentation or bug reports
  • Extracting data from a website that has no API
  • Filling repetitive forms on a site you administer
  • Running exploratory QA passes on an app

Frequently asked questions

How do I install the agent-browser skill?

Download the skill ZIP from this page and unzip it. Place the folder in ~/.claude/skills/ for personal use or in a project's .claude/skills/ folder, or upload the ZIP under Settings → Capabilities → Skills in the Claude apps.

What do I need to run agent-browser?

You need Node.js with npm to install the CLI globally with npm i -g agent-browser, then run agent-browser install to set up Chrome or Chromium. Optional sub-skills for Slack or Electron apps need their own credentials, and the Vercel or AWS cloud sub-skills need those accounts.

Is agent-browser free to use?

The source material does not state pricing or licence terms beyond the project's Apache-2.0 licence, so check the repository for the current terms before relying on it.

Does the skill run code on my computer?

Yes. The skill runs scripts and uses the network, and it drives a real browser that can access sessions you are logged into. Review what the agent does before it submits forms or handles logins.

What is the difference between agent-browser and a normal fetch tool?

A fetch or search tool reads a page without running it in a browser, which is quicker for simple lookups. agent-browser launches a real browser, so it can click, fill forms and take screenshots, but it is slower and heavier.

Why does the skill just point to other commands?

The SKILL.md file is a discovery stub. It tells the agent to load the real workflow from the installed CLI with agent-browser skills get core, so the instructions match the installed version.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

Choose agent-browser if you are a developer testing a web app in a real browser, or an analyst or operator who needs to automate interactions with sites you are allowed to use. Skip it for simple lookups that a fetch or search tool can handle, and for any site or account you do not have permission to automate.

Download the skill