macro-analysis
What it does
This skill reads major economic indicators and central bank moves for China, the United States, and Europe. It is for investors who want to know where the economic cycle stands.
When to use it
- βWhen a new GDP, inflation, or PMI report comes out and you want to understand what it means.
- βWhen you are deciding whether to tilt your investments toward stocks, bonds, or cash.
- βWhen you want to compare economic conditions in China, the US, and Europe.
Skill link
https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/macro-analysis/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βChina's PMI came in below 50 this month. What does that mean for my investments?β
5 new skills a week. 1 minute to read.
How it works
It checks growth, inflation, and monetary indicators against set thresholds. It then places the economy in a cycle stage and suggests which major asset classes may benefit.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Macroeconomic Analysis
Overview
Interprets macroeconomic data and central-bank policy, identifies the current economic-cycle stage, and derives major-asset allocation direction. Covers the three major economies of China (PBOC), the United States (Fed), and Europe (ECB).
Core Indicator System
Growth Indicators
| Indicator | Frequency | Key Threshold | Data Source |
|---|---|---|---|
| GDP YoY | Quarterly | China >5% = normal, <4% = weak | National Bureau of Statistics |
| Manufacturing PMI | Monthly | >50 = expansion, <50 = contraction, 49-51 = borderline | NBS / Caixin |
| Industrial production | Monthly | >5% = normal | National Bureau of Statistics |
| Retail sales | Monthly | >8% = strong consumption | National Bureau of Statistics |
| Fixed asset investment | Monthly | Focus on infrastructure vs real-estate components | National Bureau of Statistics |
Inflation Indicators
| Indicator | Frequency | Key Threshold | Interpretation |
|---|---|---|---|
| CPI YoY | Monthly | >3% = inflation pressure, <0% = deflation risk | Strongly affected by the pork cycle, so core CPI is more reliable |
| PPI YoY | Monthly | >0% = improving corporate profits, <0% = deflation transmission | Leads CPI by 3-6 months |
| Core CPI | Monthly | >2% = demand-driven inflation | Excludes food and energy |
| M2 YoY | Monthly | >10% = monetary easing | The M2-M1 spread reflects how active liquidity is |
Rates and FX
| Indicator | Meaning | Focus |
|---|---|---|
| 1Y / 5Y LPR | Loan prime rate | Rate-cut signal |
| DR007 | Interbank 7-day repo rate | Funding tightness / looseness |
| 10Y government bond yield | Risk-free rate anchor | <2.5% = loose, >3.5% = tight |
| USD/CNY | Exchange rate | >7.3 = high depreciation pressure |
| US 10Y-2Y spread | Term spread | Inversion signals recession (leads by 12-18 months) |
Four-Stage Economic Cycle Model
Merrill Lynch Clock Framework
GDPβ + CPIβ GDPβ + CPIβ
βββββββββββ βββββββββββ
β Recovery β βββββ β Overheatβ
β β β β
ββββββ¬βββββ ββββββ¬βββββ
β β
β β
ββββββ΄βββββ ββββββ΄βββββ
βRecessionβ βββββ βStagflat β
β β β β
βββββββββββ βββββββββββ
GDPβ + CPIβ GDPβ + CPIβ
Asset Performance by Stage
| Stage | Best Asset | Second-Best Asset | Worst Asset | Typical Policy |
|---|---|---|---|---|
| Recovery | Equities (growth / small cap) | Commodities | Bonds | Monetary easing + fiscal stimulus |
| Overheat | Commodities (oil / copper) | Equities (cyclical / value) | Bonds | Hiking cycle begins |
| Stagflation | Cash / short-duration bonds | Gold | Equities | Policy dilemma |
| Recession | Bonds (long duration) | Gold | Equities / commodities | Rate cuts + quantitative easing |
China-Specific Adjustments
- Real-estate cycle: property sales / investment is a core variable in China's economy, and the policy response during downturns determines the turning point
- Infrastructure offset: when property is weak, infrastructure often strengthens (countercyclical adjustment), so track the pace of special-bond issuance
- Export orientation: external demand (US PMI / Eurozone PMI) affects manufacturing conditions
- Policy-driven market: tone-setting from Politburo meetings / the Central Economic Work Conference matters more than the data itself
Central Bank Policy Analysis Framework
Federal Reserve (Fed)
Sequence to watch: FOMC statement β dot plot β Powell speech β meeting minutes
| Signal | Hawkish (tightening) | Dovish (easing) |
|---|---|---|
| Employment | "labor market remains tight" | "softening in labor market" |
| Inflation | "inflation remains elevated" | "inflation moving toward target" |
| Forward guidance | "further tightening may be appropriate" | "rate cuts could be appropriate" |
| Balance sheet | Faster / continued QT | Slower QT / hints of QE |
Fed decision function: core PCE > 2.5% β tightening bias; unemployment > 4.5% β easing bias; when the two conflict, focus on which deviation is larger
People's Bank of China (PBOC)
Toolbox:
| Tool | Signal Strength | Impact |
|---|---|---|
| RRR cut | Strong | Releases long-term liquidity, bullish |
FAQ
What is PMI?
PMI is a monthly survey of manufacturing activity. A reading above 50 means expansion, and a reading below 50 means contraction.
Which economies does it cover?
It covers China, the United States, and Europe, along with their central banks.
Does it predict stock prices?
It gives a macro view for asset allocation. It does not predict exact prices.
Details
Original description by the author
Macroeconomic cycle positioning and central-bank policy interpretation, including GDP/CPI/PMI/rates/FX analysis, with output in the form of major-asset allocation tilts.
repo: HKUDS/Vibe-Trading
Popularity
- GitHub stars
- 37k
- Ranking position
- #7529
- License
- MIT
- Updated
- 11/1/2026
Comments
- β¦
More skills from this repository
vibe-trading
37kGives your agent a full finance research toolkit, covering backtests, factor analysis, options pricing and market data across many markets.
adr-hshare
37kShows your agent how to compare the price of a Chinese company listed in several markets, such as a US ADR and a Hong Kong share.
akshare
37kLets your agent pull free market data for Chinese and global stocks, futures, forex and economic indicators, with no API key needed.
alpha-zoo
37kLets your agent browse a library of ready-made stock factors and test how well a whole set of them predicts returns on a chosen market.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.