Scroll AI Now

Agent skill

Defuddle

Extract clean Markdown from HTML pages with Defuddle CLI. A copy‑ready agent skill by obsidianmd, with the full text, MIT license and how to use it.

By obsidianmd · obsidianmd/obsidian-skills · MIT License · ★ 53,558 · 41 lines

New to this? An agent skill is a file of instructions your AI assistant follows for one job. The text above is written for the assistant. How to use a skill

Good to know
  • It installs a package from the internet. Check what it is before you allow it.

What it does

Defuddle is an agent skill from obsidianmd/obsidian-skills, a GitHub repo with 55,780 stars.
In short, it gives your assistant a fixed routine for one kind of job.
The file is 41 lines long and is set out in parts such as “Usage” and “Output formats”.
It has 3 code examples your assistant can follow.

When to use it

Reach for it when you do this job often and want the same good result each time.
Everything it needs is in this one file.
It does not ask for special tools.

Safety check

Our checker read all 41 lines before we listed it.
It found no attack techniques, no hidden text and no steps that switch off your assistant's safety or send your data away.
It did flag one thing to know, listed above.
The text links to no outside sites.
It is shared under the MIT license.
Still read it before you use it, like any instructions you give your AI.

Open in the appOriginal on GitHub

What is inside

How to use it

Read the full guide to using an agent skill

Want your own? How to write an agent skill that works

The full skill

---
name: defuddle
description: Extract clean Markdown from HTML pages with Defuddle CLI.
---

# 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:

```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 |

Copyright (c) obsidianmd and contributors.
Published under the MIT License, which you can read in full there.
Shown as published on GitHub, with credit and a link to the original.
Read it before you use it.

Are you the author?

This skill passed our automated safety check.
Show it in your README with the badge below.
It links readers back to this page. How the badge works

Featured on Scroll AI Now, passed its automated safety check

Markdown
[![Featured on Scroll AI Now, passed its automated safety check](https://scrollainow.com/badge/safety-checked.svg)](https://scrollainow.com/skills/defuddle/)
HTML
<a href="https://scrollainow.com/skills/defuddle/"><img src="https://scrollainow.com/badge/safety-checked.svg" alt="Featured on Scroll AI Now, passed its automated safety check" height="28"></a>

More skills

All agent skills

Try it in your browser

Today's AI news, one card per swipe.
Free to start.

Open the web app