Agent skill

article-extraction

Extract clean article content from web pages, removing ads and clutter for reading and archiving

Stars 1
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/ljchg12-hue/dotfiles/tree/main/skills/article-extraction

SKILL.md

Article Extraction Skill

Extract clean article text from web pages, removing ads, navigation, and clutter.

When to Use

  • Content archiving
  • Research collection
  • Reading list management
  • Content analysis

Core Capabilities

  • Main content extraction
  • Metadata extraction (title, author, date)
  • Image extraction
  • Clean HTML/Markdown output
  • Multi-page article handling
  • Paywall bypass (where legal)

Tools

bash
# Readability (Node.js)
npm install @mozilla/readability

# newspaper3k (Python)
pip install newspaper3k
python -c "from newspaper import Article; a = Article('URL'); a.download(); a.parse(); print(a.text)"

# Trafilatura (Python)
pip install trafilatura
trafilatura -u "URL"

Best Practices

  • Respect robots.txt
  • Cache extracted content
  • Preserve attribution
  • Handle different CMS formats

Resources

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results