dgriffin831

Claude Chrome

AI 智能体v1.0.0
作者:dgriffin831更新于 2026-05-18claude-chrome@clawhub_dgriffin831/claude-chrome
任务自动化工具调用#Browser Automation

据 AlphaMoat 统计,截至 2026-09,Claude Chrome 累计下载 4,808 次、获 1 个星标,在全部 5,078 个 AI 技能中排名第 1,958 位,在「AI 智能体」分类(969 个)中排名第 368 位。

累计安装
154
累计下载
4,808
星标
1
全站排名
#1,958
全站前 39% · 「AI 智能体」前 38%
平台累计安装累计下载星标评论
ClawHub ↗1544,467--
SkillHub ↗1544,8081—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

可用于导航网页、点击元素、填写表单和读取页面内容;需要 Claude Code、已启用的 Chrome 扩展及运行中的 Chrome。自动化可能在超时后继续运行,宽泛的自动批准也可能触发非预期操作。应使用专用浏览器配置并监控运行中的进程。 需要桌面会话;新域名权限提示需用户批准,可能阻断无人值守运行。

资料发布于 2026-10-27

可以用来做什么

  • 读取公开网页内容
  • 在专用浏览器会话中执行受限的页面交互

什么时候用

  • Chrome 扩展已启用,任务范围明确且账户会话适合自动化时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

用只读方式打开指定网页并提取标题,不提交表单。
列出执行浏览器自动化前需要检查的扩展状态和运行风险。

月度数据趋势

累计下载4,808
3,9174,3964,8742026-05 · 累计下载 3,9832026-07 · 累计下载 4,2862026-08 · 累计下载 4,3782026-09 · 累计下载 4,80826-0526-09
星标1
0122026-05 · 星标 12026-07 · 星标 12026-08 · 星标 12026-09 · 星标 126-0526-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-094,808—1
2026-084,378+2.1%1
2026-074,286—1
2026-053,983—1

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

3.5 KB · SkillHub v1.0.0
---
name: claude-chrome
description: Use Claude Code with Chrome browser extension for web browsing and automation tasks. Alternative to OpenClaw's built-in browser tools.
metadata: {"clawdbot":{"emoji":"🌐","requires":{"anyBins":["claude"]}}}
---

# 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).
展开全部(共 75 行)
## 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 |
|-----------|---------|----------|---------------------|
| **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-permissions` for automated runs
- Always use `-p` / `--print` for non-interactive output
- Always use `bash -lc` for 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_fetch` instead (faster, no domain permissions needed)

「AI 智能体」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。