markdown-fetch
4
总安装量
3
周安装量
#54426
全站排名
安装命令
npx skills add https://github.com/ckorhonen/claude-skills --skill markdown-fetch
Agent 安装分布
opencode
3
gemini-cli
3
claude-code
3
github-copilot
3
codex
3
kimi-cli
3
Skill 文档
Markdown Fetch
Efficiently fetch web content as clean Markdown using the markdown.new service.
Why Use This
- 80% fewer tokens than raw HTML
- 5x more content fits in context window
- No external dependencies or parsing libraries needed
- Three-tier conversion (Markdown-first, AI fallback, browser rendering)
Triggering
This skill should trigger automatically when:
- User provides a URL (e.g., “Read https://example.com“)
- User asks to extract/fetch/analyze web content
- User requests summarization of a webpage
- User needs to process article/blog/documentation URLs
Quick Start
# Fetch any URL
scripts/fetch.sh "https://example.com"
# Use browser rendering for JS-heavy sites
scripts/fetch.sh "https://example.com" --method browser
# Retain images in output
scripts/fetch.sh "https://example.com" --retain-images
Typical Usage Patterns
When a user says:
- “Read this article: https://…” â Use this skill to fetch the content
- “Summarize https://…” â Fetch with this skill first, then summarize
- “What does this page say: https://…” â Fetch the content
- “Extract the text from https://…” â Use this skill
Conversion Methods
auto (default) – Try Markdown-first, fall back to AI or browser as needed
ai – Use Cloudflare Workers AI for conversion
browser – Full browser rendering for JS-heavy content
Options
--method <auto|ai|browser> – Conversion method
--retain-images – Keep image references in output
--output <file> – Save to file instead of stdout
Output
Returns clean Markdown with metadata:
---
title: Page Title
tokens: 725
---
# Content here...
When to Use
- Extracting articles, documentation, or blog posts
- Building RAG pipelines with web content
- Summarizing web pages
- Fetching content for analysis
- Converting sites to Markdown format
Implementation Notes
The service handles:
- Content negotiation (Accept: text/markdown)
- Cloudflare Workers AI conversion
- Browser rendering for dynamic content
- Automatic fallback between methods