browser-harness
Skill by REVREBEL
Drives an existing browser through CDP for authenticated, visual, or interactive web automation. It suits tasks that need a real logged-in browser, visible interaction, or JS-heavy page control.
Install browser-harness
Built from the published package, never by AI.
git clone --depth 1 https://github.com/REVREBEL/skills-library /tmp/skills-library && mkdir -p ~/.claude/skills && cp -r /tmp/skills-library/library/development/fullstack/browser-harness ~/.claude/skills/browser-harnessRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/REVREBEL/skills-library /tmp/skills-library && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills-library/library/development/fullstack/browser-harness ~/.gemini/antigravity-cli/skills/browser-harnessAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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 web browser through the Chrome DevTools Protocol (CDP). The skill runs Python snippets with helper functions pre-imported, such as new_tab, capture_screenshot, click_at_xy and js. A background daemon starts automatically. The workflow relies on screenshots to find targets, then uses coordinate clicks and verifies each action with another screenshot. The source says it connects to the user's running Chrome rather than launching its own browser, and it notes Brave works the same way.
The skill is aimed at tasks that need a real browser session, such as logged-in sites, visible interaction, or JavaScript-heavy flows. The source says static pages should use plain HTTP fetches or a separate scraping skill instead. It also supports remote cloud browsers for parallel sub-agents or headless servers.
Written from the project's SKILL.md and checked against it.
What it can do
- new_tabOpens a URL in a new tab. The source says to use it for the first navigation.
- wait_for_loadWaits for the page to finish loading after navigation.
- capture_screenshotTakes a screenshot to see the page and verify whether an action worked.
- click_at_xyClicks at pixel coordinates, passing through iframes, shadow DOM and cross-origin content.
- jsRuns JavaScript on the page for DOM inspection and text extraction.
- ensure_real_tabRe-attaches to a real page when the current tab is stale or internal.
- http_getFetches static pages over HTTP without a browser, for bulk requests.
- cdpSends raw Chrome DevTools Protocol commands for anything the helpers do not cover.
- start_remote_daemonStarts a cloud browser session, optionally reusing a saved cloud profile.
- list_cloud_profilesLists cloud browser profiles that can be reused for logged-in sessions.
What you need
- Chrome or Brave with remote debugging enabled
- Python, since helpers are Python code
- BROWSER_USE_API_KEY for remote browsers
Try asking
- Open example.com in a new tab and tell me what the page shows.
- Take a screenshot of my current tab and find the login button.
- Extract the article text from this logged-in page and save it to a file.
Good to know
- Domain skills are off unless BH_DOMAIN_SKILLS=1 is set.
- Remote daemons bill until their timeout ends.
- On a login redirect the assistant stops and asks the user rather than typing credentials.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: library/development/fullstack/browser-harness/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to browser-harness
All alternatives →Antigravity Workflows guides an assistant through multi-skill workflows for shipping a SaaS MVP, auditing web app security, building AI agents, running browser QA, and designing a domain model. It is for users who want several skills combined with verified checkpoints.
Guides building end-to-end test suites with Playwright and Cypress. It is for developers who write E2E tests, debug flaky tests, or set testing standards.
Upgrades Chrome or Firefox versions in the Flutter Web Engine and Framework tests. It verifies the version, updates config files, syncs CI builder JSON and runs local tests before the CIPD upload.
Builds reliable browser checks for real web workflows using semantic locators, bounded waits, isolated test data and explicit outcome checks. It is for developers and testers writing or debugging browser tests.
Diagnoses memory leaks in the Qwen Code CLI using heap snapshots and the chrome-devtools CLI. Built for developers investigating high memory use, unbounded growth, or object retention.
Guides an assistant through using Claude in Chrome, a browser extension whose tools act in the person's real Chrome with their own sign-ins. It is for users who want the assistant to work in their browser safely.
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 a separate browser.
Why does the skill use new_tab instead of goto_url for the first page?
The source says goto_url runs in the user's active tab and can overwrite their work, so new_tab is the safer first navigation.
Can it run on a headless server?
The source says remote browsers can be used on a headless server, with the session URL shared with the user since no local browser opens.
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 61 of 100. Grades: maintenance A, licence A, quality C. 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.
