md-fetch

Fetch markdown documents and extract sections by lines, headers, or keywords.

Updated Jan 23, 2026
One-click install
npx skills add https://github.com/kwanLeeFrmVi/claude-codes-md-reader-skill --skill md-fetch
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: md-fetch
Source: https://github.com/kwanLeeFrmVi/claude-codes-md-reader-skill/tree/main
Command: npx skills add https://github.com/kwanLeeFrmVi/claude-codes-md-reader-skill --skill md-fetch

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Markdown documentation is often spread across websites and needs targeted extraction to stay bite-sized for workflows. This skill fetches remote Markdown files, allows partial reading by lines or headers, and surfaces the most relevant sections for quick comprehension.

Core Features & Use Cases

  • Full-file retrieval from web-accessible Markdown sources
  • Partial content extraction by line ranges or section headers
  • Section ranking using simple heuristics (BM25-like scoring) to surface relevant content
  • Local deterministic processing with scripts/ for reproducibility

Quick Start

Provide a URL and optional extraction parameters to fetch and extract the desired markdown content.

Frequently Asked Questions about md-fetch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch and extract specific sections from a markdown document online?▼

You can fetch markdown from URLs and extract targeted sections by specifying line numbers or headers. This allows partial content extraction to quickly read only the relevant parts of remote documentation.

Can I search for keywords within web-accessible markdown files?▼

Yes, you can search for keywords within fetched markdown files. The tool uses BM25-based ranking to surface the most relevant sections across diverse documentation sources based on your search terms.

What is the best way to retrieve only a portion of remote markdown documentation?▼

The best way to retrieve a portion of remote markdown is by using partial extraction parameters. You can specify line ranges or section headers to fetch bite-sized content instead of downloading the full file.

Do I need external services or APIs to extract markdown from URLs?▼

No, you do not need external services to extract markdown from URLs. The tool relies on local deterministic processing with curl and Python-based tooling to perform fetching, section parsing, and ranking reproducibly.

How does BM25 ranking work for markdown section extraction?▼

BM25 ranking for markdown section extraction scores sections based on keyword relevance. This heuristic surfaces the most pertinent content from the fetched markdown files, helping you quickly find targeted information.