defuddle

作者: kepano

使用Defuddle CLI从网页提取干净的Markdown内容,去除杂乱和导航以节省令牌。当用户提供需要阅读或分析的URL、在线文档、文章、博客帖子或任何标准网页时,使用此功能替代WebFetch。请勿用于以.md结尾的URL——这些已经是Markdown格式,应直接使用WebFetch。

npx skills add https://github.com/kepano/obsidian-skills --skill defuddle

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