Install any skill in seconds. Free to start, no credit card required.
Get Started Free →宏观经济数据Skill - 覆盖GDP、CPI、PPI、M2、PMI、LPR利率、人民币汇率等核心宏观指标 via AkShare
.claude/skills/aifinlab-akshare-macro/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-11 | ✗→✓ | ▲ Improved | 47% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 4% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 43% | 0% |
| case-01 | ✗→✓ | ▲ Improved | 88% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 85% | 0% |
| 属性 | 内容 | |:---|:---| | 名称 | akshare-macro | | 版本 | 1.1.0 | | 分类 | 宏观数据 | | 状态 | ✅ 已上线 | | 维护者 | FinClaw Core Team | | 最后更新 | 2026-03-19 |
宏观经济数据Skill,提供中国及全球主要经济体的核心宏观指标,包括GDP、CPI、PPI、M2、PMI、利率、汇率等。支持经济周期判断和宏观概览仪表盘。
| 用户输入 | 识别意图 | 调用函数 | |:---|:---|:---| | 最新的GDP数据是多少? | macro_gdp | macro_gdp.py | | CPI涨了多少? | macro_cpi | macro_cpi.py | | 查询M2货币供应量 | macro_m2 | macro_m2.py | | 制造业PMI怎么样? | macro_pmi | macro_pmi.py | | LPR利率下调了吗? | macro_rate | macro_rate.py | | 看一下宏观概览 | macro_summary | macro_summary.py |
| 数据类型 | 主要来源 | 备用来源 | 认证要求 | |:---|:---|:---|:---:| | GDP/CPI/PPI | AkShare-国家统计局 | - | 无需 | | M2货币供应量 | AkShare-中国人民银行 | - | 无需 | | PMI | AkShare-国家统计局 | - | 无需 | | LPR利率 | AkShare-央行 | - | 无需 | | 人民币汇率 | AkShare-央行/外汇局 | - | 无需 |
bash python scripts/macro_gdp.py
bash python scripts/macro_cpi.py
bash python scripts/macro_ppi.py
bash python scripts/macro_m2.py
bash python scripts/macro_pmi.py
bash python scripts/macro_rate.py
bash python scripts/macro_summary.py
| 脚本名 | 功能 | 入口点 | |:---|:---|:---:| | macro_gdp.py | GDP季度/年度数据 | ✅ | | macro_cpi.py | CPI通胀数据 | ✅ | | macro_ppi.py | PPI生产者物价 | ✅ | | macro_m2.py | M2货币供应量 | ✅ | | macro_pmi.py | 制造业PMI | ✅ | | macro_rate.py | LPR利率/人民币汇率 | ✅ | | macro_summary.py | 宏观概览仪表盘 | ✅ |
| 字段 | 说明 | |:---|:---| | quarter | 季度(如2026Q1) | | gdp | GDP累计值(亿元) | | gdp_yoy | GDP同比增长(%) | | gdp_qoq | GDP环比增长(%) |
| 字段 | 说明 | |:---|:---| | date | 日期 | | cpi | CPI同比(%) | | cpi_mom | CPI环比(%) | | core_cpi | 核心CPI(%) |
| 字段 | 说明 | |:---|:---| | date | 日期 | | m2 | M2余额(万亿元) | | m2_yoy | M2同比增长(%) | | m1_yoy | M1同比增长(%) | | m0_yoy | M0同比增长(%) |
基于GDP+CPI+PMI综合判断经济周期阶段:
| 周期阶段 | GDP | CPI | PMI | 特征 | |:---|:---:|:---:|:---:|:---| | 复苏期 | ↑ | ↓ | >50 | 经济触底回升,通胀低位 | | 过热期 | ↑ | ↑ | >50 | 经济高增长,通胀上行 | | 滞胀期 | ↓ | ↑ | <50 | 经济放缓,通胀高企 | | 衰退期 | ↓ | ↓ | <50 | 经济收缩,通缩风险 |
bash# GDP数据 python scripts/macro_gdp.py # CPI通胀 python scripts/macro_cpi.py # M2货币供应 python scripts/macro_m2.py # 制造业PMI python scripts/macro_pmi.py # LPR利率 python scripts/macro_rate.py # 宏观概览 python scripts/macro_summary.py
本Skill所有输出数据将按以下格式标注来源:
markdown--- 📊 **数据来源**: AkShare-国家统计局/中国人民银行 ⏱️ **数据时间**: 2026-03-19 10:30:15 📌 **报告期**: 2026年2月 🔗 **原始来源**: http://www.stats.gov.cn / http://www.pbc.gov.cn 🔧 **分析工具**: FinClaw v1.0
akshare>=1.10.0
pandas>=1.3.0
pyyaml>=5.4.0| 指标 | 发布频率 | 发布时间 | |:---|:---:|:---| | GDP | 季度 | 季后15-20日 | | CPI/PPI | 月度 | 每月9-10日 | | M2/M1 | 月度 | 每月10-15日 | | PMI | 月度 | 每月月底 | | LPR | 月度 | 每月20日 |
| 指标 | 目标值 | 当前值 | |:---|:---:|:---:| | 数据更新延迟 | < 48小时 | ~24小时 | | 可用性 | > 95% | 98% | | 数据准确率 | > 98% | 99% |
| 版本 | 日期 | 变更内容 | |:---|:---:|:---| | 1.1.0 | 2026-03-19 | 符合FinClaw数据规范v1.0,新增数据来源强制标注、经济周期判断 | | 1.0.0 | 2026-03-13 | 初始版本 |
finclaw/config/data_source_config.yaml本Skill遵循 FinClaw 数据规范 v1.0 | 数据来源强制标注 | 禁止训练数据编造
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-11 | fail→pass | 10,166 | 2,774 | -73% | 1 | 1 | 0% | 1,940 | 2,845 | +47% | 0 | 0 | — |
case-12 | fail→pass | 18,498 | 2,877 | -84% | 1 | 1 | 0% | 2,771 | 2,869 | +4% | 0 | 0 | — |
case-10 | fail→pass | 13,114 | 3,376 | -74% | 1 | 1 | 0% | 1,951 | 2,797 | +43% | 0 | 0 | — |
case-01 | fail→pass | 26,902 | 30,754 | +14% | 1 | 1 | 0% | 3,703 | 6,977 | +88% | 0 | 0 | — |
case-02 | fail→pass | 15,886 | 13,908 | -12% | 1 | 1 | 0% | 2,535 | 4,684 | +85% | 0 | 0 | — |
case-03 | fail→fail | 14,247 | 10,280 | -28% | 1 | 1 | 0% | 2,748 | 2,984 | +9% | 0 | 0 | — |
case-04 | pass→pass | 7,339 | 6,332 | -14% | 1 | 1 | 0% | 1,059 | 3,425 | +223% | 0 | 0 | — |
case-05 | pass→pass | 5,413 | 7,517 | +39% | 1 | 1 | 0% | 811 | 3,314 | +309% | 0 | 0 | — |
case-06 | pass→pass | 5,744 | 4,418 | -23% | 1 | 1 | 0% | 880 | 3,141 | +257% | 0 | 0 | — |
case-07 | pass→pass | 7,312 | 6,269 | -14% | 1 | 1 | 0% | 1,129 | 3,517 | +212% | 0 | 0 | — |
case-08 | fail→pass | 13,965 | 2,226 | -84% | 1 | 1 | 0% | 2,112 | 2,703 | +28% | 0 | 0 | — |
case-09 | fail→pass | 13,912 | 4,219 | -70% | 1 | 1 | 0% | 2,221 | 2,959 | +33% | 0 | 0 | — |
case-13 | fail→pass | 12,802 | 3,513 | -73% | 1 | 1 | 0% | 2,002 | 2,810 | +40% | 0 | 0 | — |
case-14 | pass→pass | 13,377 | 5,099 | -62% | 1 | 1 | 0% | 2,520 | 3,251 | +29% | 0 | 0 | — |
case-15 | pass→pass | 4,078 | 2,902 | -29% | 1 | 1 | 0% | 707 | 2,799 | +296% | 0 | 0 | — |
case-16 | fail→pass | 7,928 | 3,995 | -50% | 1 | 1 | 0% | 1,062 | 2,969 | +180% | 0 | 0 | — |
case-17 | pass→pass | 8,501 | 2,951 | -65% | 1 | 1 | 0% | 1,470 | 2,891 | +97% | 0 | 0 | — |
case-18 | fail→pass | 13,260 | 8,094 | -39% | 1 | 1 | 0% | 2,348 | 3,770 | +61% | 0 | 0 | — |
case-19 | fail→fail | 12,400 | 26,051 | +110% | 1 | 1 | 0% | 2,151 | 6,268 | +191% | 0 | 0 | — |
case-20 | fail→fail | 14,348 | 17,707 | +23% | 1 | 1 | 0% | 2,329 | 5,572 | +139% | 0 | 0 | — |
case-21 | fail→pass | 17,087 | 7,340 | -57% | 1 | 1 | 0% | 2,792 | 3,578 | +28% | 0 | 0 | — |
case-22 | fail→pass | 12,440 | 4,657 | -63% | 1 | 1 | 0% | 2,240 | 2,995 | +34% | 0 | 0 | — |
case-23 | fail→pass | 6,493 | 2,531 | -61% | 1 | 1 | 0% | 682 | 2,870 | +321% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 23 cases were attempted, and 22 counted toward the lift figure. The other 1 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +57 percentage points is the difference between those two pass rates over the 22 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.