Token导航 LogoToken导航TokenDH.com
效率操作浏览器clawhub未标认证来源可访问clear审计通过

clawfetchclawfetch 命令行

Agent Skill

clawfetch 用于处理浏览器自动化、网页检查和页面信息提取,适合在 OpenClaw 中需要让 Agent 打开页面、读取网页或验证前端流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

11,975

周安装

494

GitHub Stars

公开资料未说明

下载量

3,912
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:clawfetch(clawfetch 命令行)
来源仓库:https://github.com/ernestyu/clawfetch
安装命令:
openclaw skills install clawfetch
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install clawfetch

简介

clawfetch 用于处理浏览器自动化、网页检查和页面信息提取,适合让 Agent 打开页面、读取网页或验证前端流程。

  • 它将 crawfetch Node CLI 包装为网页→Markdown scraper,支持文章、GitHub README 和 Reddit 线程的规范化转换。
  • 通过 clawhub 安装,命令为 openclaw skills install clawfetch,建议结合原始 README 核验具体用法。
  • 安装前需确认权限范围和维护状态,注意可能触发联网、命令执行或文件读写操作。
  • clawfetch 属于效率类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
clawfetch
description
Web page → Markdown scraper skill that wraps the clawfetch Node CLI to fetch articles, GitHub READMEs, and Reddit threads into normalized markdown with metadata for OpenClaw agents.
version
0.1.8
metadata
{"openclaw":{"homepage":"https://github.com/ernestyu/clawfetch","tags":["web","scraper","markdown","cli"],"requires":{"bins":["node","npm"],"env":[]},"install":[{"id":"clawfetch_npm","kind":"shell","label":"Install clawfetch npm package locally into this skill directory","script":"set -e && cd {baseDir} && bash bootstrap_deps.sh"}]}}

clawfetch (OpenClaw Skill)

Use the published clawfetch npm CLI to convert a single web page into normalized markdown with a small metadata header.

This skill is a thin wrapper around the public clawfetch package:

  • It does not vendor the clawfetch source code.
  • It does not perform any hidden git clones.
  • It only installs the clawfetch npm package in this skill directory via

a separate, explicit bootstrap step.

Typical use cases for agents:

  • Fetch a WeChat / blog / docs article into markdown for later indexing.
  • Fetch a GitHub repository README (raw) and store it into a knowledge base.
  • Fetch a Reddit thread as a structured "post + comments" markdown document.

The CLI emits a header like:

--- METADATA ---
Title: ...
Author: ...
Site: ...
FinalURL: ...
Extraction: readability|fallback-container|body-innerText|github-raw-fast-path|reddit-rss
FallbackSelector: ...   # only when not readability
--- MARKDOWN ---
<markdown>

Installation (skill-level)

This skill assumes:

  • node / npm are available in the OpenClaw container.
  • Network access to npm to install the clawfetch package and its dependencies.

1. Install the skill into your workspace

Use the OpenClaw CLI to pull the skill from ClawHub into your active workspace:

openclaw skills install clawfetch

This creates a directory similar to:

~/.openclaw/workspace/skills/clawfetch

At this point only the skill wrapper files exist (SKILL.md, README, manifest, bootstrap_deps.sh, etc.). The actual npm package with the scraper logic is not installed yet.

2. Bootstrap the npm CLI once (required)

From the skill directory, run the bootstrap script to install the npm package locally:

cd ~/.openclaw/workspace/skills/clawfetch
bash bootstrap_deps.sh

This script is small and reviewable; it only calls:

npm install clawfetch@0.1.7

Key points:

  • OpenClaw's skills install does not currently auto-run this bootstrap

step. Agents or humans must call bootstrap_deps.sh explicitly.

  • The install happens inside the skill directory. No global npm state is

modified.

After this completes, the CLI entrypoint is available at:

~/.openclaw/workspace/skills/clawfetch/node_modules/clawfetch/clawfetch.js

Runtime usage (for agents)

After the bootstrap step, agents can invoke the CLI from this directory as:

node node_modules/clawfetch/clawfetch.js <url> [--max-comments N] [--no-reddit-rss]

Recommended patterns:

  • General articles / docs

- Use the default mode, which launches headless Chromium via Playwright, then uses Readability + Turndown to extract the main article body.

  • GitHub repositories

- Pass the repository URL (e.g. https://github.com/owner/repo). - clawfetch will attempt a raw README fast-path from raw.githubusercontent.com before falling back to browser mode.

  • Reddit threads

- Pass the thread URL (e.g. https://www.reddit.com/r/.../comments/.../). - By default, clawfetch will: - Convert the URL to .rss and fetch the Atom feed using a normal desktop browser User-Agent. - Render the first entry as the main post (## Post: ...). - Render subsequent entries as comments (### Comment by ...), limited by --max-comments (default 50; 0 means no limit). - Use --no-reddit-rss to force browser scraping instead of RSS.

Safety / non-suspicious behaviour

  • This skill does not:

- Clone any git repositories at runtime. - Download arbitrary source trees into the skill directory. - Run hidden package managers beyond the explicit npm install in the bootstrap step.

  • All heavy work (Playwright, Readability, Turndown) comes from the

published clawfetch package and its declared npm dependencies.

Agents should treat this skill as a read-mostly web → markdown tool and avoid using it for arbitrary scripting or filesystem operations beyond its intended CLI interface.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

93.56%
按下载量换算3,660

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills