Notes & PKMDocumentedScanned

news-summary

This skill should be used when the user asks for news updates, daily briefings.

Share:

Installation

npx clawhub@latest install news-summary

View the full skill documentation and source below.

Documentation

News Summary

Overview

Fetch and summarize news from trusted international sources via RSS feeds.

RSS Feeds

BBC (Primary)

# World news
curl -s ""

# Top stories
curl -s ""

# Business
curl -s ""

# Technology
curl -s ""

Reuters

# World news
curl -s ""

NPR (US perspective)

curl -s ""

Al Jazeera (Global South perspective)

curl -s ""

Parse RSS

Extract titles and descriptions:

curl -s "" | \
  grep -E "<title>|<description>" | \
  sed 's/<[^>]*>//g' | \
  sed 's/^[ \t]*//' | \
  head -30

Workflow

Text summary

  • Fetch BBC world headlines
  • Optionally supplement with Reuters/NPR
  • Summarize key stories
  • Group by region or topic
  • Voice summary

  • Create text summary
  • Generate voice with OpenAI TTS
  • Send as audio message
  • curl -s  \
      -H "Authorization: Bearer $OPENAI_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "tts-1-hd",
        "input": "<news summary text>",
        "voice": "onyx",
        "speed": 0.95
      }' \
      --output /tmp/news.mp3

    Example Output Format

    📰 News Summary [date]
    
    🌍 WORLD
    - [headline 1]
    - [headline 2]
    
    💼 BUSINESS
    - [headline 1]
    
    💻 TECH
    - [headline 1]

    Best Practices

    • Keep summaries concise (5-8 top stories)
    • Prioritize breaking news and major events
    • For voice: ~2 minutes max
    • Balance perspectives (Western + Global South)
    • Cite source if asked