Clean article extraction from web pages or local HTML, returning Markdown with metadata and clutter removed.

skills.sh installs
1.3K
GitHub stars
112
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers URL and local HTML input, converting pages into Markdown plus JSON metadata via defuddle parse
  • Returns title, author, published date, domain, word count, and content fields, with -p to extract one property
  • Includes a save workflow that writes frontmatter-tagged Markdown files after asking for a target directory once per conversation
  • Designed for article-style pages such as blogs, news, and documentation, not SPAs or JavaScript-heavy sites

Install

$ npx -y skills add joeseesun/defuddle-skill --skill defuddle -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Defuddle - Web Content Extraction

Extract main article content from web pages, removing ads, sidebars, navigation, and other clutter. Output clean Markdown with metadata.

Prerequisites

Before first use, check if defuddle is installed:

command -v defuddle >/dev/null 2>&1 || npm install -g defuddle jsdom

Default Workflow

When user provides a URL, follow this workflow:

Step 1: Extract content as Markdown + JSON metadata

Always use both -m and -j flags to get markdown content with full metadata:

defuddle parse "<url>" -m -j

Step 2: Present a summary to the user

Show the user:

  • Title: from JSON title field
  • Author: from JSON author field
  • Source: domain
  • Word count: from JSON wordCount field
  • A brief preview (first 2-3 sentences)

Step 3: Ask where to save

If this is the first time using defuddle in this conversation, ask the user:

"Save to which directory? (e.g. ~/Documents, ~/Desktop, or a custom path)"

Remember the user's chosen directory for subsequent uses in the same conversation.

Step 4: Save as Markdown file

Write the file with frontmatter + full content:

Details

Repository
github.com/joeseesun/defuddle-skill
Categories
Browser Automation & Scraping, Writing & Content
First seen
May 16, 2026