cyanheads/claude-config/markdown-new

Claude Code and agent skill by cyanheads/claude-config

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Fetch the full, unabridged content of a URL as clean Markdown. Use when you need the actual content of a web page — not a summary or extraction, but the real text, tables, and structure. Covers markdown.new, Cloudflare Workers AI toMarkdown, Markdown for Agents content negotiation, and Browser Rendering.

Install

npx vskill@latest install cyanheads/claude-config/markdown-new

SKILL.md

The same SKILL.md was published earlier as cyanheads/claude-config/markdown-new.

markdown.new

Free URL-to-Markdown conversion. No auth required. Converts any public URL to clean Markdown.

Quick Usage

bash
curl -s 'https://markdown.new/' \
-H 'Content-Type: application/json' \
-d '{"url": "https://example.com"}' | jq -r '.content'

That's it. For most cases, this is all you need.

When to Use

  • You need the actual content of a web page, not a lossy summary
  • You want the full text, tables, code blocks, and structure preserved
  • The page has content that could be missed by partial extraction
  • You need to read documentation, articles, or data-heavy pages faithfully

API Details

Parameters
ParameterValuesDefaultNotes
urlAny public URL—Required
methodauto, ai, browserautoauto tries fast conversion first, falls back to headless browser. Use browser explicitly for JS-heavy SPAs.
retain_imagestrue, falsefalseKeep image references in output
Request Formats

POST JSON (preferred):

bash
curl -s 'https://markdown.new/' \
-H 'Content-Type: application/json' \
-d '{"url": "https://example.com"}'

URL prepend (browser/quick access):

https://markdown.new/https://example.com

Query parameters:

https://markdown.new/https://example.com?method=browser&retain_images=true
Response
jsonc
{
"success": true,
"url": "https://example.com",
"title": "Page Title",
"content": "# Page Title\n\nMarkdown content...",
"method": "Cloudflare Workers AI",
"duration_ms": 306,
"tokens": 939
}

The content field is what you want. Use jq -r '.content' to extract it directly.

Rate Limits
  • 500 requests/day per IP
  • HTTP 429 when exceeded
  • Track via x-rate-limit-remaining response header

Edge Cases

  • Authenticated/paywalled pages: Only public URLs work.
  • JS-rendered SPAs: Use method=browser explicitly — auto may return incomplete content from faster tiers.
  • Very large pages: May be truncated. Origin responses over 2 MB may fail.
  • Rate limiting: 500/day is generous for ad-hoc use. If a task requires bulk fetching, space requests or switch to Cloudflare Workers AI toMarkdown directly (requires a Cloudflare account).
  • Images: Excluded by default. Set retain_images=true to keep image references.

For Building Applications

When the user is integrating URL-to-Markdown into their own code (not ad-hoc fetching):

Content Negotiation (Cloudflare Zones)

Sites on Cloudflare with "Markdown for Agents" enabled respond to Accept: text/markdown directly:

bash
curl -s 'https://example.com' -H 'Accept: text/markdown'
Workers AI toMarkdown

For programmatic use at scale — converts HTML, PDF, and images to Markdown. Available as a Worker binding or REST API. Requires a Cloudflare account.

Binding:

ts
const result = await env.AI.toMarkdown(
[{ name: "page.html", blob: htmlBlob }],
{ conversionOptions: { html: { cssSelector: "main" } } }
);

REST:

bash
curl https://api.cloudflare.com/client/v4/accounts/{ACCOUNT_ID}/ai/tomarkdown \
-X POST \
-H 'Authorization: Bearer {API_TOKEN}' \
-F "files=@page.html"

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/cyanheads/claude-config/markdown-new/badge)](https://verified-skill.com/skills/cyanheads/claude-config/markdown-new)

Something wrong with this skill or its page? Tell us.