home / skills / guanyang / antigravity-skills / defuddle
This skill extracts clean markdown content from web pages using Defuddle CLI to save tokens and remove clutter.
npx playbooks add skill guanyang/antigravity-skills --skill defuddleReview the files below or copy the command above to add this skill to your agents.
---
name: defuddle
description: 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.
---
# 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-cli`
## Usage
Always use `--md` for markdown output:
```bash
defuddle parse <url> --md
```
Save to file:
```bash
defuddle parse <url> --md -o content.md
```
Extract specific metadata:
```bash
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 |
This skill extracts clean, readable Markdown content from web pages using the Defuddle CLI, removing navigation, ads, and other clutter to save tokens. It is the preferred extractor for standard documentation, articles, and blog posts when a URL is provided. The skill outputs focused Markdown or JSON and can also capture specific metadata properties.
The skill invokes the Defuddle CLI to parse the provided URL and request Markdown output (--md) by default. It can write results to a file, return JSON that includes both HTML and Markdown, or fetch specific metadata properties (title, description, domain) with -p. It strips extraneous page chrome so downstream language models receive concise, high-value content.
Is Defuddle required to use this skill?
Yes—the skill relies on the Defuddle CLI. Install it with npm install -g defuddle-cli and ensure the CLI is in PATH.
What output formats are supported?
Use --md for Markdown (recommended), --json for JSON containing HTML and Markdown, or no flag to get raw HTML. Use -p <name> to fetch a specific metadata property.
What if a page is a JavaScript-heavy single-page app?
Defuddle works best on server-rendered or static pages. For client-rendered pages, pre-render the page or capture the server-rendered HTML before parsing.