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 - INLINECODE7 for international sites through the global browser profile
- INLINECODE8 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 INLINECODE12 - Use
mode=global for international sites such as INLINECODE14 - Use
mode=auto only when routing is genuinely unclear
Usage
CODEBLOCK0
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:
- - INLINECODE19
- INLINECODE20
- INLINECODE21
- INLINECODE22
- INLINECODE23
Workflow
- 1. Choose
mode=cn for mainland Chinese destinations and mode=global for international destinations. - Run the script and wait for a real page title from the live browser session.
- Return the browser-reported title and final URL.
- Do not fall back to
web_fetch, search, canvas, or nodes unless the user explicitly asks for those tools instead of a real browser.
AIGroup 浏览器技能
使用在 spark 上运行的真实浏览器,而非替代 web_fetch、search、nodes 或 canvas。
目的
本技能为 OpenClaw 提供稳定的浏览器打开路径,适用于必须在 spark 本地实际浏览器中打开的网站。
专为主机上已有的双配置文件设置而设计:
- - oc-cn:通过 CN 浏览器配置文件访问中国大陆网站
- oc-global:通过全球浏览器配置文件访问国际网站
- oc-browser:当目标不明确时,基于主机自动路由
使用时机
当用户明确要求在浏览器中打开网站时使用此技能,尤其是在涉及中国和国际路由的情况下。
- - 使用 mode=cn 访问中国大陆网站,如 eastmoney.com、baidu.com 或 bilibili.com
- 使用 mode=global 访问国际网站,如 huggingface.co
- 仅在路由确实不明确时使用 mode=auto
使用方法
bash
python3 scripts/open_page.py {url:https://huggingface.co/,mode:global}
参数
| 参数 | 类型 | 必填 | 默认值 | 描述 |
|---|
| url | str | 是 | - | 要打开的目标 URL |
| mode |
str | 否 | auto | cn、global 或 auto |
| timeout | int | 否 | 20 | 等待非空页面标题的最大秒数 |
输出
返回 JSON 格式,包含:
工作流程
- 1. 对于中国大陆目标选择 mode=cn,对于国际目标选择 mode=global。
- 运行脚本,等待来自实时浏览器会话的真实页面标题。
- 返回浏览器报告的标题和最终 URL。
- 除非用户明确要求使用这些工具而非真实浏览器,否则不要回退到 web_fetch、search、canvas 或 nodes。