← 返回 Skills 市场
jackdark425

AIGroup Browser Skill

作者 jackdark · GitHub ↗ · v0.1.1 · MIT-0
cross-platform ✓ 安全检测通过
124
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install aigroup-browser-skill
功能描述
Open pages with the real CN or global browser profile on spark and return the live page title plus final URL. Use this instead of web_fetch, search, canvas,...
使用说明 (SKILL.md)

AIGroup Browser Skill

Use the real browser running on spark instead of substituting web_fetch, search, nodes, or canvas.

Purpose

This skill gives OpenClaw a stable browser-opening path for sites that must be opened in the actual local browser on spark.

It is designed for the dual-profile setup already present on the host:

  • oc-cn for mainland Chinese sites through the CN browser profile
  • oc-global for international sites through the global browser profile
  • oc-browser for automatic host-based routing when the destination is unclear

When to use

Use this skill when the user explicitly asks to open a site in the browser, especially when CN and global routing matters.

  • Use mode=cn for China mainland sites such as eastmoney.com, baidu.com, or bilibili.com
  • Use mode=global for international sites such as huggingface.co
  • Use mode=auto only when routing is genuinely unclear

Usage

python3 scripts/open_page.py '{"url":"https://huggingface.co/","mode":"global"}'

Parameters

Param Type Required Default Description
url str yes - Target URL to open
mode str no auto cn, global, or auto
timeout int no 20 Max seconds to wait for a non-empty page title

Output

Returns JSON with:

  • ok
  • mode
  • port
  • title
  • url

Workflow

  1. Choose mode=cn for mainland Chinese destinations and mode=global for international destinations.
  2. Run the script and wait for a real page title from the live browser session.
  3. Return the browser-reported title and final URL.
  4. Do not fall back to web_fetch, search, canvas, or nodes unless the user explicitly asks for those tools instead of a real browser.
安全使用建议
This skill appears to do what it says: open a URL in a local browser profile and return the live title and final URL. Before installing, verify the following: 1) Confirm the oc-cn / oc-global / oc-browser binaries on the target host are the expected, trusted wrappers and not untrusted scripts—inspect or run them manually. 2) Update the script to use the binaries from PATH (e.g., 'oc-cn') or adjust the absolute paths to match your host; the current /home/jack/.local/bin hard-coded paths are developer-specific and will likely fail elsewhere. 3) Confirm the CDP ports (127.0.0.1:18810 and :18800) are local-only and not exposed externally. 4) If you deploy in a high-security environment, run the skill in a sandboxed/test workspace first to validate behavior. These are operational hygiene checks rather than indications of malicious behavior.
功能分析
Type: OpenClaw Skill Name: aigroup-browser-skill Version: 0.1.1 The skill provides a specialized interface for opening URLs in specific local browser profiles (mainland China vs. international) and retrieving page metadata via the Chrome DevTools Protocol (CDP). The core logic in `scripts/open_page.py` uses `subprocess.run` safely with a list of arguments to invoke local binaries and interacts only with local CDP ports (18800/18810). While it contains hardcoded paths to a specific user directory (`/home/jack/.local/bin/`), the behavior is entirely consistent with its stated purpose of browser routing and lacks any indicators of malicious intent, data exfiltration, or prompt injection.
能力评估
Purpose & Capability
The skill's name, description, SKILL.md, and the included Python script all align: they call local 'oc-cn' / 'oc-global' / 'oc-browser' wrappers and query local CDP endpoints to return a page title and final URL. One mismatch to be aware of: the script uses hard-coded absolute command paths under /home/jack/.local/bin (CN_CMD/GLOBAL_CMD/AUTO_CMD) while the metadata only lists generic binary names (oc-cn, oc-global, oc-browser). This is an operational inconsistency (it will fail on hosts where the binaries are installed elsewhere) but not evidence of malicious intent.
Instruction Scope
SKILL.md instructs the agent to invoke the provided script with a JSON payload and to prefer the real browser over web_fetch/search/canvas/nodes when requested. The script only contacts localhost CDP endpoints (127.0.0.1 on expected ports), runs the oc-* command to open the URL, and returns the page title and final URL. It does not read other files or environment variables, nor does the SKILL.md direct data to external endpoints.
Install Mechanism
This is instruction-only with a small Python script included; there is no install spec that downloads or extracts code from remote URLs. Risk from installation is therefore low. The skill expects existing local binaries; it does not install third-party packages itself.
Credentials
The skill requires no credentials or environment variables. It uses only local binaries and localhost HTTP endpoints for the browser CDP. The requested resources are proportional to the stated goal. Note: the script's hard-coded paths assume a specific user's home layout, which is operationally unnecessary and should be adjusted.
Persistence & Privilege
The skill is not always-enabled, does not request system-wide persistence, and does not modify other skills or global agent configuration. It only runs when invoked and prints a JSON result.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install aigroup-browser-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /aigroup-browser-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
Add explicit MIT license metadata.
v0.1.0
Initial public release.
元数据
Slug aigroup-browser-skill
版本 0.1.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

AIGroup Browser Skill 是什么?

Open pages with the real CN or global browser profile on spark and return the live page title plus final URL. Use this instead of web_fetch, search, canvas,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 124 次。

如何安装 AIGroup Browser Skill?

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

AIGroup Browser Skill 是免费的吗?

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

AIGroup Browser Skill 支持哪些平台?

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

谁开发了 AIGroup Browser Skill?

由 jackdark(@jackdark425)开发并维护,当前版本 v0.1.1。

💬 留言讨论