smart-web-fetch

Fetch web content as Markdown using a four-tier fallback strategy.

Updated Mar 24, 2026
One-click install
npx skills add https://github.com/Airmomo/skills --skill smart-web-fetch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: smart-web-fetch
Source: https://github.com/Airmomo/skills/tree/main/smart-web-fetch
Command: npx skills add https://github.com/Airmomo/skills --skill smart-web-fetch

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill eliminates the manual effort of obtaining web content in a clean, Markdown-friendly format, reducing noise from raw HTML and saving tokens during AI processing.

Core Features & Use Cases

  • Replaces web_fetch by returning clean Markdown instead of HTML
  • Four-tier fallback strategy: Jina Reader, markdown.new, defuddle.md, or original HTML
  • Token savings and reliable content retrieval for agents, chat assistants, and automation tasks
  • Use Case: When you need a fetched article to be cleanly readable for summarization or analysis

Quick Start

Fetch the article at https://example.com and return the cleaned Markdown content.

Frequently Asked Questions about smart-web-fetch

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

FAQPage Schema
How do I fetch web content as clean Markdown instead of raw HTML?

You fetch web content as clean Markdown by replacing raw HTML retrieval with a dedicated cleaning layer. This Skill orchestrates a four-tier fallback to reliably return readable Markdown, minimizing token usage for agents and automation tasks.

What is the best way to reduce token usage when passing fetched web articles to an AI agent?

The best way to reduce token usage is to clean web content into Markdown before processing. This Skill removes HTML noise and returns structured Markdown or JSON, ensuring agents only consume the essential article text for summarization or analysis.

How does the fallback strategy work when a web content cleaning service fails?

The fallback strategy works by sequentially trying Jina Reader, markdown.new, and defuddle.md before reverting to original HTML. This maximizes content availability by automatically cascading to the next cleaning provider if the previous one fails.

Do I need access to the Jina service to fetch clean Markdown from web pages?

You need access to the Jina service or equivalent clean-content providers for the primary fallback tier. If Jina is unavailable, the Skill automatically falls back to markdown.new, defuddle.md, and finally the original HTML to ensure content retrieval.

Can I get structured JSON output instead of Markdown when extracting web page content?

Yes, you can get structured JSON output instead of Markdown. The Skill processes fetched web pages through its cleaning layer and can produce either clean Markdown text or structured JSON, depending on your agent or script requirements.