From fetch
HTML to Markdown converter via Fetch.Cli. Fetch web pages and convert them to clean Markdown. Supports article extraction and full-page conversion. Images are excluded by default; use --images to include them. TRIGGER: When the user asks to read a web page, convert HTML to Markdown, fetch page content, or extract article text from a URL.
How this skill is triggered — by the user, by Claude, or both
Slash command
/fetch:fetchThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Lightweight CLI for converting web pages to Markdown via Fetch.Server. Output is clean Markdown — ideal for AI agents.
Lightweight CLI for converting web pages to Markdown via Fetch.Server. Output is clean Markdown — ideal for AI agents.
fetch --version
If not installed:
dotnet tool install --global Fetch.Cli --add-source https://nuget.pkg.github.com/fan92rus/index.json
Requires a running Fetch.Server instance (default: http://localhost:5020).
fetch "https://example.com"
Article mode (default) — extracts main content:
fetch "https://example.com" --mode article
Full-page mode — converts entire page:
fetch "https://example.com" --mode full-page
Short flag:
fetch "https://example.com" -m full-page
Images are excluded by default for minimal token usage. Include them with:
fetch "https://example.com" --images
Set images as default in config:
fetch config set images=true
HttpRequest (default) — fast, no JS rendering:
fetch "https://example.com" --loading-type HttpRequest
Selenium — full browser rendering for JS-heavy pages:
fetch "https://example.com" --loading-type Selenium
Short flag:
fetch "https://example.com" -l Selenium
fetch "https://example.com" --server http://myserver:5020
Short flag:
fetch "https://example.com" -s http://myserver:5020
Set defaults in ~/.config/fetch.cli/config.json:
{
"Server": "http://localhost:5020",
"Images": false
}
Priority: CLI flags > config file > built-in defaults.
Interactive setup:
# Via Claude Code slash command
/fetch-init
Manual config:
fetch config set server=http://myserver:5020
fetch config set images=true
View current config:
fetch config
Plain Markdown text written to stdout. Suitable for direct use in AI context.
| Error | Fix |
|---|---|
Server error (502) | Fetch.Server is not running. Start it with dotnet run --project Fetch.Server |
Connection refused | Check server URL and network connectivity |
Server returned empty response | Page may be empty or blocked. Try --mode full-page |
| Empty JS-rendered content | Use --loading-type Selenium with a running browser |
See CLI_REFERENCE.md for complete documentation.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub fan92rus/fetch --plugin fetch