🔗 Based on news-aggregator-skill | A vertical extension focused on China macroeconomic news
Fetch and filter China macroeconomic-related news from multiple Chinese financial news sources, providing in-depth AI interpretation.
Tools
fetch_china_macro_news.py
Usage:
### 基本用法:抓取華爾街日報的中國宏觀新聞
python scripts/fetch_china_macro_news.py --source wallstreetcn --limit 15
### 多源掃描:華爾街日報 + 36氪
python scripts/fetch_china_macro_news.py --source wallstreetcn,36kr --limit 10
Deep fetch (download article content)
python scripts/fetch_china_macro_news.py --source wallstreetcn --limit 10 --deep
### 智慧關鍵字擴展 (Smart Keyword Expansion)
**CRITICAL**: 當用戶給出簡單關鍵字時,自動擴展覆蓋相關領域:
* 用戶: "利率" -> Agent 使用: `--keyword "利率,LPR,MLF,降息,加息,PBOC,央行"`
* 用戶: "通膨" -> Agent 使用: `--keyword "通膨,CPI,PPI,物價,通縮"`
* 用戶: "貿易" -> Agent 使用: `--keyword "貿易,進出口,順差,關稅,海關"`
```bash
# Example: User asked for "央行新聞" (Note the expanded keywords)
python scripts/fetch_china_macro_news.py --source wallstreetcn --limit 20 --keyword "央行,PBOC,利率,LPR,MLF,降息,降準" --deep
Arguments:
--source: One ofwallstreetcn,36kr,all(default: wallstreetcn).--limit: Max items per source (default 15).--keyword: Comma-separated filters (default: macro-related keywords).--deep: [NEW] Enable deep fetching. Downloads and extracts the main text content of the articles.
Output:
JSON array. If --deep is used, items will contain a content field associated with the article text.
Default macro keywords
The script uses the following keywords by default to filter China macro news:
央行,PBOC,利率,LPR,MLF,降息,降準,
GDP,PMI,CPI,PPI,通膨,通縮,
經濟,宏觀,財政,貨幣政策,
貿易,進出口,順差,逆差,
就業,失業,消費,零售,
房地產,樓市,投資,基建,
人民幣,匯率,外匯,
債券,國債,信貸,社融,M2
Interactive Menu
When the user says "Today's China Macro News" (or similar "menu/help" triggers):
- READ the content of
templates.mdin the skill directory. - DISPLAY the list of available commands to the user exactly as they appear in the file.
- GUIDE the user to select a number or copy the command to execute.
Smart Time Filtering & Reporting (CRITICAL)
If the user requests a specific time window (e.g., "the past X hours") and the results are sparse (< 5 items):
- Prioritize User Window: First, list all items that strictly fall within the user's requested time (Time < X).
- Smart Fill: If the list is short, you MUST include high-value/high-heat items from a wider range (e.g. past 24h) to ensure the report provides at least 5 meaningful insights.
- Annotation: Clearly mark these older items (e.g., "⚠️ 18h ago", "🔥 24h hot topic") so the user knows they are supplementary.
- High Value: Always prioritize "major policy", "central bank developments", or "key data" items even if they slightly exceed the time window.
Response Guidelines (CRITICAL)
Format & Style:
- Language: Traditional Chinese (zh-TW).
- Style: Magazine/Newsletter style (e.g., "Wealth Magazine" or "The Wall Street Journal" vibe). Professional, concise, yet engaging.
- Structure:
- 🔥 Top Headlines: Top 3-5 most critical macro stories.
- 💰 Central Bank and Monetary Policy: Interest rates and liquidity related.
- 📊 Economic Data: Interpretation of GDP, PMI, CPI, and other data.
- 💱 Exchange Rates and Markets: RMB, bonds, and stock market related.
- Item Format:
- Title: MUST be a Markdown Link to the original URL.
- ✅ Correct:
### 1. [央行宣布降準 0.5 個百分點](https://...) - ❌ Incorrect:
### 1. 央行宣布降準 0.5 個百分點
- ✅ Correct:
- 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").
- Title: MUST be a Markdown Link to the original URL.
Output Artifact:
- Always save the full report to
reports/directory with a timestamped filename (e.g.,reports/china_macro_YYYYMMDD_HHMM.md). - Present the full report content to the user in the chat.
- CRITICAL: Report footer MUST include attribution line.
Data Source Description
| Source | Description | Use Case |
|---|---|---|
| The Wall Street Journal | A top Chinese financial media outlet with strong immediacy in macro/market news | Central bank policy, market developments, data interpretation |
| 36Kr | A technology and financial media outlet covering macroeconomic news briefs | Economic policy, industry developments |
Example Output
# 今日中國宏觀新聞摘要(2026-01-20)
> 掃描時間:11:30 | 來源:華爾街日報、36氪 | 共 12 條相關新聞
---
## 🔥 頭條焦點
### 1. [央行今日開展 5000 億 MLF 操作,利率持平](https://wallstreetcn.com/...)
📍 華爾街日報 | 🕐 09:45 | 🔥 高關注
央行維持 MLF 利率不變,符合市場預期。
- **核心要點**:本月 MLF 到期量 4500 億,淨投放 500 億
- **市場影響**:短期流動性維持寬鬆,LPR 大概率持平
- **後續觀察**:關注月末資金面與下月降準窗口
### 2. [12 月 PMI 回升至 50.1,製造業重返擴張區間](https://wallstreetcn.com/...)
📍 華爾街日報 | 🕐 10:00 | 🔥 重要數據
官方製造業 PMI 小幅回升,結束連續兩個月收縮。
- **數據亮點**:新訂單指數回升 0.3 個百分點
- **結構分化**:大型企業穩健,中小企業仍承壓
- **政策含義**:穩增長政策效果初顯,但基礎尚不穩固
---
## 💰 央行與貨幣政策
### 3. [1 月 LPR 報價出爐:1 年期 3.10%、5 年期 3.60% 均持平](https://...)
...
---
*報告由 list-china-today-macro-news skill 自動生成*
*🔗 Powered by [news-aggregator-skill](https://github.com/anthropics/news-aggregator-skill)*
Attribution
This skill is built upon and extends the architecture of news-aggregator-skill.
- Core fetching patterns derived from
news-aggregator-skill/scripts/fetch_news.py - Report formatting follows the news-aggregator-skill Response Guidelines
- Smart Time Filtering logic adapted from news-aggregator-skill
🔗 Based on news-aggregator-skill by Anthropic