首页龙虾技能列表 › cf markdown agents — cf工具

cf markdown agents — cf工具

v1.0.0

[AI辅助] Fetch web content using Cloudflare's Markdown for Agents protocol. Automatically converts HTML to Markdown with 80% token reduction. Use when fetching web pa...

0· 179·0 当前·0 累计
by @xinian5216·MIT-0
下载技能包
License
MIT-0
最后更新
2026/3/13
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
The skill's requests, files, and runtime instructions match its description (fetching pages with Cloudflare's Markdown for Agents); nothing requested is out of scope, but be aware it will fetch arbitrary URLs you give it which has the usual network/SSRF/privacy implications.
评估建议
This skill appears coherent and does what it says: send requests with Accept: text/markdown and return the Markdown response and headers. It does not request credentials. Before enabling, consider: (1) the skill will fetch any URL you provide — if the agent is allowed to run autonomously it could be used to reach internal services (SSRF/internal network exposure) or fetch sensitive URLs, so restrict allowed targets or monitor requests; (2) example code shows how to add API tokens (optional) — yo...
详细分析 ▾
用途与能力
Name/description (fetch pages via Cloudflare Markdown for Agents) align with the included script, examples, and documentation. The included curl/fetch/worker examples are exactly what you'd expect for this purpose.
指令范围
Runtime instructions and the shell script only perform HTTP requests with an Accept header for text/markdown and print response headers/body. Examples include optional usages that mention Authorization tokens or Cloudflare Workers/AI helpers — these are illustrative and not required by the skill, but they show how a user could add credentials if they choose.
安装机制
No install spec; this is instruction-only with a small shell script. Nothing is downloaded from remote URLs or written to disk beyond the provided files.
凭证需求
The skill declares and requires no environment variables, credentials, or config paths. Example snippets show how one might use API tokens if they wrote additional code, but the skill itself does not request secrets.
持久化与权限
always is false and the skill does not attempt to modify other skills or system-wide agent settings. It does not request persistent privileges.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/3/13

Initial release of cf-markdown-agents. - Enables fetching web content using Cloudflare's Markdown for Agents protocol. - Automatically converts HTML pages to clean, structured Markdown format with ~80% token reduction. - Provides examples for usage with shell scripts, TypeScript/JavaScript, and cURL. - Describes response headers including token count and AI usage permissions. - Lists supported sites and summarizes key benefits for AI processing.

● 无害

安装命令 点击复制

官方npx clawhub@latest install cf-markdown-agents
镜像加速npx clawhub@latest install cf-markdown-agents --registry https://cn.clawhub-mirror.com

技能文档

This skill enables fetching web content using Cloudflare's Markdown for Agents protocol, which automatically converts HTML pages to clean, structured Markdown format.

什么 Markdown 对于 Agents?

Cloudflare's Markdown for Agents is a content negotiation feature that:

  • Automatically converts HTML 到 Markdown 在 edge
  • Reduces 令牌 usage 由 ~80% compared 到 raw HTML
  • Returns clean, structured content perfect 对于 AI 处理中
  • Adds x-markdown-tokens 页头 showing estimated 令牌 计数
  • Includes Content-Signal headers 对于 AI usage permissions

Usage

Basic 获取

Use the provided script to fetch any URL with Markdown for Agents support:

scripts/fetch-markdown.sh 

Example:

scripts/fetch-markdown.sh "https://developers.cloudflare.com/agents/"

在...中 Code

TypeScript/JavaScript example:

const response = await fetch("https://example.com/page", {
  headers: {
    Accept: "text/markdown, text/html",
  },
});

const tokenCount = response.headers.get("x-markdown-tokens"); const markdown = await response.text();

cURL example:

curl https://example.com/page -H "Accept: text/markdown"

响应 Headers

  • content-类型: text/markdown; charset=utf-8 - Content Markdown
  • x-markdown-tokens: <数字> - Estimated 令牌 计数
  • content-signal: ai-train=是, 搜索=是, ai-输入框=是 - Usage permissions

Supported Sites

Any site using Cloudflare with Markdown for Agents enabled:

  • Cloudflare Developer Documentation (developers.cloudflare.com)
  • Cloudflare Blog (blog.cloudflare.com)
  • 任何 site 带有 feature 已启用 在...中 Cloudflare dashboard

Benefits

AspectHTMLMarkdown
Tokens16,1803,150
Reduction-~80%
StructureComplexClean
AI ParsingHardEasy

References

数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务