markdown-new
Convert any public URL into clean, LLM-ready Markdown using the markdown.new service. Use for content extraction, RAG ingestion, article summarization, research, archiving, and token-efficient web reading.
Best use case
markdown-new is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Convert any public URL into clean, LLM-ready Markdown using the markdown.new service. Use for content extraction, RAG ingestion, article summarization, research, archiving, and token-efficient web reading.
Teams using markdown-new should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/markdown-new/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How markdown-new Compares
| Feature / Agent | markdown-new | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Convert any public URL into clean, LLM-ready Markdown using the markdown.new service. Use for content extraction, RAG ingestion, article summarization, research, archiving, and token-efficient web reading.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# markdown-new
Convert public web pages into clean Markdown via [markdown.new](https://markdown.new) — a free hosted service that strips navigation, ads, and boilerplate, returning only the readable content.
## When to Use
- Extracting article text for summarization or analysis
- Building RAG pipelines that ingest web content
- Archiving pages in a readable format
- Reducing token usage compared to raw HTML or full browser snapshots
- Research workflows where you need clean text from multiple URLs
## API
### Prefix Mode (simplest)
Prepend `https://markdown.new/` to any URL:
```bash
# Basic conversion
curl -s 'https://markdown.new/https://example.com/article'
# With options
curl -s 'https://markdown.new/https://example.com?method=browser&retain_images=true'
```
### POST Mode (recommended for automation)
```bash
curl -s -X POST https://markdown.new/ \
-H 'Content-Type: application/json' \
-d '{
"url": "https://example.com/article",
"method": "auto",
"retain_images": false
}'
```
### Parameters
| Parameter | Values | Default | Description |
|-----------|--------|---------|-------------|
| `method` | `auto`, `ai`, `browser` | `auto` | Conversion pipeline |
| `retain_images` | `true`, `false` | `false` | Keep image links in output |
### Method Selection
- **`auto`** — fastest; lets the service pick the best pipeline. Use first.
- **`ai`** — forces Workers AI HTML-to-Markdown conversion. Good for well-structured HTML.
- **`browser`** — headless browser rendering. Use for JavaScript-heavy SPAs and pages where `auto` misses content.
**Strategy:** Always try `auto` first. Fall back to `browser` only when output is incomplete or empty.
### Response Headers
The service returns useful metadata in response headers:
- `x-markdown-tokens` — estimated token count of the output
- `x-rate-limit-remaining` — requests remaining in current window
## Usage Patterns
### Single Page Extraction
```python
"""fetch_article.py — Extract a single article as Markdown."""
import requests
def fetch_markdown(url: str, method: str = "auto") -> str:
"""Convert a URL to clean Markdown.
Args:
url: Public HTTP/HTTPS URL to convert.
method: Conversion method — "auto", "ai", or "browser".
Returns:
Markdown string of the page content.
"""
resp = requests.post(
"https://markdown.new/",
json={"url": url, "method": method, "retain_images": False},
timeout=30,
)
resp.raise_for_status()
return resp.text
# Extract an article
content = fetch_markdown("https://example.com/blog/post-title")
print(f"Extracted {len(content)} chars")
```
### Batch Extraction with Rate Limiting
```python
"""batch_extract.py — Extract multiple URLs with rate limiting."""
import time
import requests
def batch_extract(urls: list[str], delay: float = 0.5) -> dict[str, str]:
"""Extract Markdown from multiple URLs with rate limiting.
Args:
urls: List of public URLs to convert.
delay: Seconds to wait between requests to respect rate limits.
Returns:
Dict mapping URL to extracted Markdown content.
"""
results = {}
for url in urls:
try:
resp = requests.post(
"https://markdown.new/",
json={"url": url, "method": "auto"},
timeout=30,
)
if resp.status_code == 429: # Rate limited
print(f"Rate limited, waiting 60s...")
time.sleep(60)
resp = requests.post(
"https://markdown.new/",
json={"url": url, "method": "auto"},
timeout=30,
)
resp.raise_for_status()
results[url] = resp.text
except Exception as e:
print(f"Failed {url}: {e}")
results[url] = ""
time.sleep(delay) # Respect rate limits
return results
```
### Shell One-Liner
```bash
# Quick article extraction — pipe to file or another tool
curl -s 'https://markdown.new/https://example.com/article' > article.md
# Extract and count tokens (rough estimate: words / 0.75)
curl -s 'https://markdown.new/https://example.com/article' | wc -w
```
### Node.js
```javascript
// fetch-markdown.js — URL to Markdown in Node.js
async function fetchMarkdown(url, method = 'auto') {
const resp = await fetch('https://markdown.new/', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ url, method, retain_images: false }),
});
if (resp.status === 429) {
throw new Error('Rate limited — wait and retry');
}
if (!resp.ok) {
throw new Error(`Conversion failed: ${resp.status}`);
}
return resp.text();
}
```
## Limits and Best Practices
- **Rate limit:** ~500 requests/day per IP. Monitor `x-rate-limit-remaining` header.
- **429 responses** mean you've hit the limit — back off and retry after a delay.
- **Public URLs only** — the service cannot access authenticated or private pages.
- **Respect robots.txt** and copyright when extracting content.
- **Verify critical extractions** — output is not guaranteed complete for every page.
- **Use `auto` first**, fall back to `browser` for JS-heavy pages.
- **Disable `retain_images`** when you only need text — reduces output size.
## Combining with Other Tools
- Pair with **whisper** for multimedia research (audio transcription + article extraction)
- Feed output into **langchain** or **langgraph** for RAG pipelines
- Use with **elasticsearch** to build a searchable content index
- Combine with **sox** / **yt-dlp** for multi-format content ingestionRelated Skills
markdown-writer
Generate well-structured technical documentation in Markdown. Use when a user asks to write docs, create a README, document an API, write a how-to guide, generate technical documentation, create a changelog, write a project wiki, or produce any structured Markdown content. Follows documentation best practices for clarity and completeness.
zustand
You are an expert in Zustand, the small, fast, and scalable state management library for React. You help developers manage global state without boilerplate using Zustand's hook-based stores, selectors for performance, middleware (persist, devtools, immer), computed values, and async actions — replacing Redux complexity with a simple, un-opinionated API in under 1KB.
zoho
Integrate and automate Zoho products. Use when a user asks to work with Zoho CRM, Zoho Books, Zoho Desk, Zoho Projects, Zoho Mail, or Zoho Creator, build custom integrations via Zoho APIs, automate workflows with Deluge scripting, sync data between Zoho apps and external systems, manage leads and deals, automate invoicing, build custom Zoho Creator apps, set up webhooks, or manage Zoho organization settings. Covers Zoho CRM, Books, Desk, Projects, Creator, and cross-product integrations.
zod
You are an expert in Zod, the TypeScript-first schema declaration and validation library. You help developers define schemas that validate data at runtime AND infer TypeScript types at compile time — eliminating the need to write types and validators separately. Used for API input validation, form validation, environment variables, config files, and any data boundary.
zipkin
Deploy and configure Zipkin for distributed tracing and request flow visualization. Use when a user needs to set up trace collection, instrument Java/Spring or other services with Zipkin, analyze service dependencies, or configure storage backends for trace data.
zig
Expert guidance for Zig, the systems programming language focused on performance, safety, and readability. Helps developers write high-performance code with compile-time evaluation, seamless C interop, no hidden control flow, and no garbage collector. Zig is used for game engines, operating systems, networking, and as a C/C++ replacement.
zed
Expert guidance for Zed, the high-performance code editor built in Rust with native collaboration, AI integration, and GPU-accelerated rendering. Helps developers configure Zed, create custom extensions, set up collaborative editing sessions, and integrate AI assistants for productive coding.
zeabur
Expert guidance for Zeabur, the cloud deployment platform that auto-detects frameworks, builds and deploys applications with zero configuration, and provides managed services like databases and message queues. Helps developers deploy full-stack applications with automatic scaling and one-click marketplace services.
zapier
Automate workflows between apps with Zapier. Use when a user asks to connect apps without code, automate repetitive tasks, sync data between services, or build no-code integrations between SaaS tools.
zabbix
Configure Zabbix for enterprise infrastructure monitoring with templates, triggers, discovery rules, and dashboards. Use when a user needs to set up Zabbix server, configure host monitoring, create custom templates, define trigger expressions, or automate host discovery and registration.
yup
Validate data with Yup schemas. Use when adding form validation, defining API request schemas, validating configuration, or building type-safe validation pipelines in JavaScript/TypeScript.
yt-dlp
Download video and audio from YouTube and other platforms with yt-dlp. Use when a user asks to download YouTube videos, extract audio from videos, download playlists, get subtitles, download specific formats or qualities, batch download, archive channels, extract metadata, embed thumbnails, download from social media platforms (Twitter, Instagram, TikTok), or build media ingestion pipelines. Covers format selection, audio extraction, playlists, subtitles, metadata, and automation.