← 返回 Skills 市场
meowlegemy-sudo

Chrome Relay

作者 meowlegemy-sudo · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
750
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install chrome-relay
功能描述
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 to autom...
使用说明 (SKILL.md)

Chrome Relay Browser Control

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:

  1. Get extension path:

    ~/.openclaw/browser/chrome-extension
    

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

  2. Install in Chrome:

    • Open chrome://extensions
    • Enable "Developer mode" (top right)
    • Click "Load unpacked"
    • Select the extension folder
  3. Get Gateway token:

    openclaw config get gateway.auth.token
    
  4. Configure extension:

    • Click extension icon → Settings
    • Enter the gateway token
    • Save
  5. 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=\x3CtargetId>)

Navigate

browser(action=navigate, profile=chrome-relay, targetId=\x3CtargetId>, 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
安全使用建议
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 like a local credential. (3) Prefer to install the extension manually and review its manifest and code. (4) Be aware the skill can access your logged-in browser sessions and local port 18792; ensure that port is bound to localhost and not exposed to networks. (5) Ask the skill author to update metadata to declare the required config path and credential so you can make an informed decision.
功能分析
Type: OpenClaw Skill Name: chrome-relay Version: 1.0.0 The skill bundle provides instructions for an AI agent to control a user's local Chrome browser, including access to active logged-in sessions and the ability to execute arbitrary JavaScript via the `evaluate` action. While these capabilities are aligned with the stated purpose of browser automation in `SKILL.md`, they constitute high-risk behaviors as defined in the analysis criteria. The setup requires manual installation of an unpacked extension from a local path (`~/.openclaw/browser/chrome-extension`) and the retrieval of a gateway authentication token, but no evidence of intentional malice or unauthorized data exfiltration was identified.
能力评估
Purpose & Capability
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.
Instruction Scope
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.
Install Mechanism
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.
Credentials
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.
Persistence & Privilege
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install chrome-relay
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /chrome-relay 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
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.
元数据
Slug chrome-relay
版本 1.0.0
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 1
常见问题

Chrome Relay 是什么?

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 to autom... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 750 次。

如何安装 Chrome Relay?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install chrome-relay」即可一键安装,无需额外配置。

Chrome Relay 是免费的吗?

是的,Chrome Relay 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Chrome Relay 支持哪些平台?

Chrome Relay 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Chrome Relay?

由 meowlegemy-sudo(@meowlegemy-sudo)开发并维护,当前版本 v1.0.0。

💬 留言讨论