Xpersona
S

Safe Smart Web Fetch

CLAWHUB · Unverified

安全网页抓取技能。获取网页内容时,默认先判断 URL 是否可能包含 token、是否为内网/本地域名、是否为私密链接;这三类一律不走第三方清洗服务,只走直接抓取。其余公开网页可按顺序尝试 Jina Reader、markdown.new、defuddle.md 获取干净 Markdown,失败再回退原始抓取。 Skill: Safe Smart Web Fetch Owner: zqh2333 Summary: 安全网页抓取技能。获取网页内容时,默认先判断 URL 是否可能包含 token、是否为内网/本地域名、是否为私密链接;这三类一律不走第三方清洗服务,只走直接抓取。其余公开网页可按顺序尝试 Jina Reader、markdown.new、defuddle.md 获取干净 Markdown,失败再回退原始抓取。 Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-07T10:53:10.880Z | user Initial release: safe web fetch with private-link protection and third-party cleaning only for public pages Archive index: Archive v1.0

62
Rank
84
Safety
1.0k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/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 s17dq27qynd9j1cwkrxvc2qzfd83z6x1:safe-smart-web-fetch
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  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-zqh2333-safe-smart-web-fetch/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

3,959 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: safe-smart-web-fetch
description: 安全网页抓取技能。获取网页内容时,默认先判断 URL 是否可能包含 token、是否为内网/本地域名、是否为私密链接;这三类一律不走第三方清洗服务,只走直接抓取。其余公开网页可按顺序尝试 Jina Reader、markdown.new、defuddle.md 获取干净 Markdown,失败再回退原始抓取。
---

# Safe Smart Web Fetch

用于安全地获取网页内容。

## 规则

先判断目标 URL:

### 一律禁止走第三方清洗的情况
- URL query 或 fragment 中带明显 token / key / signature / auth / session / code 参数
- localhost / 127.0.0.1 / 10.x / 172.16-31.x / 192.168.x / `.local` / 内网主机名
- 明显私密页面:带登录态回调、管理后台、分享密钥、重置链接、单次授权链接等
- 非 http/https URL

以上情况:
- 只允许本地直接抓取
- 不发送到 Jina / markdown.new / defuddle.md

### 可走第三方清洗的情况
- 普通公开网页
- 不含敏感 query 参数
- 非内网/本地地址

第三方顺序:
1. Jina Reader
2. markdown.new
3. defuddle.md
4. 原始抓取回退

## 用法

```bash
python3 {baseDir}/scripts/fetch.py "https://example.com/article"
python3 {baseDir}/scripts/fetch.py "https://example.com/article" --json
```

## 输出

JSON 模式会返回:
- `success`
- `url`
- `content`
- `source`
- `used_third_party`
- `blocked_reason`
- `error`

## 注意

- 这是公开网页优先清洗、敏感链接严格本地抓取的安全版本
- 不修改 OpenClaw 全局工具配置
- 不强制禁用内置 `web_fetch`

_meta.json

{
  "ownerId": "kn76kp5gkqx0r5mnhk183yy8v983y9c6",
  "slug": "safe-smart-web-fetch",
  "version": "1.0.0",
  "publishedAt": 1775559190880
}

skill-card.md

## Description:

Safe Smart Web Fetch retrieves web pages by using third-party cleaners for ordinary public pages while keeping URLs that appear sensitive, private, local, or non-HTTP on direct fetch only.

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

## Publisher:

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

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agents use this skill to fetch webpage content as Markdown-like text or JSON while reducing the chance that sensitive or private URLs are sent to third-party cleaning services.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Security evidence says the safety checks are not strong enough for sensitive URLs or private-network fetching.

Mitigation: Review before installing in environments with access to private networks, cloud metadata, internal tools, or sensitive links.

Risk: Ordinary-looking public URLs may be sent to Jina Reader, markdown.new, or defuddle.md for cleaning.

Mitigation: Use the skill only with URLs that are acceptable to fetch from the agent host and acceptable to send to those cleaning services.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/zqh2333/skills/safe-smart-web-fetch)
- [Publisher profile](https://clawhub.ai/user/zqh2333)
- [Jina Reader endpoint](https://r.jina.ai/)
- [markdown.new](https://markdown.new)
- [defuddle.md](https://defuddle.md)

## Skill Output:

**Output Type(s):** [Text, Markdown, JSON]

**Output Format:** [Plain text or JSON containing fetched content, source metadata, third-party usage status, blocked reason, and error details.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May use third-party cleaning services for URLs classified as ordinary public pages; sensitive, private, local, or non-HTTP URLs are fetched directly.]

## Skill Version(s):

1.0.0 (source: server release metadata)

## 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 Safe Smart Web Fetch and adjacent AI workflows.