首页龙虾技能列表 › Chrome Relay — 技能工具

Chrome Relay — 技能工具

v1.0.0

[自动翻译] Control the user's local Chrome browser via OpenClaw Browser Relay extension. Use when: (1) User asks to control/access their browser (2) User wants t...

0· 562·1 当前·1 累计
by @meowlegemy-sudo·MIT-0
下载技能包
License
MIT-0
最后更新
2026/4/10
安全扫描
VirusTotal
可疑
查看报告
OpenClaw
可疑
medium confidence
The skill's instructions match its stated purpose (controlling a local Chrome session) but they require access to a local OpenClaw gateway token and extension path that are not declared in the skill metadata, which is an incoherence you should understand before installing.
评估建议
This skill appears to do what it says (control your local Chrome via a Browser Relay extension), but its runtime steps require reading your OpenClaw gateway token and accessing a local extension folder — yet the skill metadata doesn't declare those requirements. Before installing: (1) Verify the Browser Relay extension's source and integrity (ask the publisher for the extension package or a trusted release URL). (2) Only enter a gateway token if you trust the extension/skill; treat that token li...
详细分析 ▾
用途与能力
The SKILL.md describes controlling a real Chrome browser via a local Browser Relay extension, and the runtime steps (install extension, attach, use gateway token, use browser tool) are consistent with that purpose. However, the skill metadata declares no required config paths or credentials even though the instructions explicitly reference the OpenClaw gateway token and a local extension path (~/.openclaw/browser/chrome-extension). The missing metadata declaration is an inconsistency.
指令范围
Runtime instructions tell the agent/user to read and configure local resources: a local extension folder (~/.openclaw/browser/chrome-extension), the OpenClaw gateway token via `openclaw config get gateway.auth.token`, and to attach the extension to tabs. These actions access local config and privileged browser sessions. While these steps are necessary for the stated purpose, they do involve reading a local secret (gateway token) and interacting with the user's browser sessions — and the instructions do not limit or disclose how that token or session data is used or stored.
安装机制
There is no install spec and no code files; the skill is instruction-only. That keeps install risk low. The SKILL.md prescribes a manual 'Load unpacked' extension installation — no automated download/install URLs are provided.
凭证需求
The instructions require retrieving and entering the OpenClaw gateway token, which is effectively a local credential, but the skill metadata lists no required environment variables or config paths. Requesting access to the gateway token is proportionate to controlling a browser, but the omission from metadata means the skill's declared requirements underrepresent what it needs and could mislead users about what sensitive data will be accessed.
持久化与权限
always is false (good). The skill is allowed to be invoked autonomously (platform default). Combined with the ability to access the gateway token and attach to real browser sessions, autonomous invocation increases blast radius if misused — this is expected for browser-control skills but worth noting. The skill does not request persistent system-wide changes in the SKILL.md.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/3/15

Initial release of chrome-relay. - Control your local Chrome browser via the OpenClaw Browser Relay extension. - Supports automation: clicking, typing, navigating, taking screenshots, and reading page content from specific tabs. - Interacts with your real, logged-in browser sessions—perfect for actions requiring authentication. - Requires manual setup of the Chrome extension and gateway token. - Prefer JavaScript-based selectors for reliability; aria-ref selectors may not work consistently. - Works only with Chrome and requires the extension to be attached per tab.

● 可疑

安装命令 点击复制

官方npx clawhub@latest install chrome-relay
镜像加速npx clawhub@latest install chrome-relay --registry https://cn.clawhub-mirror.com

技能文档

Control the user's local Chrome browser through the OpenClaw Browser Relay extension. This provides access to the user's real logged-in browser sessions.

Setup (First Time)

If user doesn't have Browser Relay extension installed:

  • Get extension path:
   ~/.openclaw/browser/chrome-extension
   
Or run: open ~/.openclaw/browser/chrome-extension (macOS)

  • Install in Chrome:
- Open chrome://extensions - Enable "Developer mode" (top right) - Click "Load unpacked" - Select the extension folder

  • Get Gateway token:
   openclaw config get gateway.auth.token
   
  • Configure extension:
- Click extension icon → Settings - Enter the gateway token - Save

  • Connect:
- Open the Chrome tab you want controlled - Click the extension icon to attach (badge shows ON)

Usage

Check Connected Tabs

openclaw browser tabs --profile chrome-relay

Or use the tool:

browser(action=tabs, profile=chrome-relay)

Read Page Content

browser(action=snapshot, profile=chrome-relay, targetId=)

Navigate

browser(action=navigate, profile=chrome-relay, targetId=, url="https://...")

Interact with Page

Note: aria-ref based selectors have reliability issues in chrome-relay mode. Prefer JavaScript evaluation for complex interactions:

// Click element
browser(action=act, kind=evaluate, profile=chrome-relay, 
  fn="document.querySelector('selector').click()")

// Type in input browser(action=act, kind=evaluate, profile=chrome-relay, fn="document.querySelector('input').value = 'text'")

// Get element info browser(action=act, kind=evaluate, profile=chrome-relay, fn="document.querySelector('selector').innerText")

Limitations

  • aria-ref selectors may timeout; use JavaScript evaluate instead
  • Extension must be attached (icon shows ON) for each tab
  • Only works with Chrome browser
  • Connection port: 18792

Troubleshooting

Red ! badge on extension:

  • Gateway not running → start with openclaw gateway start
  • Token mismatch → verify token in extension settings

Can't find element:

  • Page may have loaded new DOM → re-snapshot
  • Use browser devtools console to find selectors first
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务