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.
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
- 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/
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
- Usage
- Output formats
How to use it
- Claude Code: save the text as
.claude/skills/defuddle/SKILL.mdin your project. Claude reads it when a task needs it. - Claude, ChatGPT or Gemini: tap Copy skill and paste it into the chat. It arrives with a short line asking the assistant to use it.
- Cursor and other agents: add it to the project rules or instructions.
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.
More skills
Try it in your browser
Today's AI news, one card per swipe.
Free to start.