Xpersona
U

urlgo

CLAWHUB · Unverified

连 CDP,开网页,截图,执行 JS 的浏览器控制 CLI Skill: urlgo Owner: fslong520 Summary: 连 CDP,开网页,截图,执行 JS 的浏览器控制 CLI Tags: automation:6.6.0, browser:6.6.0, cdp:6.6.0, latest:6.6.0, network:6.6.0, web:6.6.0 Version history: v6.6.0 | 2026-09-21T10:43:59.461Z | user Add tab management rule: before opening a new page, list tabs; if more than 5, close stale/unrelated tabs first (keep test/demo pages the user is watching) v6.5.3 | 2026-08-18T15:42:10.225Z | user Edge已运行

62
Rank
84
Safety
1.5k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.5K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s179dxbepyx3dhgg6vsaj80yt583nxj7:urlgo
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-fslong520-urlgo/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

38,476 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: urlgo
description: 连 CDP,开网页,截图,执行 JS 的浏览器控制 CLI
allowed-tools:
  - Read
  - Write
  - Bash

metadata:
  trigger: 浏览器, CDP, 截图, 网页, 打开网页, 网页截图, 源码, HTML源码
---

# Skill: urlgo

## Keywords

浏览器, CDP, 截图, 网页, 打开网页, HTML源码

## Summary

连 CDP,开网页,截图,执行 JS。

## Strategy

路径:`python3 /home/fslong/.config/opencode/skills/urlgo/urlgo`

1. `python3 /home/fslong/.config/opencode/skills/urlgo/urlgo status` → CDP 开了没?
2. `python3 /home/fslong/.config/opencode/skills/urlgo/urlgo start` → 启动浏览器(后台运行,脚本退出后浏览器不关)
3. `python3 /home/fslong/.config/opencode/skills/urlgo/urlgo open <url>` → 打开页面(仅限首页/入口 URL)
4. `python3 /home/fslong/.config/opencode/skills/urlgo/urlgo screenshot <id> <file>` → 截图
5. `python3 /home/fslong/.config/opencode/skills/urlgo/urlgo snapshot <id>` → 读取页面内容(纯文字)
6. `python3 /home/fslong/.config/opencode/skills/urlgo/urlgo source <id>` → 获取页面 HTML 源码

> ⚠️ **导航铁律:页面内点击,禁止手工拼接 URL。**
> 进站后的一切跳转(翻页、点链接、点按钮、选试卷、提交表单)必须:
> 1. `source <id>` 取源码,从 HTML 里找到目标链接/按钮;
> 2. `click <id> "<selector>"` 或 `eval <id> "document.querySelector('...').click()"` 在页面内点击;
> 3. 严禁手工拼接带参 URL 再用 `open` 打开——`&` 会被截断、Referer 校验会失败、会话/登录态丢失,三害俱全。
> `open` 只用于初始入口(首页、登录页)。

## 标签页管理(硬规矩)

每次 `open` 新页前先 `list` 查标签页数。**超过 5 个必须先清理再开新页**:

1. 逐页判断:该页当前是否在用于测试、演示、或哥哥要看操作过程?
   - 是 → **必留**,不得关;
   - 纯残留、与本回合任务无关的旧页 → `close <id>` 关掉。
2. 拿不准的页宁留勿关;宁少关不误关。
3. 清理后再开新页,保持总数 ≤5。

> ⚠️ 只关真正没用的冗余页,禁一刀切全关。

AVOID:
- AVOID 标签页超 5 个还继续 `open`,必须先按「标签页管理」清理冗余页
- AVOID 不检查 CDP 就操作,先 status/start
- AVOID 直接用 `urlgo` 命令(PATH 可能没有),必须用完整 Python 路径
- AVOID 用 WebFetch 读网页,应该用 urlgo snapshot 代替
- AVOID 用 snapshot 读源码(它只返回纯文本),取源码用 urlgo source
- AVOID 多次 start(会检测到已启动而跳过)
- AVOID 手工拼接带参 URL(含 `?` `&`)再用 open 打开——会被截断或 Referer 拦截,必须页面内点击(见上方导航铁律)
- AVOID 复制源码里的 href 后自己重新拼 URL 访问,直接 click 原链接

## 命令

| 命令 | 说明 |
|------|------|
| `status` | 检查 CDP |
| `start` | 启动浏览器(后台运行,进程退出后浏览器不关) |
| `list` | 查看页面 |
| `open <url>` | 打开网页 |
| `activate <id>` | 激活页面 |
| `close <id>` | 关闭页面 |
| `screenshot <id> <file>` | 截图 |
| `snapshot <id>` | 读取内容(纯文字) |
| `source <id>` | 获取 HTML 源码 |
| `eval <id> "<js>"` | 执行 JS |
| `click <id> "<sel>"` | 点击 |
| `type <id> "<sel>" "<text>"` | 输入 |

## 示例

```bash
python3 /home/fslong/.config/opencode/skills/urlgo/urlgo start
python3 /home/fslong/.config/opencode/skills/urlgo/urlgo open https://example.com
python3 /home/fslong/.config/opencode/skills/urlgo/urlgo snapshot 1
python3 /home/fslong/.config/opencode/skills/urlgo/urlgo source 1
python3 /home/fslong/.config/opencode/skills/urlgo/urlgo screenshot 1 /tmp/a.png
```

## 依赖

curl, websockets(Python)

_meta.json

{
  "ownerId": "kn71rk0chjcdy7ffgfc08hh9gd83ehq8",
  "slug": "urlgo",
  "version": "6.6.0",
  "publishedAt": 1789987439461
}

skill-card.md

## Description:

urlgo lets an agent control a local browser through CDP to open pages, capture screenshots, read page text or HTML, and execute JavaScript.

This skill is ready for commercial/non-commercial use.

## Publisher:

[fslong520](https://clawhub.ai/user/fslong520)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agents use this skill to inspect and interact with web pages through a local CDP-enabled browser, including screenshots, text snapshots, HTML source capture, clicks, typing, and JavaScript evaluation.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill grants broad CDP control over a local browser, including page navigation, clicks, typing, screenshots, and JavaScript evaluation.

Mitigation: Install only when browser automation is intended, review proposed browser actions before execution, and close the detached browser session when finished.

Risk: Screenshots, HTML source, snapshots, and JavaScript evaluation can expose private content from logged-in or sensitive pages.

Mitigation: Avoid sensitive logged-in accounts unless each action is explicitly approved, and treat captured page content as sensitive data.

Risk: The browser can remain running in the background after the CLI exits.

Mitigation: Check browser status before and after use, and close stale or unrelated tabs and browser processes when work is complete.

## Reference(s):

- [ClawHub urlgo Skill Page](https://clawhub.ai/fslong520/skills/urlgo)
- [ClawHub Publisher Profile: fslong520](https://clawhub.ai/user/fslong520)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]

**Output Format:** [Markdown guidance with shell commands and browser-derived text, HTML, or PNG screenshot files]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May produce local screenshot files and page content captured from the controlled browser.]

## Skill Version(s):

6.6.0 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to urlgo and adjacent AI workflows.