← Back to Skills Marketplace
Markdown Fetch
by
howtimeschange
· GitHub ↗
· v1.0.0
2859
Downloads
2
Stars
21
Active Installs
1
Versions
Install in OpenClaw
/install markdown-fetch
Description
Optimizes web fetching by using Cloudflare's Markdown for Agents, reducing token consumption by ~80%
Usage Guidance
This skill is internally consistent and small: it simply sets an Accept header and returns markdown when available. Before adopting it broadly: 1) Review and apply its changes manually (don't automatically rewrite every HTTP call) because changing Accept headers can alter server behavior; 2) Test in staging — not all sites support text/markdown and behavior may differ; 3) Verify your runtime provides a global fetch (or adapt to node-fetch/axios) so nothing breaks; 4) Note the skill will perform network fetches to URLs you pass it — ensure you don't unintentionally fetch internal endpoints. No secrets are requested by the skill, and there are no hidden endpoints in the code.
Capability Analysis
Type: OpenClaw Skill
Name: markdown-fetch
Version: 1.0.0
The skill bundle provides a utility for optimizing web fetching by requesting Markdown content from Cloudflare-enabled sites, aiming to reduce AI token consumption. All files (SKILL.md, index.js, test.js) align with this stated purpose. The `index.js` uses standard `fetch` API without any signs of intentional malicious behavior such as data exfiltration, unauthorized command execution, persistence mechanisms, or obfuscation. The `SKILL.md` documentation is clear and does not contain any prompt injection attempts against the AI agent. The ability to fetch arbitrary URLs is core to its function and does not indicate malicious intent within the skill itself.
Capability Assessment
Purpose & Capability
The name/description (request Markdown to save tokens) matches the code and instructions. The files only implement an optimizedFetch, batchFetch, and simple HTML fallback; nothing requests unrelated capabilities or credentials.
Instruction Scope
SKILL.md recommends finding and updating HTTP requests (fetch/axios/request) to add the Accept header and to treat text/markdown responses specially. That is within the stated purpose, but it implies a code-wide change — reviewers should manually confirm changes rather than blindly applying them across all requests because altering every request can change behavior for endpoints that expect other Accept headers.
Install Mechanism
There is no install spec and no external downloads; this is instruction + small JS module only, so nothing will be written to disk by an installer. Low risk from installation mechanisms.
Credentials
The skill requests no environment variables, no credentials, and no config paths. The code makes outgoing HTTP requests to whatever URL you call it with; there are no hidden or hard-coded endpoints or secret-access calls.
Persistence & Privilege
The skill is not marked always:true and does not modify other skills or system settings. It contains only library functions and a test harness — no persistent or privileged behavior is requested.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install markdown-fetch - After installation, invoke the skill by name or use
/markdown-fetch - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of markdown-fetch:
- Introduces optimized web fetching using Cloudflare’s Markdown for Agents, reducing token usage by ~80%.
- Provides the `optimizedFetch` function to automatically request and handle Markdown responses, with fallback to HTML.
- Automatically logs tokens saved when the server provides the relevant header.
- Simple integration by replacing standard fetch calls and adding appropriate Accept headers.
- Includes usage instructions and sample code for quick setup.
Metadata
Frequently Asked Questions
What is Markdown Fetch?
Optimizes web fetching by using Cloudflare's Markdown for Agents, reducing token consumption by ~80%. It is an AI Agent Skill for Claude Code / OpenClaw, with 2859 downloads so far.
How do I install Markdown Fetch?
Run "/install markdown-fetch" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Markdown Fetch free?
Yes, Markdown Fetch is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Markdown Fetch support?
Markdown Fetch is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Markdown Fetch?
It is built and maintained by howtimeschange (@howtimeschange); the current version is v1.0.0.
More Skills