Invest Macro logo

Invest Macro

Community
taxueseek
invest-macro

invest系列:宏观与市场环境分析。评估全球流动性、美股情绪、加密底部信号,判断当前市场环境对风险资产是否友好。 触发:「流动性」「美联储」「缩表」「TGA」「SOFR」「MOVE」「日元套利」「钱紧不紧」「市场环境」 「美股情绪」「NAAIM」「市场过热」「恐惧贪婪」「仓位管理」「市场风险」「比特币抄底」「BTC底部」「MVRV」「抄底」

Overview

Publishertaxueseek
Repositorytaxue-invest
Skill nameinvest-macro
Stars
29
Forks
6
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by taxueseek on GitHub. Read the source before you install it.

Installation

Install the Invest Macro AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/taxueseek/taxue-invest/tree/main/skills/invest-macro
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/taxueseek/taxue-invest.git /tmp/taxue-invest
mkdir -p .claude/skills
cp -r /tmp/taxue-invest/skills/invest-macro .claude/skills/invest-macro
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Invest Macro in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Invest Macro on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Invest Macro is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

invest-macro:宏观与市场环境

市场环境决定大类资产的方向。先看水位,再看情绪,最后看抄底信号。 数据来源见 invest-cli(intent macro / Wind economic_data)或公开检索,时效性强。


场景判断

用户问题激活维度
「流动性」「美联储」「SOFR」「缩表」「钱紧不紧」宏观流动性
「美股情绪」「NAAIM」「市场过热」「恐惧贪婪」美股情绪
「比特币抄底」「BTC底部」「MVRV」加密底部
「市场环境」「市场风险」「仓位管理」全部三个

维度A:宏观流动性(4 大核心指标)

核心公式:净流动性 = 美联储总资产 − TGA 余额 − ON RRP 余额

指标含义信号
美联储净流动性美联储实际注入市场的钱单周下降 >5% → 预警;缓慢下降 → 关注
SOFR 隔夜融资利率银行间资金紧张度突升 → 钱紧
MOVE 美债波动率指数债市动荡程度>120 → 预警
日元套利交易信号USDJPY + 全球风险日元急升 + 美股大跌 → 套利平仓

综合输出:流动性评级(充裕 / 收紧 / 紧张)+ 风险应对建议。


维度B:美股情绪

指标信号
NAAIM 暴露指数>80 机构满仓预警,<40 反向抄底
机构股票配置比例历史极值区域预警
散户净买入额散户狂热往往是顶部信号
标普500 远期市盈率>20 偏高,<15 偏低
对冲基金杠杆率高杠杆增加系统性风险
恐惧贪婪指数>80 极端贪婪(顶区),<20 极端恐慌(反向机会)

综合输出:情绪评级(贪婪 / 正常 / 恐慌)+ 仓位建议(减仓 / 持有 / 加仓)。


维度D:中国经济与周期定位

中国经济核心指标

指标含义信号
PMI(制造业)景气度> 50 扩张,< 50 收缩
CPI通胀2-3% 健康,> 3% 警惕,< 1% 通缩风险
PPI工业价格正转负 → 通缩压力
社融信用扩张增速回升 → 经济企稳
M2货币供应与名义 GDP 增速匹配
工业增加值生产端增速趋势
固定资产投资投资端基建/地产/制造业分项
社零消费端增速趋势

经济周期四阶段

阶段特征资产偏好
复苏PMI 回升,CPI 低,社融扩张股票 > 商品 > 债券 > 现金
过热PMI 高,CPI 上升,政策收紧商品 > 股票 > 现金 > 债券
滞胀PMI 下降,CPI 高,增长停滞现金 > 商品 > 债券 > 股票
衰退PMI 低,CPI 下降,政策宽松债券 > 现金 > 股票 > 商品

周期定位方法:PMI + CPI + 社融三维交叉验证,两个以上指标指向同一阶段即确认。

全球央行政策协调

央行政策工具当前方向对资产影响
美联储利率/缩表___全球流动性锚
欧央行利率/QT___欧元/欧洲资产
日央行YCC/利率___日元套利交易
中国央行MLF/LPR/降准___A 股流动性

维度C:加密底部信号

指标信号
BTC 周线 RSI<30 严重超跌(历史底部区域)
成交量萎缩<30日均量70%,卖压枯竭
MVRV 比率<1 被低估,<0.8 严重低估
恐惧贪婪指数<20 极端恐慌(反向指标)
矿机关机价价格接近关机价 = 底部支撑
长期持有者行为LTH 增持 = 底部吸筹

综合输出:抄底评级(A/B/C/D,A=强烈信号)+ 分批建仓与止损。


输出格式

markdown
# 市场环境分析

[激活维度名称]
━━━━━━━━━━━━━━━━━━━━
指标1:当前值 | 信号 | 简评
指标2:当前值 | 信号 | 简评
...

综合评级:____
关键结论:____
行动建议:____

数据来源:invest-cli(intent macro / Wind economic_data)或公开检索
免责声明:基于公开信息的分析框架,不构成投资建议。

数据获取(invest-cli)

intent macro 优先走 FRED 净流动性结构化通道,无 key 或取数失败自动降级 argo 检索:

bash
# 宏观流动性(FRED:净流动性 = 总资产 − TGA − ON RRP + SOFR;需 FRED_API_KEY,免费注册)
# 无 key 时自动降级 argo nbs_stats;PATH 无 invest-cli 时兜底 python3 "$HOME/.agents/skills/invest-cli/scripts/invest_cli.py"
invest-cli intent macro
# 宏观检索兜底/背景(argo nbs_stats 等引擎池)
# 流动性/宏观经济(Wind economic_data)
invest-cli wind economic_data query_economic_indicator_data --input '{"indicatorCode":""}'

FRED key 配置(免注册费):环境变量 FRED_API_KEY 或 ~/.config/invest-cli/fred.env 写入 FRED_API_KEY=xxx。


与系列技能分工

  • 「分析黄金/白银/原油/债券/可转债/REITs」→ invest-asset
  • 「市场环境/仓位管理」→ invest-macro
  • 「美股个股」→ invest-stock
  • 「资产配置再平衡」→ invest-allocation

核心原则

  1. 环境优先:市场环境决定仓位与进攻性,先判环境再选标的。
  2. 时效第一:流动性与情绪指标是时点数据,取当前值,不用历史值代替。
  3. 不预测单点:输出评级与应对,不预测具体点位。
  4. 指标冲突并列:不同指标信号冲突时并列说明,不强行合并。

invest-macro v1.0 | 宏观流动性 + 美股情绪 + 加密底部

Frequently asked questions

What does the Invest Macro AI skill do?

invest系列:宏观与市场环境分析。评估全球流动性、美股情绪、加密底部信号,判断当前市场环境对风险资产是否友好。 触发:「流动性」「美联储」「缩表」「TGA」「SOFR」「MOVE」「日元套利」「钱紧不紧」「市场环境」 「美股情绪」「NAAIM」「市场过热」「恐惧贪婪」「仓位管理」「市场风险」「比特币抄底」「BTC底部」「MVRV」「抄底」

Why use Invest Macro on TypingMind?

Because you install it once and use it with any model. Invest Macro is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Invest Macro in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/taxueseek/taxue-invest/tree/main/skills/invest-macro. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Invest Macro?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Invest Macro?

As many as you like. As long as a model supports skills, you can use Invest Macro with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Invest Macro AI skill free?

It is published on GitHub by taxueseek. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇