SuperAPI AI Directory

macro-monitor

Data & analytics

View repository

Updated 10-15 17:26

About this skill

Macro Data Monitoring Skill

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:

Domestic data:

News and information:

4. Organize and integrate

Organize the collected data according to the following structure:

【过去24小时宏观数据】📊

🌍 国际数据
- [数据名称] [发布值] [预期值] [前值] [影响说明]
  💡 [小白向科普解释说明 - 每个指标都必须添加]

🇨🇳 国内数据
- [数据名称] [发布值] [预期值] [前值] [影响说明]
  💡 [小白向科普解释说明 - 每个指标都必须添加]

📜 政策动态
- [政策标题] - [简要说明]

📰 重要资讯
- [新闻标题] - [简要说明]

Popular science explanation rules (mandatory):

  1. Every indicator must have a popular science explanation added, no exceptions

  2. 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
  3. Format requirements for popular science explanations:

    💡 [指标名]:[一句话定义]
       - 为什么重要:[简短说明]
       - 怎么看:[正常范围/关键阈值]
    
  4. 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:

  1. 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"
  2. 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
  3. Organize popular science content Organize the search results into an easy-to-understand format:

    💡 [指标名]:[一句话定义]
       - 为什么重要:[简短说明]
       - 怎么看:[正常范围/关键阈值]
    
  4. 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

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

  1. Time filtering: Collect data and news published in the past 24 hours (GMT+8)
  2. Mandatory explanatory notes: Every indicator must include an explanatory note, with no exceptions
  3. Importance ranking: High-importance data is displayed first
  4. Concise and clear: Each entry must not exceed 2 lines, highlighting numerical changes
  5. Data verification: Compare actual values with forecast values, and mark better-than-expected/worse-than-expected
  6. 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小时发布的宏观数据和政策信息并推送