5.3w obsidianmd

defuddle Skill

用 Defuddle CLI 从 HTML 页面提取干净的 Markdown。

安装方式:把技能目录放入 ~/.claude/skills/(Claude Code)或在 claude.ai 设置中启用;也可复制右侧安装命令一键添加。

查看源码

技能指令原文(SKILL.md)

Defuddle

Use Defuddle CLI when the user wants clean Markdown extracted from a web page. It removes navigation, ads, and other page clutter.

Check availability with defuddle --help. If it is missing, explain the dependency and offer installation with npm install -g defuddle. Do not claim extraction succeeded if the tool is unavailable or returns an error.

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 | Specific metadata property |

配合站内内容