Dotfiles-nix defuddle
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.
install
source · Clone the upstream repo
git clone https://github.com/not-matthias/dotfiles-nix
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/not-matthias/dotfiles-nix "$T" && mkdir -p ~/.claude/skills && cp -r "$T/modules/home/programs/cli-agents/shared/skills/defuddle" ~/.claude/skills/not-matthias-dotfiles-nix-defuddle && rm -rf "$T"
manifest:
modules/home/programs/cli-agents/shared/skills/defuddle/SKILL.mdsource content
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.
Always run via
bunx (do not install globally).
Usage
Always use
--md for markdown output:
bunx defuddle parse <url> --md
Save to file:
bunx defuddle parse <url> --md -o content.md
Extract specific metadata:
bunx defuddle parse <url> -p title bunx defuddle parse <url> -p description bunx defuddle parse <url> -p domain
Output formats
| Flag | Format |
|---|---|
| Markdown (default choice) |
| JSON with both HTML and markdown |
| (none) | HTML |
| Specific metadata property |