Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

agent-browser

Skill by mvschwarz

Automates websites through the agent-browser CLI, letting an AI assistant navigate pages, fill forms, click buttons, take screenshots and extract data. It is aimed at agents that need programmatic web interaction or browser testing.

  • Score 90
  • 9k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install agent-browser

Built from the published package, never by AI.

git clone --depth 1 https://github.com/mvschwarz/openrig /tmp/openrig && mkdir -p ~/.claude/skills && cp -r /tmp/openrig/skills/_canonical/process/agent-browser ~/.claude/skills/agent-browser

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install agent-browser in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

agent-browser is a browser automation CLI skill for AI agents. It follows a loop: open a URL, take a snapshot to get element refs such as @e1, act on those refs, then re-snapshot after the page changes. Commands can be chained with && because a background daemon keeps the browser open between calls. The skill also covers waiting for network idle or URL patterns, saving and loading login state, named sessions, diffing snapshots and screenshots, and connecting to an existing Chrome instance.

The skill is written for AI agents and for users who need to interact with websites. Typical uses include filling out a form, logging in, scraping data from a page, testing a web app, and running several isolated sessions in parallel. It also documents iOS Simulator control through Safari. The file is a vendored copy of Vercel's agent-browser skill, adapted by OpenRig.

Written from the project's SKILL.md and checked against it.

What it can do

  • Navigate and snapshotOpens a URL and lists interactive page elements with refs for later actions.
  • Fill, click and selectTypes into fields, clicks buttons and links, selects dropdown options and checks boxes.
  • Wait for pagesWaits for network idle, an element, a URL pattern, a JavaScript condition or a fixed time.
  • Screenshots and PDFTakes screenshots, full-page or annotated captures, and saves the page as a PDF.
  • Extract dataReads text and URLs from elements or the page, with optional JSON output.
  • Save login stateSaves and loads cookies and local storage, with optional encryption at rest.
  • Parallel sessionsRuns isolated named browser sessions so several agents or sites do not conflict.
  • Diff pagesCompares snapshots, screenshots or two URLs to verify that an action had the intended effect.
  • Connect to ChromeAttaches to a running Chrome with remote debugging enabled, by auto-discovery or CDP port.
  • iOS Simulator controlDrives Safari on an iOS simulator or a pre-configured physical device on macOS.

What you need

  • macOS with Xcode and Appium (for iOS Simulator use)
  • Chrome with remote debugging enabled (for auto-connect)
  • Physical iOS devices must be pre-configured

Try asking

  • Open example.com/signup and fill in the form with my details
  • Log into my dashboard and save the login state for later
  • Take a screenshot of this page and save it as a PDF

Good to know

  • The default Playwright timeout is 60 seconds for local browsers.
  • Element refs become invalid after the page changes and must be re-snapshotted.
  • iOS Simulator support requires macOS with Xcode and Appium.
  • Physical iOS devices work only if they are pre-configured.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/_canonical/process/agent-browser/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Bash(npx agent-browser:*)Bash(agent-browser:*)

  • LICENSE.txt11 KB
  • LOCAL-INSIGHTS.md6 KB
  • OPENRIG.md1 KB
  • SKILL.md16 KB

Alternatives to agent-browser

All alternatives →

Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser

agent-browser: common questions

Can agent-browser control an existing Chrome window?

Yes. The skill can auto-discover a running Chrome with remote debugging enabled, or connect to an explicit CDP port.

How does agent-browser keep a login between runs?

Using state save and state load, or named sessions that auto-save cookies and localStorage to ~/.agent-browser/sessions/ on close.

Can it test a web app on a phone?

The skill documents iOS Simulator control through Safari on macOS, including tap, swipe and screenshots.

How do I install agent-browser?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is agent-browser free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is agent-browser safe to use?

It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to agent-browser?

Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.

agent-browser Install

Add to stack

Loading.