| name | daily-trending |
| description | Fetch today's trending topics from tophub.today across multiple platforms. Triggered when users ask "what's trending today", "hot topics", or "Weibo trending". |
Daily Trending
Fetch today's trending topics from TopHub. Prefer the local script below when an API key is configured; fall back to manual web reads only when the API is unavailable.
Script Directory
This skill's scripts are located in ${SKILL_DIR}/scripts/, where SKILL_DIR is the directory containing this SKILL.md file.
| Script | Purpose | Usage |
|---|
scripts/fetch_tophub.py | Fetch trending topics from TopHub Data API | python3 ${SKILL_DIR}/scripts/fetch_tophub.py --platforms weibo,zhihu,baidu |
Configuration
- Preferred key location:
.secrets/tophub-config.json
- Supported field names:
access_key, api_key, token
- Environment override:
TOPHUB_API_KEY
Example secrets file:
{
"access_key": "YOUR_KEY"
}
Data Collection
Multi-Platform Trending Lists (Required)
Fetch trending lists from the following platforms on tophub.today:
- Zhihu Hot List:
/n/mproPpoq6O
- Weibo Trending:
/n/KqndgxeLl9
- Baidu Real-time Hot Topics:
/n/Jb0vmloB1G
- 36Kr 24-Hour Hot List:
/n/Q1Vd5Ko85R
- Huxiu Hot Articles:
/n/5VaobgvAj1
- The Paper Hot List:
/n/wWmoO5Rd4E
- 52pojie Today's Hot Posts:
/n/NKGoRAzel6
- Hupu Community Hot Posts:
/n/G47o8weMmN
Fetching Strategy
⚠️ Important: To avoid context overflow, fetch in batches with character limits!
Option A: Local API Script First (Recommended)
python3 ${SKILL_DIR}/scripts/fetch_tophub.py --platforms weibo,zhihu,baidu --limit 5
Option B: Core Platforms via web_fetch
web_fetch("https://tophub.today/n/KqndgxeLl9", maxChars=1500)
web_fetch("https://tophub.today/n/mproPpoq6O", maxChars=1500)
web_fetch("https://tophub.today/n/Jb0vmloB1G", maxChars=1500)
Option C: Complete Fetch (Use only when necessary)
web_fetch("https://tophub.today/n/KqndgxeLl9", maxChars=2000)
web_fetch("https://tophub.today/n/mproPpoq6O", maxChars=2000)
web_fetch("https://tophub.today/n/Jb0vmloB1G", maxChars=2000)
web_fetch("https://tophub.today/n/Q1Vd5Ko85R", maxChars=2000)
web_fetch("https://tophub.today/n/5VaobgvAj1", maxChars=2000)
Fetching Strategy:
- Prioritize Weibo + Zhihu + Baidu (covers 90% of hot topics)
- Only fetch other platforms if suitable topics are not found in these 3
- Fetch one platform at a time, filter immediately, then decide whether to fetch the next
Filtering Criteria (Critical)
From all platform trending lists, filter out truly important topics that are genuinely at the center of discussion:
- Major Events: Significant policies, international relations, social events
- Hot Discussion Topics: Topics that spark widespread discussion and debate
- True Focus Points: Not celebrity gossip or promotional content
- Facts Only: Exclude subjective commentary headlines like "sky is falling", "worst ever", "absurd", etc.
- Factual Content: Keep the events themselves without added commentary or sensationalism
Exclude:
- Headlines with subjective commentary
- Pure entertainment gossip
- Obvious promotional content
- Emotional expressions
Include:
- Factual events
- Policy updates
- Socially debated topics
- Truly discussion-worthy focal points
Output Requirements:
- Each news item must be complete with clear beginning and end
- Describe events like news headlines
- Avoid single words or incomplete fragments
Output Format
Output only the 5 most valuable items:
---
🔥 Today's Trending (February 19)
1. Sanae Takaichi confirmed as Japan's new Prime Minister, to form new cabinet
2. 2026 Spring Festival box office surpasses 2 billion yuan
3. Su Yiming wins gold in men's slopestyle snowboarding at Milan Winter Olympics
4. South Korea wins gold in women's 3000m short track speed skating relay
5. Saudi Arabia invests $48.3 billion to acquire part of ByteDance business
---
Notes:
- Each news item should be complete with clear beginning and end
- No source attribution needed
- Facts only, exclude subjective commentary
- Replace divider "---" with "======"
- Output only the required content, no extra text, explanations, or error messages before or after