markdown-new
БесплатноБез исполняемых скриптовНе проверенConvert any public URL into clean, LLM-ready Markdown using the markdown.new service. Use for content extraction, RAG ingestion, article summarization…
от TerminalSkills★ 221 звезда на GitHubОб этом скилле
markdown-new
Convert public web pages into clean Markdown via markdown.new — a free hosted service that strips navigation, ads, and boilerplate, returning only the readable content.
Overview
Use it when you need:
- 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
Instructions
Prefix Mode (simplest)
Prepend https://markdown.new/ to any URL:
# Basic conversion
curl -s 'https://markdown.new/https://www.bbc.com/news/technology'
# With options
curl -s 'https://markdown.new/https://react.dev/learn?method=browser&retain_images=true'
POST Mode (recommended for automation)
curl -s -X POST https://markdown.new/ \
-H 'Content-Type: application/json' \
-d '{
"url": "https://www.bbc.com/news/technology",
"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 whereautomisses content.
Strategy: Always try auto first. Fall back to browser only when output is incomplete or empty.
What comes back
The response is text/markdown with YAML frontmatter (title and page metadata) followed by the converted content. Internally the service tries three tiers in order: a direct Accept: text/markdown request to the site, Workers AI HTML-to-Markdown conversion, then headless-browser rendering.
Crawl endpoint
https://markdown.new/crawl runs an asynchronous crawl job over a whole site (up to 500 pages per job, depth up to 10, optional JavaScript rendering) and lets you download the result as a single .md file. Use it instead of looping over single-page requests; see the site for the current job request format, which is not covered here.
Response Headers
The service returns useful metadata in response headers:
x-markdown-tokens— estimated token count of the outputx-rate-limit-remaining— requests remaining in current window
Usage Patterns
Single Page Extraction
"""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://blog.cloudflare.com/markdown-for-agents/")
print(f"Extracted {len(content)} chars")
Batch Extraction with Rate Limiting
"""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
# Quick article extraction — pipe to file or another tool
curl -s 'https://markdown.new/https://www.bbc.com/news/technology' > article.md
# Extract and count tokens (rough estimate: words / 0.75)
curl -s 'https://markdown.new/https://www.bbc.com/news/technology' | wc -w
Node
Установить markdown-new в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл 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.
Как установить скилл markdown-new?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл markdown-new запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic