360 Secure SkillHub
360 安全技能中心

Boxed Fetch

轻量网页抓取 Skill:在 WebAssembly 沙箱中运行组件,按 URL 通过 HTTPS 获取网页并提取可读文本。首次使用需先下载 WASM 组件文件,运行时必须显式指定允许出站的主机白名单,仅支持 HTTPS。依赖 openclaw-wasm-sandbox 插件,路径与调用方式为 OpenClaw 宿主专属。

分类:搜索
guyoung
guyoung
热度 21.82
最近更新 2026-05-11 17:41:50

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add guyoung/boxed-fetch
兼容性
OpenClaw 专属
联网要求
需要联网
数据出网
必须出网
Metadata
name
boxed-fetch
description
Lightweight web scraping tool based on WebAssembly sandbox mechanism. Fetches URL content and extracts readable text. Use when you need to fetch webpage content, extract readable text from HTML, or perform sandboxed HTTP requests. Requires openclaw-wasm-sandbox plugin. Trigger when: user asks to fetch a URL, scrape webpage content, extract readable text from HTML, or get page content from a specific URL / 抓取网页、获取URL内容、提取可读文本、网页内容抓取。

boxed-fetch

WebAssembly-based sandboxed web fetcher for retrieving URL content and extracting readable text.

Trigger when: user asks to fetch a URL, scrape webpage content, extract readable text from HTML, or get page content from a specific URL / 抓取网页、获取URL内容、提取可读文本、网页内容抓取。

Quick Start

  1. Download WASM file (first time only):

    wasm-sandbox-download({
      url: "https://raw.githubusercontent.com/guyoung/wasm-sandbox-openclaw-skills/main/boxed-fetch/files/boxed-fetch-component.wasm",
      dest: "~/.openclaw/skills/boxed-fetch/files/boxed-fetch-component.wasm"
    })
    
  2. Run fetch:

    wasm-sandbox-run({
      wasmFile: "~/.openclaw/skills/boxed-fetch/files/boxed-fetch-component.wasm",
      allowedOutboundHosts: ["<target-host>"],
      args: ["<target-url>"]
    })
    

Fetching a URL

wasm-sandbox-run({
  wasmFile: "~/.openclaw/skills/boxed-fetch/files/boxed-fetch-component.wasm",
  allowedOutboundHosts: ["https://github.com"],
  args: ["https://github.com/guyoung/wasm-sandbox-node/blob/main/README.md"]
})

Getting Help

wasm-sandbox-run({
  wasmFile: "~/.openclaw/skills/boxed-fetch/files/boxed-fetch-component.wasm",
  allowedOutboundHosts: [],
  args: ["--help"]
})

Important Notes

  • allowedOutboundHosts is required: You must specify the exact host(s) you want to fetch from
  • First use: Download the WASM file before running for the first time
  • URLs must use HTTPS: The sandbox only supports HTTPS URLs

Detailed Usage

See references/usage.md for comprehensive usage instructions including all options and examples.