← Back to Skills Marketplace
Webfetch Md
by
ShiJianwen
· GitHub ↗
· v1.1.0
1255
Downloads
0
Stars
6
Active Installs
7
Versions
Install in OpenClaw
/install webfetch-md
Description
Fetch any webpage and convert its main content into clean Markdown format, preserving image links and resolving relative URLs.
Usage Guidance
This skill appears to do exactly what it says: fetch a provided URL and convert the main content to Markdown using cheerio and turndown. Before installing or enabling it for autonomous agents, consider: (1) runtime Node version — cheerio notes Node >= 20.18.1 in package metadata, so ensure compatibility; (2) network risk — the skill can fetch any URL you pass it, so do not let untrusted prompts cause the agent to fetch internal URLs or sensitive endpoints (SSRF/internal network exposure); (3) dependency hygiene — the package uses standard npm dependencies from the public registry; you may want to run npm audit or review package-lock.json if you require higher assurance; (4) run tests locally first (node test.js <url>) to verify behavior and output; (5) if you plan to allow autonomous invocation, restrict or validate URLs the agent may fetch to avoid unintended access to internal services or confidential endpoints.
Capability Analysis
Type: OpenClaw Skill
Name: webfetch-md
Version: 1.1.0
The skill's core functionality involves making network requests to arbitrary URLs provided by the user or agent via `fetch` in `index.js`. While this capability is essential for its stated purpose of fetching web pages, it introduces an inherent Server-Side Request Forgery (SSRF) risk if the OpenClaw agent operates within an environment that has access to sensitive internal networks. There is no evidence of malicious intent, such as data exfiltration, persistence mechanisms, or shell injection vulnerabilities in `cli.js` or `SKILL.md`.
Capability Assessment
Purpose & Capability
The name/description (fetch webpage → Markdown) matches the code and SKILL.md. index.js implements HTML fetching, content extraction, URL resolution, and turndown conversion; package.json lists cheerio and turndown as dependencies and node is required. The included CLI and OpenClaw tool wrappers call the same core function, which is coherent.
Instruction Scope
SKILL.md instructs the agent to run the CLI/tool with a URL and the code only fetches and processes the provided URL; it does not read local files or environment secrets. However, because the skill will fetch arbitrary URLs provided at runtime, it can reach internal network endpoints or external sites — this is expected for the stated purpose but carries the usual SSRF / internal-network-access risk if run in a privileged network context.
Install Mechanism
There is no remote install script or unusual download URL. This is an instruction-and-code bundle relying on Node and standard npm packages (cheerio, turndown). package-lock.json points to packages on the npm registry (registry.npmjs.org), not personal servers or shortened URLs, so the install footprint is conventional.
Credentials
The skill requests no environment variables, credentials, or config paths. All required runtime inputs are provided as URL parameters, which is proportionate to the stated functionality.
Persistence & Privilege
The skill is not marked always:true and does not attempt to modify other skills or system-wide configuration. It performs no autonomous privilege-escalating actions in the provided code.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install webfetch-md - After installation, invoke the skill by name or use
/webfetch-md - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
统一 CLI 和 OpenClaw 工具入口,优化错误处理,更新文档
v1.0.5
**v1.1.0 features unified CLI output, improved error handling, and OpenClaw integration.**
- CLI now outputs a structured JSON result including title, markdown, images, and status.
- Tool and CLI both accept --url parameter and produce consistent output.
- Improved error reporting: errors are returned in a standard JSON format.
- Documentation updates: added usage examples, output format, and internal process details.
- Author metadata updated; CLI/tool entry adjusted in SKILL.md.
v1.0.4
- Added _meta.json file for additional metadata management.
- No changes to core functionality or documentation.
v1.0.3
Republish
v1.0.2
Rename from webfetch_md to webfetch-md
v1.0.1
Add OpenClaw tool support with JSON output
v1.0.0
Initial release: 抓取网页并转换为 Markdown,保留图片链接
Metadata
Frequently Asked Questions
What is Webfetch Md?
Fetch any webpage and convert its main content into clean Markdown format, preserving image links and resolving relative URLs. It is an AI Agent Skill for Claude Code / OpenClaw, with 1255 downloads so far.
How do I install Webfetch Md?
Run "/install webfetch-md" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Webfetch Md free?
Yes, Webfetch Md is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Webfetch Md support?
Webfetch Md is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Webfetch Md?
It is built and maintained by ShiJianwen (@shijianwen); the current version is v1.1.0.
More Skills