Defuddle skill for Claude
The defuddle skill by obsidianmd: Extract clean Markdown from HTML pages with Defuddle CLI.
Defuddle SKILL.md
The full skill file from obsidianmd/obsidian-skills (MIT).
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 <name> | Specific metadata property |
How to install the defuddle skill
Claude Code
Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):
npx degit obsidianmd/obsidian-skills/plugins/obsidian/skills/defuddle#main ~/.claude/skills/defuddleCodex
npx degit obsidianmd/obsidian-skills/plugins/obsidian/skills/defuddle#main ~/.codex/skills/defuddleClaude.ai and Claude Desktop
Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.
Frequently asked questions
+What is the defuddle skill?
Extract clean Markdown from HTML pages with Defuddle CLI.
+How do I install Defuddle in Claude Code?
Copy the skill folder into ~/.claude/skills/defuddle, for example with "npx degit obsidianmd/obsidian-skills/plugins/obsidian/skills/defuddle#main ~/.claude/skills/defuddle". Claude Code loads it automatically and uses it when a task matches.
+Does Defuddle work with ChatGPT or Codex?
Yes. Defuddle uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/defuddle. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.
+Is Defuddle free?
Defuddle is published on GitHub by obsidianmd under the MIT license, which allows free use.