SkillsGrove
SkillsGrove/Documentos de escritório/MinjieDING/macro-desk/macro-desk

macro-desk

Instalação

$npx skills add https://github.com/MinjieDING/macro-desk --skill macro-desk
$git clone --depth 1 https://github.com/MinjieDING/macro-desk.git /tmp/macro-desk && mkdir -p ~/.claude/skills && cp -r /tmp/macro-desk/. ~/.claude/skills/macro-desk
Por favor, instale esta Agent Skill para mim: https://github.com/MinjieDING/macro-desk/tree/78d17b534a3608569fe35f483e5e7907d13cdc9f/. Leia primeiro o SKILL.md e os scripts, e só a instale na minha pasta de skills depois de confirmar que é segura.

Resumo

Descrição original · MITDrafts China macro research notes in a sell-side style: checks a release calendar, writes data previews/comments with live numbers when possible, decides whether a thematic note is warranted from news, and produces a domestic weekly brief. Use when the user says 今日宏观, 写研报, 数据点评, 宏观周报, 主题时评, macro-desk, or asks to automate China macro briefs.
O SKILL.md abaixo é reproduzido de MinjieDING/macro-desk (commit 78d17b5) sob a licença MIT. O texto não foi alterado; apenas os metadados do cabeçalho do arquivo foram omitidos, as imagens são exibidas como links e arquivos muito longos são truncados. Copyright 2026 Macro Desk contributors. Licença: LICENSE. Apenas o arquivo de instruções é exibido; consulte o repositório original para ver os scripts.

Macro Desk(中国宏观研报草稿台)

把「看日历 → 取数 → 写点评/预览 → 判断是否写时评 → 周一写周报」沉淀成可复用流程。

第一期覆盖三类产物:

  1. 数据预览 / 数据点评
  2. 主题时评(先判断该不该写)
  3. 国内宏观周报

输出始终是 AI 草稿,须人审;禁止编造未取到的数字;不要冒充任何券商研报。

何时启用

用户提到以下任一情况时使用本 skill:

  • 今日宏观 / 跑 macro-desk / macro desk
  • 写研报 / 数据点评 / 宏观周报 / 主题时评
  • 想按中国宏观数据发布节奏自动起草短评

快速流程

按顺序执行,并在回复里保留这份清单:

Macro Desk Progress:
- [ ] 1. Resolve as-of date (default: today Asia/Shanghai)
- [ ] 2. Data calendar → today's jobs (preview / comment / none)
- [ ] 3. Pull numbers (meshare or user-provided); never invent
- [ ] 4. Draft data note(s) if any
- [ ] 5. News scan → thematic gate → draft or skip
- [ ] 6. If Monday (or user asks 周报): draft weekly
- [ ] 7. Write files under AI草稿/YYYY-MM-DD/ + run summary

1. 确定日期

  • 默认:今天(中国时区)
  • 若用户指定日期(如 as-of 2026-06-15),用指定日期

2. 判断今日任务

先读 calendar.md。

再决定今天写什么:

  • 有明确发布:写对应「数据点评」
  • 临近发布(前 3–7 天):写「数据预览」
  • 无数据节点:可以只做新闻扫描;若时评门槛不满足,就只给运行摘要
  • 周一或用户明确要求周报:额外写周报

一次运行可以产出多篇(例如同一天既有 CPI 又有社融)。

3. 取数

优先使用已安装的 meshare:

import meshare as ms

df = ms.macro_china_cpi_monthly()
print(df.tail())

常用映射见 data-apis.md。

如果 meshare 不可用,或接口失败:

  • 仍然按模板写结构
  • 数字处标注 【待核实】
  • 在运行摘要里记录失败原因

4. 写数据稿

写作风格:

  • 先给一句判断,再展开
  • 短、硬、少形容词
  • 明确「今值 / 前值 / 预期」差异(若有)
  • 结尾给 1–3 个后续观察点

5. 新闻与主题时评

风格细节见 style.md。若环境支持网页搜索,扫描近 1–3 天中国/全球宏观新闻。

只有同时满足 至少 2 条 时才写时评:

  1. 可能改变增长、通胀、外需或信用叙事
  2. 可能改变政策松紧判断
  3. 市场已有明显定价反应或分歧
  4. 能落到手册中的某一分析框架
  • 不满足:在 00-运行摘要.md 写 主题时评:今日不写 + 一句原因
  • 满足:读 templates/thematic.md 并起草

6. 周报

在以下任一情况写周报:

  • 用户明确要求
  • 用户说「今日宏观」且当天是周一
  • 用户指定某一周

读 templates/weekly.md,包含:

  1. 一句主线
  2. 本周关键数据
  3. 政策与事件
  4. 极简市场反应
  5. 下周日历

7. 落盘

默认输出到:

{project_root}/宏观研究工作计划/AI草稿/YYYY-MM-DD/

文件命名:

00-运行摘要.md
01-数据预览-{主题}.md
02-数据点评-{主题}.md
03-主题时评-{短标题}.md
04-宏观周报-{YYYYMMDD}.md

没有对应任务就不要创建空文件。

写作风格

  • 先判断,后展开
  • 短、硬、少形容词
  • 明确今值 / 前值 / 预期差(有则写,无则标【待核实】)
  • 结尾给 1–3 个后续观察点
  • 可以参考国内卖方宏观短评结构,但不要冒充任何券商研报

更多风格约束见 style.md。

用户一句话触发

用户说 你做什么
今日宏观 / 跑 macro-desk 完整跑一遍每日流程
写宏观周报 只写周报
写 CPI 点评 / 写 PMI 点评 只写指定数据点评
看看今天要不要写时评 只做新闻扫描与门槛判断

更多材料

Ver o texto completo da licença (MIT)
MIT License

Copyright (c) 2026 Macro Desk contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.