Claude Chrome
/install claude-chrome
Claude Chrome — Browser Automation via Claude Code
Use 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).
Prerequisites
- Claude Code installed on the node (e.g.
/opt/homebrew/bin/claude) - Claude Code Chrome extension installed and enabled in Chrome
- Chrome running on the node
How It Works
Claude 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.
Step 1: Check if Chrome Extension is Active
Look for the native host process to confirm the Chrome extension is running:
nodes.run node=\x3Cyour-node-id> command='["bash", "-lc", "pgrep -f \"claude --chrome-native-host\""]'
If this returns a PID, the Chrome extension bridge is active and ready.
Step 2: Run Claude Code with Chrome
Use nodes.run with your node to execute browser tasks:
nodes.run node=\x3Cyour-node-id> commandTimeoutMs=120000 command='["bash", "-lc", "claude --dangerously-skip-permissions --chrome -p \"Go to example.com and read the headline\""]'
Flags:
--dangerously-skip-permissions— auto-approve all actions (required for automation)--chrome— enable Chrome browser integration-p/--print— non-interactive print mode (required for automated use)bash -lc— login shell to ensure PATH is loaded
Timeout: See benchmarks below for guidance. Recommended defaults:
- Simple tasks (single page read):
commandTimeoutMs=30000(30 seconds) - Medium complexity (multi-step navigation):
commandTimeoutMs=120000(2 minutes) - Complex workflows (multiple pages + summarization):
commandTimeoutMs=180000(3 minutes)
Performance Benchmarks
| Task Type | Example | Duration | Recommended Timeout |
|---|---|---|---|
| Simple | Read button text on Google | 13s | 30s (30000ms) |
| Medium | Wikipedia search + navigate + summarize | 76s | 2min (120000ms) |
| Complex | Multi-page navigation + external links | ~90s+ | 3min (180000ms) |
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.
Limitations
- Domain permissions: Claude Code's Chrome extension may require user approval for new domains (cannot be automated)
- Gateway timeout: Initial connection times out at 10s, but commands continue running
- Desktop required: Only works on nodes with a desktop environment, Chrome, and the extension active
Tips
- Always use
--dangerously-skip-permissionsfor automated runs - Always use
-p/--printfor non-interactive output - Always use
bash -lcfor login shell (PATH loading) - Be aggressive with timeouts - commands complete in background even after gateway timeout
- Claude Code can combine coding and browsing in a single session
- Check the native host process before attempting browser tasks
- For simple data scraping, consider
web_fetchinstead (faster, no domain permissions needed)
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install claude-chrome - 安装完成后,直接呼叫该 Skill 的名称或使用
/claude-chrome触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Claude Chrome 是什么?
Use Claude Code with Chrome browser extension for web browsing and automation tasks. Alternative to OpenClaw's built-in browser tools. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 3468 次。
如何安装 Claude Chrome?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install claude-chrome」即可一键安装,无需额外配置。
Claude Chrome 是免费的吗?
是的,Claude Chrome 完全免费(开源免费),可自由下载、安装和使用。
Claude Chrome 支持哪些平台?
Claude Chrome 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Claude Chrome?
由 dgriffin831(@dgriffin831)开发并维护,当前版本 v1.0.0。