Skip to content

About

BrowserClaw - Control your everyday Chrome browser from AI agents, without losing logins or focus

Topics

Resources

Contributing

Security policy

Stars

43 stars

Watchers

0 watching

Forks

Latest commit

 

History

297 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BrowserPaw

Simplified Chinese

BrowserPaw gives any shell-capable AI Agent fast, deterministic command-line control of your everyday desktop Chrome or Chromium profile—reusing your active logins, cookies, and extensions without starting a separate headless browser or bloating Agent context with dozens of MCP schemas.

The Agent reads the BrowserPaw Agent Skill, runs compact browserpaw CLI commands over an authenticated local loopback bridge (com.browserpaw.nativehost), and receives concise JSON/text receipts or local file paths for screenshots, traces, and exports.

Upgrading from v4.x? BrowserPaw v5.0.0 replaces the v4 MCP server, REPL, and Jev service with the unified browserpaw CLI, standard Agent Skill, and v5 client plugins. Read the Migration Guide (Simplified Chinese), or ask your Agent to read docs/MIGRATION.md and migrate your configuration.

Quick Start (Recommended: Global Skill + npm + Extension)

Requires Node.js 22.6+ and desktop Chrome or Chromium on Windows, macOS, or Linux. Install the CLI globally, run setup to register the Native Messaging host and install the global Agent Skill (~/.agents/skills/browserpaw, Windows %USERPROFILE%\.agents\skills\browserpaw), then load the unpacked extension in Chrome or Chromium:

npm install -g [email protected]
browserpaw setup

Note on npm availability: npm install -g [email protected] and npx [email protected] apply once 5.0.1 is published to npm. For a pre-release local tarball, use npx --yes --package /path/to/browserpaw-5.0.1.tgz browserpaw setup.

Open chrome://extensions (or chromium://extensions), enable Developer mode, click Load unpacked, and select the extension directory printed by setup (default ~/.browserpaw/extension, Windows %USERPROFILE%\.browserpaw\extension), then verify with browserpaw status.

Install Option Best For Command
Global Skill + npm CLI (Recommended) Everyday use across Codex, Claude Code, Cursor, Windsurf, and DSH npm install -g [email protected] && browserpaw setup
npx / Tarball / Project Skill No global install or workspace-scoped Skill (./.agents/skills/browserpaw) npx [email protected] setup --skill-scope project
Native Client Plugin Host-native marketplace/plugin install (read-only base Skill + npm CLI) See Client Plugins below
  • Setup flags: --skill-scope user (default), --skill-scope project, --skill-dir DIR, --no-skill, and --browser chromium.
  • See the full multi-path Installation Guide for human and Agent-assisted onboarding.
  • Upgrades: When invoked on demand (with no background daemon), browserpaw checks npm at most once every 24 hours, verifies SHA-512 integrity and tar extraction guards, installs newer stable CLI versions into ~/.browserpaw/cli-versions/, and automatically refreshes the staged Native Host, bundled recipes, and managed base Skill (BROWSERPAW_NO_AUTO_UPDATE=1 / BROWSERPAW_NO_UPDATE_CHECK=1 to opt out). Compatible 5.x Chrome MV3 extension updates remain optional and manual in chrome://extensions. See the Upgrade guide.

Client Plugins

All four official client plugins stay synchronized with the canonical skills/browserpaw/ base skill and v5 CLI. Read-only base skills live inside each host's plugin directory, while evolving self-learned site workflows live separately under ~/.browserpaw with zero conflict.

Client Package Included Capabilities Install
DeepSeek Harness plugins/browserpaw-dsh Bundles browserpaw npm package + read-only base skill + ~/.browserpaw learned-workflow table dsh plugin --profile web add dsh-browserpaw then dsh plugin --profile web exec browserpaw setup --no-skill
Hermes Agent plugins/browserpaw-hermes Read-only browserpaw:browserpaw skill + unified browserpaw CLI tool + MEDIA: screenshot output npm i -g [email protected] && browserpaw setup --no-skill + hermes plugins install GoldenLoaf24h/browserpaw#plugins/browserpaw-hermes
Claude Code plugins/browserpaw-claude Read-only base skill + SessionStart hook (CLI check + ~/.browserpaw learned-workflow context) npm i -g [email protected] && browserpaw setup --no-skill + claude plugin marketplace add GoldenLoaf24h/browserpaw && claude plugin install browserpaw@browserpaw
ChatGPT / Codex plugins/browserpaw Portable Agent Plugins v1.0.0 base skill + icons (no hooks) npm i -g [email protected] && browserpaw setup --no-skill + codex plugin marketplace add GoldenLoaf24h/browserpaw && codex plugin add browserpaw@browserpaw

See Plugin Compatibility & Spec Boundaries for why npm auto-installation and hooks differ across host specifications.

Run

Use browserpaw help data for history, bookmarks, downloads, storage and cookies. Use browserpaw help debug for network capture, console, performance, device emulation, PDF and CDP.

browserpaw status
browserpaw help
browserpaw search "network"
browserpaw task start research --json
browserpaw open https://example.com --task TASK_ID
browserpaw observe --task TASK_ID
browserpaw text --task TASK_ID
browserpaw screenshot --task TASK_ID --out page.png
browserpaw task finish --task TASK_ID

Replace TASK_ID with the returned task ID. To operate on an existing page, run browserpaw tabs and select it with --tab ID. Read command reference and the Agent Skill for refs, frames, recipes, and receipts.

Self-learned site skills and saved CLI recipes live under ~/.browserpaw (skills/, recipes/, and learned-index.json). Trusted bundled read-only recipes are discoverable directly via browserpaw recipe find <query> or browserpaw recipe list (status bundled) and auto-validate on first browserpaw recipe run ID key=value.... For custom or repaired candidates shown in browserpaw recipe list --all, use browserpaw recipe save FILE to create a candidate, browserpaw recipe patch ID --step INDEX -- ARGS... to repair one step, and browserpaw recipe validate ID to verify and activate a read-only candidate. Unvalidated candidates remain outside automatic routing, and successful activation refreshes the installed Skill routing table.

Troubleshooting & Maintenance

  • Verify bridge & build match: Run browserpaw status (or browserpaw status --json) and browserpaw doctor. Compare data.extension.buildId with browserpaw-build.json inside Chrome's loaded extension folder.
  • Repair host registration: Run browserpaw doctor --fix to re-register com.browserpaw.nativehost. If upgrading from v4, confirm Chrome is not pointing to the retired v4 com.chromemcp.nativehost (port 12306) or an old unpacked extension copy.
  • Uninstall cleanly: browserpaw uninstall removes the managed host registration and extension copy while preserving learned workflows under ~/.browserpaw; pass --purge to remove BrowserPaw data there as well.

Security, Privacy & Documentation

About

BrowserClaw - Control your everyday Chrome browser from AI agents, without losing logins or focus

Topics

Resources

Contributing

Security policy

Stars

43 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages