okbest2024/openclaw-backup/chrome-cdp
Claude Code and agent skill by okbest2024/openclaw-backup
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install okbest2024/openclaw-backup/chrome-cdpSKILL.md
The same SKILL.md was published earlier as okbest2024/openclaw-backup/chrome-cdp.
chrome-cdp-skill
让AI agent访问你已打开的Chrome标签页
简介
chrome-cdp-skill 通过Chrome远程调试协议(CDP)连接你已经在用的Chrome会话,让AI可以:
- 读取已登录账户的页面(Gmail、GitHub等)
- 与你正在工作的标签页交互
- 查看真实页面状态(非重新加载的干净状态)
安装
前提条件
- Chrome浏览器
- Node.js 22+
启用Chrome远程调试
- 在Chrome地址栏输入:
chrome://inspect/#remote-debugging - 打开"启用远程调试"开关
安装Skill
使用方法
基本命令
获取targetId
首先运行 list 命令获取标签页的targetId:
然后用targetId前缀操作:
与OpenClaw集成
方法1:直接调用脚本
在OpenClaw中通过exec调用:
方法2:创建MCP服务器
可以将其封装为MCP服务器供OpenClaw调用。
方法3:创建OpenClaw Skill
参考 skills/chrome-cdp/index.js 创建完整Skill。
优势对比
| 特性 | chrome-cdp | Puppeteer类工具 | |
|---|---|---|---|
| 浏览器 | 已有Chrome | 新启动浏览器 | |
| 登录状态 | 保持 | 需重新登录 | |
| 页面状态 | 真实状态 | 干净状态 | |
| 标签页数量 | 100+不卡 | 容易超时 | |
| 依赖 | 仅Node.js | Puppeteer+浏览器 |
注意事项
- 首次访问标签页时,Chrome会弹出"允许调试"确认框
- 守护进程20分钟无活动自动退出
- 目标ID只需唯一前缀即可匹配
参考
- GitHub: https://github.com/pasky/chrome-cdp-skill
- 作者: pasky
- Stars: 1000+
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingworkspace/skills/chrome-cdp/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/okbest2024/openclaw-backup/chrome-cdp)