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