Search & ResearchDocumentedScanned
news-aggregator
News from 8 sources: Hacker News, GitHub Trending, Product Hunt.
Share:
Installation
npx clawhub@latest install news-aggregator-skillView the full skill documentation and source below.
Documentation
News Aggregator Skill
Fetch real-time hot news from multiple sources.
Tools
fetch_news.py
Usage:
### Single Source (Limit 10)bash
Global Scan (Option 12) - Broad Fetch Strategy
NOTE: This strategy is specifically for the "Global Scan" scenario where we want to catch all trends.
# 1. Fetch broadly (Massive pool for Semantic Filtering)
python3 scripts/fetch_news.py --source all --limit 15 --deep
# 2. SEMANTIC FILTERING:
# Agent manually filters the broad list (approx 120 items) for user's topics.
Single Source & Combinations (Smart Keyword Expansion)
CRITICAL: You MUST automatically expand the user's simple keywords to cover the entire domain field.- User: "AI" -> Agent uses:
--keyword "AI,LLM,GPT,Claude,Generative,Machine Learning,RAG,Agent" - User: "Android" -> Agent uses:
--keyword "Android,Kotlin,Google,Mobile,App" - User: "Finance" -> Agent uses:
--keyword "Finance,Stock,Market,Economy,Crypto,Gold"
# Example: User asked for "AI news from HN" (Note the expanded keywords)
python3 scripts/fetch_news.py --source hackernews --limit 20 --keyword "AI,LLM,GPT,DeepSeek,Agent" --deep
Specific Keyword Search
Only use--keyword for very specific, unique terms (e.g., "DeepSeek", "OpenAI").
python3 scripts/fetch_news.py --source all --limit 10 --keyword "DeepSeek" --deep
Arguments:
--source: One ofhackernews,weibo,github,36kr,producthunt,v2ex,tencent,wallstreetcn,all.--limit: Max items per source (default 10).--keyword: Comma-separated filters (e.g. "AI,GPT").--deep: [NEW] Enable deep fetching. Downloads and extracts the main text content of the articles.
--deep is used, items will contain a content field associated with the article text.
Interactive Menu
When the user says "news-aggregator-skill 如意如意" (or similar "menu/help" triggers):
templates.md in the skill directory.Smart Time Filtering & Reporting (CRITICAL)
If the user requests a specific time window (e.g., "past X hours") and the results are sparse (< 5 items):#RAG #LocalFirst #Rust).
6. Response Guidelines (CRITICAL)
Format & Style:
- Language: Simplified Chinese (简体中文).
- Style: Magazine/Newsletter style (e.g., "The Economist" or "Morning Brew" vibe). Professional, concise, yet engaging.
- Structure:
- Tech & AI: Specific section for AI, LLM, and Tech items.
- Finance / Social: Other strong categories if relevant.
- Item Format:
- ✅ Correct:
### 1. [OpenAI Releases GPT-5]()- ❌ Incorrect:
### 1. OpenAI Releases GPT-5- Metadata Line: Must include Source, Time/Date, and Heat/Score.
- 1-Liner Summary: A punchy, "so what?" summary.
- Deep Interpretation (Bulleted): 2-3 bullet points explaining why this matters, technical details, or context. (Required for "Deep Scan").
Output Artifact:
- Always save the full report to
reports/directory with a timestamped filename (e.g.,reports/hn_news_YYYYMMDD_HHMM.md). - Present the full report content to the user in the chat.