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

browser-harness

Skill by browser-use

Controls a real browser over CDP for clicks, typing, navigation, logged-in sessions and JavaScript-heavy or bot-protected pages. Use curl instead for plain fetches of public content.

  • Score 91
  • 19k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install browser-harness

Built from the published package, never by AI.

git clone --depth 1 https://github.com/browser-use/browser-harness /tmp/browser-harness && mkdir -p ~/.claude/skills && cp -r /tmp/browser-harness ~/.claude/skills/browser-harness

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

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

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

About

browser-harness gives an AI assistant direct control of a real browser through the Chrome DevTools Protocol (CDP). It can click, type, navigate, use the person's logged-in session, and work with JavaScript-rendered or bot-protected pages. The skill tells the assistant to find elements with the accessibility tree, verify each change, and save screenshots as proof of work.

Each agent drives only its own tabs. Tabs can be marked as deliverables or handoffs, and releasing tabs closes the unmarked ones the agent opened. The source says a plain HTTP request for public content should use curl instead. The skill is aimed at agents that need interactive browser work, and it covers local Chrome and Browser Use cloud browsers.

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

What it can do

  • Browser controlClicks, types and navigates in a real browser through CDP.
  • Accessibility tree lookupFinds elements by role and name, then clicks at their box center.
  • Tab ownershipLists tabs by owner and marks or releases the tabs the agent opened.
  • ScreenshotsSaves a screenshot with capture_screenshot as proof of work.
  • File uploadsSends local files to file inputs with upload_file.
  • Raw CDP callsRuns any CDP method through cdp("Domain.method", ...).
  • Captcha solvingCalls solve_captcha on cloud browsers that support it.
  • Cloud browsersStarts and stops named remote browser daemons with start_remote_daemon and stop_remote_daemon.
  • Domain skillsReads site-specific notes when BH_DOMAIN_SKILLS=1 is set.

What you need

  • Chrome with remote debugging enabled for local control
  • Browser Use API key for cloud browsers
  • Browser-harness install as described in install.md

Try asking

  • Open the product page and click through to the checkout form.
  • Upload this PDF to the form on my open tab and save a screenshot.
  • Check the price shown on this JavaScript-rendered page and report it.

Good to know

  • Login walls, passwords, MFA and consent require asking the user first.
  • Domain skills are off unless BH_DOMAIN_SKILLS=1 is set.
  • Cloud browsers must be stopped manually; the source says to ask before leaving them running.
  • Chrome shows an Allow remote debugging dialog for each browser-level connection.

Security check

A

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

Checked automatically: SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • .env.example102 B
  • .gitignore101 B
  • AGENTS.md2 KB
  • CHANGELOG.md9 KB
  • CONTRIBUTING.md1 KB
Show all 11 files
  • LICENSE1 KB
  • README.md9 KB
  • SKILL.md11 KB
  • browser-harness939 B
  • install.md6 KB
  • pyproject.toml1 KB

Alternatives to browser-harness

All alternatives →

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

browser-harness: common questions

When should I use browser-harness instead of curl?

The source says to use curl or a fetch tool for public pages, APIs and docs. Browser-harness is for clicks, typing, logged-in sessions, JS rendering or bot-protected pages.

Does it work with my logged-in Chrome session?

The source says it can use the user's logged-in session. Local Chrome must have remote debugging enabled and may ask for an Allow approval.

Will it close my tabs when it finishes?

Nothing closes by itself. release_tabs() closes unmarked tabs the agent opened and returns tabs it took, and it should only be called when the task is finished.

How do I install browser-harness?

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

Is browser-harness free?

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

Is browser-harness safe to use?

It scores 91 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 browser-harness?

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

browser-harness Install

Add to stack

Loading.