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 sickn33

Drives an existing browser through CDP for logged-in, visual, or interactive web automation. Intended for agents that need a real browser instead of static page fetches.

  • Score 92
  • 50k 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/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/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 is an agent skill that controls a real browser through the Chrome DevTools Protocol (CDP). It connects to the user's running Chrome or Brave rather than launching its own browser, so existing logins and sessions are available. Scripts run through a browser-harness -c command with helper functions pre-imported, and a daemon starts automatically.

The skill is aimed at tasks that need clicks, forms, logins, JS-heavy pages, or visual checks. It recommends screenshots before and after actions, coordinate clicks that pass through iframes and shadow DOM, and raw CDP calls for anything the helpers do not cover. It also covers remote cloud browsers, interaction playbooks, and optional per-site domain skills.

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

What it can do

  • new_tab(url)Opens a URL in a new tab so the user's active tab is not changed.
  • capture_screenshot()Takes a screenshot to find visible targets and verify that an action worked.
  • click_at_xy(x, y)Clicks at pixel coordinates, passing through iframes, shadow DOM, and cross-origin frames.
  • js(...)Runs JavaScript on the page for DOM inspection and text extraction.
  • http_get(url)Fetches static pages over HTTP without a browser, usable with a thread pool for bulk requests.
  • start_remote_daemon(name)Starts a remote cloud browser, for parallel sub-agents or headless servers.
  • cdp("Domain.method", params)Sends raw CDP commands for anything the helper functions do not cover.
  • ensure_real_tab()Re-attaches to a real page when the current tab is stale or internal.

What you need

  • Chrome or Brave with remote debugging enabled
  • An installed browser-harness executable
  • BROWSER_USE_API_KEY for remote browsers
  • Python for the -c scripts

Try asking

  • Open the docs page in a new tab and tell me what the page says.
  • Take a screenshot of the current page and find the Login button.
  • Click the Submit button in the open form and confirm it worked.

Good to know

  • Auth walls stop the flow and ask the user, so credentials are not typed from screenshots.
  • Remote daemons keep billing until their timeout.
  • Domain skills are off by default and need BH_DOMAIN_SKILLS=1.
  • innerText may miss virtualized, collapsed, paginated, or lazy content.

Security check

A

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

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

Inside the skill

  • SKILL.md14 KB
  • references/install.md10 KB

Alternatives to browser-harness

All alternatives →

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

browser-harness: common questions

Does browser-harness launch its own browser?

No. The source says it connects to the user's running Chrome and does not launch its own browser.

Why does the skill use new_tab instead of goto_url?

The source says goto_url runs in the user's active tab and can overwrite their work, so the first navigation should use new_tab(url).

Can it read pages that need a login?

Yes, the source says it uses the user's existing browser session for login-walled sites such as X/Twitter articles and LinkedIn.

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 92 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.