defuddle

作者: kepano

使用 Defuddle CLI 從網頁中提取乾淨的 Markdown 內容,移除雜亂與導航元素以節省 Token。當使用者提供要閱讀或分析的網址、線上文件、文章、部落格貼文或任何標準網頁時,請使用此功能取代 WebFetch。請勿用於結尾為 .md 的網址——此類網址已是 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