搜索

PythonReactSEOPDF
OpenClaw

claude-chrome

Use Claude Code with Chrome browser extension for web browsing and automation tasks. Alternative to OpenClaw's built-in browser tools.

dgriffin8310 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install dgriffin831/claude-chrome

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

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

  1. Claude Code installed on the node (e.g. /opt/homebrew/bin/claude)
  2. Claude Code Chrome extension installed and enabled in Chrome
  3. 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=<your-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=<your-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 | |-----------|---------|----------|-----------...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/dgriffin831/claude-chrome
Version
—
Commit
ea00a16e27db34893e87f566295a3467523da785
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# 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

1. **Claude Code** installed on the node (e.g. `/opt/homebrew/bin/claude`)
2. **Claude Code Chrome extension** installed and enabled in Chrome
3. **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:

```bash
nodes.run node=<your-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:

```bash
nodes.run node=<your-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 |
|-----------|---------|----------|-----------...

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.