AgentSkillsCN

defuddle

借助 Defuddle CLI 从网页中提取精炼的 Markdown 内容,去除冗余信息与导航元素,从而节省 Token 使用量。当用户希望读取或分析指定 URL、查阅在线文档、阅读文章或博客帖子,乃至浏览任何标准网页时,可优先选择此工具,替代 WebFetch。

SKILL.md
--- frontmatter
name: defuddle
description: Extract clean markdown content from web pages using Defuddle CLI, removing clutter and navigation to save tokens. Use instead of WebFetch when the user provides a URL to read or analyze, for online documentation, articles, blog posts, or any standard web page.

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-cli

Usage

Always use --md for markdown output:

bash
defuddle parse <url> --md

Save to file:

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

Extract specific metadata:

bash
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