Claude Code Skills · Obsidian 笔记(kepano/obsidian-skills)
defuddle
用 Defuddle CLI 把网页正文抽成干净 markdown 的 skill。相比 WebFetch 直接抓 HTML,它会去掉导航栏、广告、侧边推荐这些噪声,省 token。 典型用法是 defuddle parse <url> --md,也能单独取标题、描述、域名 等字段。URL 已经是 .md 结尾就不需要它,直接走 WebFetch 即可。
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. Do NOT use for URLs ending in .md — those are already markdown, use WebFetch directly.
- Repo
kepano/obsidian-skills- skills.sh
- /kepano/obsidian-skills/defuddle
- Slug
defuddle
SKILL.md
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
| Flag | Format |
|---|---|
--md | Markdown (default choice) |
--json | JSON with both HTML and markdown |
| (none) | HTML |
-p <name> | Specific metadata property |
同一分类的其他项