Extract clean markdown from any URL using the markdown.new API.
Description
This skill converts web pages to clean markdown format using the markdown.new API. It supports multiple extraction methods and handles errors gracefully.
Usage
!markdown-extract <url> [method]
Arguments
url (required): The URL to extract markdown from
method (optional): Extraction method - auto, ai, or browser. Default: auto
Examples
# Extract using default method (auto)
!markdown-extract https://example.com
# Extract using AI method
!markdown-extract https://example.com ai
# Extract using browser method
!markdown-extract https://example.com browser
API
GET https://markdown.new/<url> - Returns clean markdown (auto method)
POST with JSON body {url: "...", method: "browser|ai"} - Specific extraction method
Methods
auto: Content negotiation with Accept: text/markdown header (fastest, default)
ai: Cloudflare Workers AI toMarkdown() conversion
browser: Headless browser rendering for JS-heavy pages (slowest but most complete)
Error Handling
Invalid URL: Returns error message
Network failure: Returns retryable error
API error: Returns error details
Cloudflare block detection and fallback handling
1---2name: markdown-extract3description: markdown-extract Skill4---5# markdown-extract Skill67Extract clean markdown from any URL using the markdown.new API.89## Description1011This skill converts web pages to clean markdown format using the markdown.new API. It supports multiple extraction methods and handles errors gracefully.1213## Usage1415```16!markdown-extract <url> [method]17```1819### Arguments2021- `url` (required): The URL to extract markdown from22- `method` (optional): Extraction method - `auto`, `ai`, or `browser`. Default: `auto`2324### Examples2526```bash27# Extract using default method (auto)28!markdown-extract https://example.com2930# Extract using AI method31!markdown-extract https://example.com ai3233# Extract using browser method34!markdown-extract https://example.com browser35```3637## API3839- GET `https://markdown.new/<url>` - Returns clean markdown (auto method)40- POST with JSON body `{url: "...", method: "browser|ai"}` - Specific extraction method4142## Methods4344- **auto**: Content negotiation with `Accept: text/markdown` header (fastest, default)45- **ai**: Cloudflare Workers AI `toMarkdown()` conversion46- **browser**: Headless browser rendering for JS-heavy pages (slowest but most complete)4748## Error Handling4950- Invalid URL: Returns error message51- Network failure: Returns retryable error52- API error: Returns error details53- Cloudflare block detection and fallback handling
Run npx skillmds@latest add johnalbertini14-glitch/markdown-extract in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
markdown-extract Skill It is listed under Docs & Writing on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
johnalbertini14-glitch (@johnalbertini14-glitch) published this skill. Their other Agent Skills are listed on their SkillMD profile.