SKILL.md
$27
Technology
curl -s "https://feeds.bbci.co.uk/news/technology/rss.xml"
### Reuters
World news
curl -s "https://www.reutersagency.com/feed/?best-regions=world&post_type=best"
### NPR (US perspective)
curl -s "https://feeds.npr.org/1001/rss.xml"
### Al Jazeera (Global South perspective)
curl -s "https://www.aljazeera.com/xml/rss/all.xml"
## Parse RSS
Extract titles and descriptions:
curl -s "https://feeds.bbci.co.uk/news/world/rss.xml" | \
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 https://api.openai.com/v1/audio/speech \
-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]