360 Secure SkillHub
360 安全技能中心

AIGroup Browser Skill

核心功能为OpenClaw提供稳定的真实浏览器打开路径,适配大陆CN与全球双配置,支持自动路由。典型场景是用户明确要求用浏览器打开网站,且需区分大陆(如东方财富、B站)与国际站点(如HuggingFace)时使用。通过运行Python脚本传入含URL、模式(可选)的JSON参数调用,输出含页面标题、最终URL等信息的JSON结果。

jackdark425
jackdark425
热度 48.17
最近更新 2026-05-11 17:37:55
分类:自动化依赖:代码执行 / 联网浏览搜索应用场景:自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add aigroup-browser-skill
Metadata
name
aigroup-browser-skill
description
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, or nodes when a task explicitly asks to open a site in the browser.
metadata
{"openclaw":{"emoji":"🌐","requires":{"bins":["python3","oc-cn","oc-global","oc-browser"]}}}
homepage
https://github.com/jackdark425/aigroup-browser-skill
license
MIT

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.