article-extractor

Extract clean article text from URLs using reader or trafilatura.

Updated Aug 12, 2026
One-click install
npx skills add https://github.com/Barbaros911/As-mine --skill article-extractor-barbaros911
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: article-extractor
Source: https://github.com/Barbaros911/As-mine/tree/main/.claude/skills/article-extractor
Command: npx skills add https://github.com/Barbaros911/As-mine --skill article-extractor-barbaros911

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires trafilatura.

What problem does it solve? Web articles are cluttered with ads, navigation menus, newsletter popups, and sidebars, making it hard to save or reuse the actual content. This Skill extracts only the main article text from a URL and saves it as a clean, readable text file. ## Core Features & Use Cases - Multi-tool extraction: Uses Mozilla Readability (reader) or trafilatura, with a curl + Python HTML parser fallback when neither is installed. - Automatic cleanup: Removes navigation, ads, signup forms, comments, and social buttons, then generates a filesystem-safe filename from the article title. - Use Case: You find a long tutorial blog post and want an offline copy. Provide the URL and receive a plain text file containing only the article body, with a preview of the first lines to verify quality. ## Quick Start Extract the article at https://example.com/blog-post and save it as a clean text file.

Frequently Asked Questions about article-extractor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract article text from a URL without ads?▼

Use the reader CLI or trafilatura to parse the URL and output only the main content. Both tools strip navigation, ads, and signup forms, producing clean text saved to a file named after the article title.

reader vs trafilatura for article extraction?▼

reader uses Mozilla's Readability algorithm and works well for most articles, while trafilatura is more accurate for news sites, blogs with complex layouts, and non-English content. The skill tries reader first, then falls back to trafilatura.

Can I extract articles without installing any tools?▼

Yes, a fallback method uses curl plus a Python HTMLParser script to extract paragraph and heading content. It is less reliable than reader or trafilatura and may include some noise, but works without dependencies.

Why does article extraction fail on some websites?▼

Extraction fails when articles sit behind paywalls or logins, or when sites render content with heavy JavaScript that curl cannot execute. In those cases the tools return empty content and the skill reports the failure.

How are extracted article filenames generated?▼

The article title is cleaned by removing special characters like slashes, colons, and quotes, then truncated to a safe length. The result is saved as a .txt file, with a preview of the first lines shown for verification.