MIRA Hub

defuddle

Extract clean Markdown from HTML pages with Defuddle CLI.使用 Defuddle CLI 从 HTML 页面中提取干净的 Markdown。

domain:generalfunctionality:documentsfunctionality:searchwebhtmlmarkdownsource:lobehub

Instructions使用说明

How the agent uses this skill — sourced from SKILL.md.智能体如何使用该技能(取自 SKILL.md,保留原文)。

2 sections2 个章节
UsageOutput formats

Defuddle

Use Defuddle CLI to extract clean readable content from web pages. Prefer over WebFetch for standard web pages — it removes navigation, ads, and clutter, reducing token usage.

If not installed: npm install -g defuddle

Usage

Always use --md for markdown output:

defuddle parse <url> --md

Save to file:

defuddle parse <url> --md -o content.md

Extract specific metadata:

defuddle parse <url> -p title
defuddle parse <url> -p description
defuddle parse <url> -p domain

Output formats

FlagFormat
--mdMarkdown (default choice)
--jsonJSON with both HTML and markdown
(none)HTML
-p <name>Specific metadata property