defuddle

Extract clean markdown content from web pages using the Defuddle CLI.

Updated Oct 7, 2022
One-click install
npx skills add https://github.com/tamagusko/linux-cfg --skill defuddle-tamagusko
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: defuddle
Source: https://github.com/tamagusko/linux-cfg/tree/main/dotfiles/claude/skills/defuddle
Command: npx skills add https://github.com/tamagusko/linux-cfg --skill defuddle-tamagusko

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires defuddle.

What problem does it solve? Fetching web pages with standard tools returns raw HTML full of navigation, ads, and clutter, wasting tokens and obscuring the actual content. This Skill uses the Defuddle CLI to strip that noise and return clean, readable markdown. ## Core Features & Use Cases - Clean Markdown Extraction: Parse any URL into markdown with navigation, ads, and boilerplate removed via defuddle parse <url> --md. - Metadata Extraction: Pull specific properties like title, description, or domain with the -p flag. - Flexible Output Formats: Choose markdown, JSON (with both HTML and markdown), or raw HTML output. - Use Case: When a user shares a link to online documentation or a blog post, run Defuddle instead of WebFetch to get a compact markdown version that is cheaper to process and easier to read. ## Quick Start Ask the assistant to read and summarize the article at a given URL using defuddle instead of a standard web fetch.

Frequently Asked Questions about defuddle

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

FAQPage Schema
How do I extract clean markdown from a web page?

Run defuddle parse followed by the URL and the --md flag to get markdown output with navigation, ads, and clutter removed. Add -o content.md to save the result directly to a file.

What is the difference between Defuddle and WebFetch for reading URLs?

Defuddle strips navigation, ads, and boilerplate from pages, producing compact markdown that uses fewer tokens. WebFetch returns the standard page content, so Defuddle is preferred for standard articles, blogs, and documentation pages.

How do I install the Defuddle CLI?

Install it globally with npm by running npm install -g defuddle. After installation, the defuddle command is available in your shell for parsing URLs.

Can Defuddle extract only the title or description of a page?

Yes, use the -p flag with a property name, such as defuddle parse <url> -p title, -p description, or -p domain, to extract a single metadata property instead of the full page content.

What output formats does Defuddle support?

Defuddle supports markdown via --md, JSON containing both HTML and markdown via --json, raw HTML with no flag, and single metadata properties via -p <name>. Markdown is the recommended default.