Workflow
When this skill is triggered (usually via cron at 10 PM every day), execute the following steps:
1. Launch the browser
Use the browser tool to launch browser control:
browser action=start profile=openclaw
2. Read the knowledge base for popular science
Must first read the references/indicators.md file to obtain popular science explanations of common indicators:
read path=/home/hmzo/.openclaw/workspace/skills/macro-monitor/references/indicators.md
3. Collect data
Visit the following data sources in order of priority to collect macro data and policy information released in the past 24 hours:
International data:
- Trading Economics (https://tradingeconomics.com/calendar) - View the economic calendar
- FRED (https://fred.stlouisfed.org/releases) - Federal Reserve economic data releases
Domestic data:
- National Bureau of Statistics (http://www.stats.gov.cn/) - View the latest data releases
- Central bank official website (http://www.pbc.gov.cn/) - Monetary policy, interest rates, liquidity data
- CSRC official website (http://www.csrc.gov.cn/) - Regulatory policy
News and information:
- Cailianshe (https://www.cls.cn/) - Real-time financial news
- Wallstreetcn (https://wallstreetcn.com/) - Market information
4. Organize and integrate
Organize the collected data according to the following structure:
【过去24小时宏观数据】📊
🌍 国际数据
- [数据名称] [发布值] [预期值] [前值] [影响说明]
💡 [小白向科普解释说明 - 每个指标都必须添加]
🇨🇳 国内数据
- [数据名称] [发布值] [预期值] [前值] [影响说明]
💡 [小白向科普解释说明 - 每个指标都必须添加]
📜 政策动态
- [政策标题] - [简要说明]
📰 重要资讯
- [新闻标题] - [简要说明]
Popular science explanation rules (mandatory):
-
Every indicator must have a popular science explanation added, no exceptions
-
Priority of sources for popular science explanations:
- First priority: look for an existing explanation in references/indicators.md
- Second: if it cannot be found, execute the "Unknown Indicator Handling" process
-
Format requirements for popular science explanations:
💡 [指标名]:[一句话定义] - 为什么重要:[简短说明] - 怎么看:[正常范围/关键阈值] -
For important data changes, add additional interpretation:
- Above expectations: Why is it above expectations? What impact does it have on the market?
- Below expectations: What problem does it reflect? How might policy respond?
Unknown Indicator Handling Process
When encountering an indicator that is not in references/indicators.md:
-
Multi-source search verification Use the browser tool to search for the indicator and visit multiple sources:
- Search 1: "[indicator name] what does it mean"
- Search 2: "[indicator name] economic indicator explanation"
- Search 3: "[indicator name] investing.com" or "[indicator name] trading economics"
-
Cross-validation
- Compare explanations from multiple sources to ensure accuracy
- Prefer authoritative sources (central bank official websites, statistics bureaus, well-known financial media)
- Avoid one-sided explanations from a single source
-
Organize popular science content Organize the search results into an easy-to-understand format:
💡 [指标名]:[一句话定义] - 为什么重要:[简短说明] - 怎么看:[正常范围/关键阈值] -
Optional: Update the knowledge base If the indicator is a common indicator, consider adding the explanation to references/indicators.md to avoid repeated searches
5. Push the message
Use the message tool to push the organized report to the user:
Quick access to data sources
Trading Economics Economic Calendar
- URL: https://tradingeconomics.com/calendar
- Focus: High-importance events (marked in red)
- Fields: Time, Country, Event, Actual Value, Forecast Value, Previous Value
National Bureau of Statistics
- URL: http://www.stats.gov.cn/
- Focus: Latest Data Release section
- Key indicators: GDP, CPI, PPI, PMI, Industrial Value Added, Retail Sales of Consumer Goods
Central Bank Official Website
- URL: http://www.pbc.gov.cn/
- Focus: Press releases, policy interpretation
- Key points: LPR interest rate, MLF operations, open market operations, monetary policy report
Notes
- Time filtering: Collect data and news published in the past 24 hours (GMT+8)
- Mandatory explanatory notes: Every indicator must include an explanatory note, with no exceptions
- Importance ranking: High-importance data is displayed first
- Concise and clear: Each entry must not exceed 2 lines, highlighting numerical changes
- Data verification: Compare actual values with forecast values, and mark better-than-expected/worse-than-expected
- Exception handling: If a data source is inaccessible, skip and record it, without affecting other data sources
Cron Configuration
This skill is scheduled through the following cron job:
{
"name": "macro-monitor-daily",
"schedule": {
"kind": "cron",
"expr": "0 22 * * *",
"tz": "Asia/Singapore"
},
"payload": {
"kind": "agentTurn",
"message": "执行宏观数据监控,浏览免费数据源,整理过去24小时发布的宏观数据和政策信息并推送"
},
"sessionTarget": "isolated",
"enabled": true
}
Manual trigger
To manually trigger data collection, send the message:
执行宏观数据监控,浏览免费数据源,整理过去24小时发布的宏观数据和政策信息并推送