defuddle
bởi kepano
Trích xuất nội dung markdown sạch từ các trang web bằng Defuddle CLI, loại bỏ tạp nham và điều hướng để tiết kiệm token. Sử dụng thay cho WebFetch khi người dùng cung cấp URL để đọc hoặc phân tích, cho tài liệu trực tuyến, bài báo, bài viết blog, hoặc bất kỳ trang web tiêu chuẩn nào. KHÔNG sử dụng cho URL kết thúc bằng .md — những URL đó đã là markdown, hãy dùng WebFetch trực tiếp.
npx skills add https://github.com/kepano/obsidian-skills --skill defuddleDefuddle
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
| Flag | Format |
|---|---|
--md | Markdown (default choice) |
--json | JSON with both HTML and markdown |
| (none) | HTML |
-p <name> | Specific metadata property |