Defuddle logo

Defuddle

Community
spaceage64
defuddle

Extract clean markdown content from web pages using Defuddle CLI. ALWAYS use this instead of WebFetch when the user provides a URL to read or analyze. TRIGGER when: user provides any URL to a webpage, documentation, article, blog post, PDF link, DOI, arXiv, SSRN, Academia.edu page, or local PDF file path. DO NOT use WebFetch for these — use defuddle.

Overview

Publisherspaceage64
Repositoryclaude-defuddle
Skill namedefuddle
Stars
37
Forks
4
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by spaceage64 on GitHub. Read the source before you install it.

Installation

Install the Defuddle AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/spaceage64/claude-defuddle/tree/main
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/spaceage64/claude-defuddle.git \
  .claude/skills/defuddle
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Defuddle in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Defuddle on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Defuddle is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Defuddle

Use Defuddle CLI to extract clean readable content from any web page — including YouTube videos (transcript + chapters), Apple Podcasts episodes (transcript + chapters), academic papers (PDF → markdown via DOI, arXiv, SSRN, or Academia.edu), plain PDF URLs, and local PDF file paths.

Fetch and present

bash
python3 ~/.claude/skills/defuddle/defuddle.py --url "<url>"

Use the output to answer the user's question or complete the task. The script automatically detects the source type (article, YouTube, podcast, paper) and handles fetching accordingly. For articles, it falls back to archive.org / archive.is if the page is JS-rendered or paywalled.

[!warning] User Action Required — STOP If stderr contains "captcha" or "archive it" (from --method archive-is or --method wayback), STOP immediately. Do not try other URLs or workarounds. Show the user the URL printed in the message and ask them to visit it and let you know when done — then retry with the same command. Alternatively, ask the user if WebFetch should be used instead.

[!warning] Apple Podcasts — Transcript Not Cached If stderr contains "Podcast transcript not found locally", STOP immediately. Show the user the podcasts:// deep link printed in the message and ask them to open it, view the transcript in the Podcasts app, then let you know when done. Once confirmed, retry with the exact same command — the transcript will now be cached locally.

Save to Vault

  1. Ask: "Want to save this to the vault?"
  2. If yes: determine a folder name from context (e.g. a project or topic name), or ask if unclear.
  3. Run the script — it writes the file and prints the saved path:
bash
python3 ~/.claude/skills/defuddle/defuddle.py \
  --url "<url>" --project "{folder}" --created "{YYYY-MM-DD}" \
  [--filename "kebab-case-name"] [--method native|native-md|native-page|googlebot|wayback|archive-is] [--keep-pdf]
  • --project: subfolder name inside your vault (e.g. my-project, research)
  • --filename: optional override; script auto-generates from the title via AI if omitted
  • --method: force a specific fetch method instead of the auto-cascade (articles only)
  • --keep-pdf (papers and PDFs): also save the original PDF next to the note, with the same name ({filename}.pdf), compressed when ENABLE_PDF_COMPRESSION is on. Use only when the user asks to keep the PDF.

Notes are saved to {vault}/{folder}/defuddle/ regardless of source type.

The vault path is set via VAULT_PATH in defuddle.py. See README for setup.

  1. Confirm the path printed by the script: "Saved to {path}"

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Defuddle AI skill do?

Extract clean markdown content from web pages using Defuddle CLI. ALWAYS use this instead of WebFetch when the user provides a URL to read or analyze. TRIGGER when: user provides any URL to a webpage, documentation, article, blog post, PDF link, DOI, arXiv, SSRN, Academia.edu page, or local PDF file path. DO NOT use WebFetch for these — use defuddle.

Why use Defuddle on TypingMind?

Because you install it once and use it with any model. Defuddle is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Defuddle in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/spaceage64/claude-defuddle/tree/main. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Defuddle?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Defuddle?

As many as you like. As long as a model supports skills, you can use Defuddle with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Defuddle AI skill free?

Yes. It is published on GitHub by spaceage64 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇