{"skill":{"slug":"claude-chrome","displayName":"Claude Chrome","summary":"Use Claude Code with Chrome browser extension for web browsing and automation tasks. Alternative to OpenClaw's built-in browser tools.","description":"---\nname: claude-chrome\ndescription: Use Claude Code with Chrome browser extension for web browsing and automation tasks. Alternative to OpenClaw's built-in browser tools.\nmetadata: {\"clawdbot\":{\"emoji\":\"🌐\",\"requires\":{\"anyBins\":[\"claude\"]}}}\n---\n\n# Claude Chrome — Browser Automation via Claude Code\n\nUse Claude Code's Chrome integration to browse the web, interact with pages, and automate browser tasks. This is an alternative to OpenClaw's built-in browser tools (Chrome Relay, OpenClaw profile).\n\n## Prerequisites\n\n1. **Claude Code** installed on the node (e.g. `/opt/homebrew/bin/claude`)\n2. **Claude Code Chrome extension** installed and enabled in Chrome\n3. **Chrome** running on the node\n\n## How It Works\n\nClaude Code can connect to Chrome via its built-in browser extension (MCP server). When enabled, Claude Code gains browser tools — it can navigate pages, click elements, fill forms, read content, and more.\n\n## Step 1: Check if Chrome Extension is Active\n\nLook for the native host process to confirm the Chrome extension is running:\n\n```bash\nnodes.run node=<your-node-id> command='[\"bash\", \"-lc\", \"pgrep -f \\\"claude --chrome-native-host\\\"\"]'\n```\n\nIf this returns a PID, the Chrome extension bridge is active and ready.\n\n## Step 2: Run Claude Code with Chrome\n\nUse `nodes.run` with your node to execute browser tasks:\n\n```bash\nnodes.run node=<your-node-id> commandTimeoutMs=120000 command='[\"bash\", \"-lc\", \"claude --dangerously-skip-permissions --chrome -p \\\"Go to example.com and read the headline\\\"\"]'\n```\n\n**Flags:**\n- `--dangerously-skip-permissions` — auto-approve all actions (required for automation)\n- `--chrome` — enable Chrome browser integration\n- `-p` / `--print` — non-interactive print mode (required for automated use)\n- `bash -lc` — login shell to ensure PATH is loaded\n\n**Timeout:** See benchmarks below for guidance. Recommended defaults:\n- Simple tasks (single page read): `commandTimeoutMs=30000` (30 seconds)\n- Medium complexity (multi-step navigation): `commandTimeoutMs=120000` (2 minutes)\n- Complex workflows (multiple pages + summarization): `commandTimeoutMs=180000` (3 minutes)\n\n## Performance Benchmarks\n\n| Task Type | Example | Duration | Recommended Timeout |\n|-----------|---------|----------|---------------------|\n| **Simple** | Read button text on Google | 13s | 30s (30000ms) |\n| **Medium** | Wikipedia search + navigate + summarize | 76s | 2min (120000ms) |\n| **Complex** | Multi-page navigation + external links | ~90s+ | 3min (180000ms) |\n\n**Gateway timeout note:** OpenClaw's gateway has a hardcoded 10-second connection timeout. Commands will error immediately but continue running in the background. Results arrive via system messages when complete.\n\n## Limitations\n\n- **Domain permissions:** Claude Code's Chrome extension may require user approval for new domains (cannot be automated)\n- **Gateway timeout:** Initial connection times out at 10s, but commands continue running\n- **Desktop required:** Only works on nodes with a desktop environment, Chrome, and the extension active\n\n## Tips\n\n- Always use `--dangerously-skip-permissions` for automated runs\n- Always use `-p` / `--print` for non-interactive output\n- Always use `bash -lc` for login shell (PATH loading)\n- Be aggressive with timeouts - commands complete in background even after gateway timeout\n- Claude Code can combine coding and browsing in a single session\n- Check the native host process before attempting browser tasks\n- For simple data scraping, consider `web_fetch` instead (faster, no domain permissions needed)\n","tags":{"latest":"1.0.0"},"stats":{"comments":0,"downloads":4074,"installsAllTime":154,"installsCurrent":22,"stars":0,"versions":1},"createdAt":1770080837809,"updatedAt":1779076587243},"latestVersion":{"version":"1.0.0","createdAt":1770080837809,"changelog":"- Initial release of claude-chrome skill: enables browser automation on Chrome via Claude Code and its extension.\n- Provides setup instructions, usage examples, and required command flags for seamless integration.\n- Includes benchmarking data and recommended timeouts for various task complexities.\n- Documents limitations such as domain permission prompts, node requirements, and gateway timeouts.\n- Offers best-practice tips and alternatives for simple web tasks.","license":null},"metadata":{"setup":[],"os":null,"systems":null},"owner":{"handle":"dgriffin831","userId":"s17faq5seed7yjjqdaz8cs48sx88526g","displayName":"dgriffin831","image":"https://avatars.githubusercontent.com/u/16494003?v=4"},"moderation":{"isSuspicious":false,"isMalwareBlocked":false,"verdict":"clean","reasonCodes":["review.llm_review"],"summary":"Review: review.llm_review","engineVersion":"v2.4.24","updatedAt":1779943025586}}