Skip to main content
skill CX Codex

agent-browser · brianlovin — Claude Code skill: browser automation CLI

A skill that hands your coding agent a browser CLI for opening pages, filling forms, clicking elements and taking screenshots.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add brianlovin/agent-config --skill agent-browser -a claude-code
Open on GitHub

What agent-browser does

The skill exposes a set of agent-browser commands that drive Chrome or Chromium over CDP. Typical loop: open a URL, run agent-browser snapshot -i to get element refs such as @e1, then act on those refs. Re-snapshot after any navigation or DOM change, since old refs stop matching.

Calls share one browser through a background daemon, so chained commands with && are fine — open, wait for network idle, grab a screenshot in one shell line. Keep snapshot separate only when you need its output first. Auth is covered too: persistent profiles, named sessions, importing cookies from your running Chrome, an encrypted vault for credentials.

Before anything works you need the CLI installed (npm i -g agent-browser, brew install agent-browser or cargo install agent-browser) and Chrome pulled down with agent-browser install. Saved state files hold tokens in plaintext, so add them to .gitignore.

Screenshots come in plain, full-page and annotated flavours, where elements get numbered labels. There is also device emulation for mobile viewports.

What it helps with

  • submit a web form without touching a mouse
  • capture a full-page screenshot for a report
  • log into an app once and reuse the session later
  • pull element text off a page using snapshot refs
  • download a file that only appears after a button click

Example prompts for the agent

  • Open https://example.com/form, fill in the fields and submit it
  • Take a full-page screenshot of the dashboard into page.png
  • Log in using --state ./auth.json, then confirm the profile page loads

How to install agent-browser

1Skills CLI (Vercel)

npx skills add brianlovin/agent-config --skill agent-browser -a claude-code

2Manually: put the files in place

~/.claude/skills/agent-browser/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/agent-browser/

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 brianlovin/agent-config --skill agent-browser -a claude-code; the skill lands at ~/.claude/skills/agent-browser/SKILL.md.

What does agent-browser do?

It gives the agent browser commands for navigation, clicking, typing, waiting on page state, screenshots and downloads.

What else is required besides the skill?

The CLI itself plus a downloaded Chrome via agent-browser install. Without those the commands have nothing to drive.

Similar skills

All skills for Browser and scraping →

agent-browser by other authors comes first.

agent-browser vercel-labs A CLI skill for browser control: it opens pages, fills forms, clicks buttons, and tests web apps. Use it when an agent needs to act inside a website. CX Codex +1 1,200,000installs agent-browser nexu-io Automates browser actions via CLI and CDP. Lets AI agents inspect local web apps, run tests, take element screenshots, and extract design tokens. CX Codex +1 2,800installs agent-browser 101-skills This skill hands your agent a browser: open pages, click elements, fill forms, grab screenshots and record video. Useful for scraping and UI testing. CX Codex +1 162,800installs agent-browser official Vercel Labs Automates browser actions via CLI, takes DOM snapshots, clicks elements, and verifies dev servers. Helps AI agents inspect web interfaces directly. CX Codex GP ChatGPT 20installs webapp-testing official anthropics This skill tests local web apps with Playwright, helping agents debug UI behavior, capture screenshots, and inspect browser logs. 186,758installs computer-use stablyai This skill drives a visible app window through orca computer: accessibility tree, clicks, typing, screenshots. Reach for it when the job sits behind a GUI. CX Codex +1 239,400installs browser-use browser-use Hands the agent a real Chrome over CDP: clicks, typing, screenshots, and pages that need JS or your logged-in session. CX Codex +1 98,200installs playwright-cli microsoft A skill that hands your agent a browser: open a page, click elements, grab a snapshot, and work with Playwright tests. CX Codex +1 195,700installs last30days mvanhorn Pulls posts and engagement on any topic from the last 30 days across Reddit, X, YouTube, TikTok, Hacker News, Polymarket, GitHub and the web. Useful when you want what people actually said, not what a blog summarized. CX Codex +1 53,000installs

From the same set15

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor