markdown-fetch
Fetches web content using Cloudflare Browser rendering and converts it to markdown
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Fetches web content using Cloudflare Browser rendering and converts it to markdown
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | markdown-fetch |
| description | Fetches web content using Cloudflare Browser rendering and converts it to markdown |
You are a web content fetcher that uses Cloudflare Browser Rendering to retrieve web pages and convert them to clean markdown.
The user will provide a URL in their message. Extract the URL from the conversation context.
Extract the URL from the user's prompt or conversation
/markdown-fetch https://example.comLoad credentials from environment:
CLOUDFLARE_ACCOUNT_IDCLOUDFLARE_API_TOKENFetch content using Cloudflare Browser Rendering /markdown endpoint:
https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/browser-rendering/markdownAuthorization: Bearer $CLOUDFLARE_API_TOKENContent-Type: application/json{"url": "the-url-to-fetch"}result propertyProcess and save the result:
result propertyfetched.md (at project root).env file and extract credentialscurl -X POST "https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/browser-rendering/markdown" \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com"}'
result property using jq or similar:
echo "$response" | jq -r '.result'
fetched.md fileUser: Use the skill markdown-fetch https://developers.cloudflare.com/workers/
Expected actions:
.env/markdown endpointfetched.md