browser-harness Setup Guide¶
Skill: browser-harness · Installs: 971 (skills.sh, 2026-11-27) · Source: browser-use/browser-harness
Browser harness gives AI agents control of a real Chrome browser over the DevTools Protocol - navigate pages, click elements, extract data, fill forms, and take screenshots, signed in as the user. It is now the engine inside Browser Use: the browser-use CLI ships the same helpers and daemon, and the browser-harness command keeps working. On servers without a GUI, it drives a headless Chrome the same way.
Capabilities¶
- Page navigation and URL management
- Element clicking, typing, and form filling
- Content extraction and data scraping
- Screenshot capture for visual verification
- Cookie and session management, using the browser's existing logins
Prerequisites¶
uv (Python 3.12 toolchain), Chrome or Chromium with a DevTools endpoint, and write access to the agent's skills directory.
Installation¶
uv tool install --python 3.12 --upgrade --force browser-harness
browser-harness skill > "${CODEX_HOME:-$HOME/.codex}/skills/browser-harness/SKILL.md"
Or register the skill through the skills CLI:
npx skills add browser-use/browser-harness --skill browser-harness
Usage¶
Smoke-test the harness first:
browser-harness <<'PY'
print(page_info())
PY
If page_info() prints, open chrome://inspect/#remote-debugging in your browser and tick the allow checkbox so the harness can attach. Then load the skill in your agent session and it provides the browser automation tools through natural language commands. Run browser-harness recordings once to set the local screenshot and action-trace preference.
Troubleshooting¶
| Issue | Fix |
|---|---|
| Skill not found | Re-run browser-harness skill and write its output to the agent's skills directory; remove any stale user-installed browser or browser-use skill directory that shadows it |
| Browser not launching | Open chrome://inspect/#remote-debugging and tick the allow checkbox, or start Chrome with a DevTools port on a headless server |
| Permission errors on VPS | Check that the agent user can execute the browser binary and read its profile directory |
Related Skills¶
- vps-server-management - VPS server management and monitoring
- distribute-skill-to-all-agents - Sync skills across multiple agent instances
- Skills Catalog
Integration with CorpusIQ¶
CorpusIQ is the connector layer that lets AI assistants read the systems a business already runs on - accounting, payments, CRM, email, files and analytics - and answer with the source named. It is read-only by design: it retrieves data and never writes to, or acts in, a connected system, which is what makes it safe to point at live accounts.
This page is part of the CorpusIQ directory, the reference we maintain for the MCP server and agent-skill ecosystem. Run alongside CorpusIQ, a third-party server like this one can be combined with a company's own business data in a single answer.