Economics Analysis logo

Economics Analysis

Community
yennanliu
economics-analysis

Analyze US economic indicators and their impact on markets

Overview

Publisheryennanliu
RepositoryInvestSkill
Skill nameeconomics-analysis
Stars
254
Forks
61
Bundled files
Instructions only
LicenseMIT
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 yennanliu on GitHub. Read the source before you install it.

Installation

Install the Economics Analysis 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/yennanliu/InvestSkill/tree/main/plugins/us-stock-analysis/skills/economics-analysis
  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/yennanliu/InvestSkill.git /tmp/InvestSkill
mkdir -p .claude/skills
cp -r /tmp/InvestSkill/plugins/us-stock-analysis/skills/economics-analysis .claude/skills/economics-analysis
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Economics Analysis 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 Economics Analysis 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 Economics Analysis 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.

US Economics Analysis

⚠️ Data Verification — Do This Before Any Analysis

Before running any analysis, retrieve the latest release of every indicator you use:

  1. Fetch current readings — use web search or ask the user for the latest value and release date of each indicator (FRED, BLS, BEA, ISM, the Fed). Never assume a reading from training data; indicators are revised and re-released on a schedule.
  2. Confirm key figures — the policy rate, the 2s10s spread, the latest CPI/PCE, payrolls and unemployment, and PMI, each with its release date.
  3. State your data source — fill in the Data & Sources header (next section) so the origin, as-of date, retrieval path, and confidence of every figure are explicit at the top of the output.
  4. Flag stale data explicitly — if live data is unavailable, display this warning before proceeding:

⚠️ Live data unavailable. The following analysis uses training-data estimates which may be significantly out of date. Verify all prices and metrics before making any decisions.

Never silently substitute training-data estimates for current prices. When in doubt, ask the user to paste the latest release.


📋 Data & Sources Header — Open Every Output With It

The first thing in the output is this provenance block, filled in — never left as placeholders. It is the standard documented on the Data & Accuracy page and the first thing result-validator looks for:

Data & Sources
  As of:      <date the figures represent, e.g. 2026-06-30>
  Source:     <primary docs — SEC EDGAR 10-K/10-Q, company IR, FRED, exchange data …>
  Retrieval:  <pasted by user | web/tool retrieval | model memory>
  Confidence: <HIGH | MEDIUM | LOW>
  • Retrieval: model memory must be paired with Confidence: LOW — memory is a placeholder until confirmed against a primary source.
  • Mixed sources: list each with its own as-of date rather than blending them.
  • Sources disagree on the same figure (a closing price, a deal term): prefer the primary source (SEC filing, company release, exchange data) over an aggregator, then the most recent dated one. Show both values with their sources and dates, say which you used and why, and never average them.
  • Data the user pasted is reported as pasted by user; do not upgrade its confidence beyond what the user's own source supports.

Analyze US economic conditions and their implications for investment decisions.

Key Economic Indicators

  1. Growth Indicators

    • GDP growth rate and components
    • Employment data (NFP, unemployment rate, jobless claims)
    • Consumer spending and retail sales
    • Manufacturing and services PMI
  2. Inflation Metrics

    • CPI (Consumer Price Index)
    • PCE (Personal Consumption Expenditures)
    • PPI (Producer Price Index)
    • Wage growth trends
  3. Monetary Policy

    • Federal Reserve policy stance
    • Interest rates (Fed Funds rate, Treasury yields)
    • Money supply and bank lending
    • Fed meeting minutes and forward guidance
  4. Market Sentiment

    • Consumer confidence indices
    • Business sentiment surveys
    • Credit spreads and risk indicators
    • Market volatility (VIX)
  5. Fiscal Policy

    • Government spending and stimulus programs
    • Tax policy changes
    • Budget deficit and debt levels

Analysis Framework

  • Identify current economic cycle phase
  • Assess policy implications for different sectors
  • Evaluate recession/expansion risks
  • Determine impact on equity, bond, and commodity markets
  • Provide sector rotation recommendations

Yield Curve Analysis

Key Spreads to Monitor

SpreadDefinitionCurrent1-Year Avg10-Year AvgSignal
2s10s10yr Treasury minus 2yr Treasury
3M10Y10yr Treasury minus 3-Month T-Bill
5s30s30yr Treasury minus 5yr Treasury

3M10Y is the historically strongest recession predictor (NY Fed model is based on this spread).

Yield Curve Shapes

ShapeDescriptionEconomic Implication
Normal (Steep)Long-term rates well above short-term ratesHealthy growth expectations, bank margins expanding
FlatShort and long-term rates near parityLate-cycle signal, growth slowing, Fed near peak
InvertedShort-term rates above long-term ratesRecession warning — markets pricing in rate cuts ahead
Bear SteepeningBoth ends rise, long end rises fasterInflation concern, term premium expanding
Bull SteepeningBoth ends fall, short end falls fasterCutting cycle underway, growth relief expected

Inversion Duration and Recession Lead Time

Historical precedent for 3M10Y inversion:

Inversion DurationHistorical Recession Lead Time
< 3 monthsUnreliable signal
3–6 months12–18 months typically
6–12 months6–15 months typically
> 12 monthsHigh confidence; within 12 months

Rule of thumb: Yield curve uninversion (re-steepening after inversion) is often the more immediate warning — recession tends to arrive shortly after the curve re-steepens from inversion.

Fed Rate Cycle Positioning

  • Hiking Cycle: Fed raising rates — short end rises faster, curve flattens/inverts. Growth stocks under pressure.
  • Pause: Fed on hold — curve stabilizes. Markets watch for pivot signals.
  • Cutting Cycle: Fed reducing rates — short end falls faster, curve steepens. Risk-on environment, cyclicals and growth stocks benefit.

Real Yields (TIPS) Analysis

  • Real Yield = Nominal Treasury Yield − Breakeven Inflation Rate (derived from TIPS)
  • Rising real yields: Tighten financial conditions. Negative for long-duration assets (growth stocks, gold, long bonds).
  • Falling real yields: Easier financial conditions. Positive for growth stocks, gold, emerging markets, long bonds.
  • 10-Year Real Yield thresholds: Below 0% is historically accommodative; above 2% is meaningfully restrictive.
  • Breakeven inflation (5-year, 5-year forward): Market's long-run inflation expectation. Persistently above 2.5% signals inflation concern.

Credit Market Indicators

Investment Grade (IG) Credit Spreads (OAS — Option-Adjusted Spread)

Spread LevelConditionInterpretation
< 100 bpsNormalRisk appetite healthy, credit markets functioning
100–150 bpsCautionStress emerging, watch for tightening conditions
> 150 bpsStressCredit markets seizing, risk-off, watch equities

High Yield (HY) Credit Spreads

Spread LevelConditionInterpretation
< 350 bpsNormalBenign default environment, strong risk appetite
350–500 bpsCautionElevated risk aversion, avoid lower-quality credits
> 500 bpsDistressRecession/financial stress scenario, significant HY risk
> 800 bpsCrisisSystemic credit event risk, similar to 2008/2020 episodes

Rule: HY spreads lead equity markets by 2–4 weeks on average. Widening HY spreads while equities hold = warning signal.

TED Spread

  • Definition: 3-Month LIBOR (now SOFR) minus 3-Month T-Bill yield
  • Measures interbank lending stress and counterparty risk appetite in the banking system
  • Normal: < 50 bps
  • Elevated stress: 50–100 bps
  • Crisis signal: > 100 bps (peaked at ~450 bps during 2008 GFC)

MOVE Index (Bond Market Volatility)

  • Bond market equivalent of VIX — measures implied volatility in US Treasury options
  • Normal: 80–100
  • Elevated: 100–130 (policy uncertainty, high rate volatility)
  • Crisis: > 150 (1994, 2008, 2020, 2023 banking crisis)
  • High MOVE compresses equity valuations by increasing discount rates unpredictably.

Credit as a Leading Indicator

  • IG/HY spread widening before equity weakness is a leading warning (credit sees risk first)
  • Spread compression while equities lag = catch-up potential, constructive signal
  • IG vs. HY divergence: If HY widens but IG holds, idiosyncratic credit stress — watch lower-quality equities
  • Leveraged loan market: CLO issuance and leveraged loan spreads reflect private credit conditions

Global Macro Comparison

Economic Cycle Positioning (US vs. EU vs. China)

EconomyCurrent PhaseGDP GrowthInflationPolicy StanceEquity Implication
United States
Eurozone
China
Japan
UK

Economic cycle phases: Early Expansion → Mid Expansion → Late Expansion → Contraction → Recovery

PMI Comparison Across Major Economies

Country/RegionPMI IndexLast ReadingTrendAbove/Below 50
USISM Mfg
USISM Services
EurozoneMarkit Mfg
EurozoneMarkit Svcs
ChinaCaixin Mfg
ChinaOfficial PMI

Rule: PMI above 50 = expansion; below 50 = contraction. Composite PMI below 48 for 2+ months is recessionary signal.

Central Bank Divergence Analysis

Central BankCurrent RateLast MoveNext Expected MoveCycle Phase
Federal Reserve (Fed)
European Central Bank (ECB)
Bank of Japan (BOJ)
Bank of England (BOE)
People's Bank of China (PBOC)

Divergence signals:

  • Fed tightening while ECB/BOJ easing → USD strengthens, EM currencies weaken
  • Synchronized easing → Global risk-on, EM outperforms, commodities bid
  • BOJ policy normalization → JPY strengthens, unwinds carry trades

Dollar (DXY) Strength and Sector Impact

DXY DirectionUS Multinational EarningsCommoditiesEmerging MarketsDomestic US Small-Caps
Strengthening (rising DXY)Headwind (FX translation)BearishBearish (USD-denominated debt stress)Relative outperform
Weakening (falling DXY)TailwindBullishBullishRelative underperform
  • DXY above 105: Meaningful headwind for S&P 500 multinationals (roughly 40% of S&P revenues are foreign)
  • DXY below 95: Significant tailwind, boosts international earnings in USD terms

Emerging Market Vulnerability Indicators

  • EM FX pressure: Current account deficits + elevated external USD debt = vulnerable to dollar strength
  • EM Debt Stress Index: Sovereign spread widening in EM bonds (EMBI+ spread)
  • Capital outflow risks: Rate differential between US and EM narrows during Fed cutting cycles — can reverse
  • China contagion risk: Property sector stress, credit impulse, and stimulus effectiveness
  • Commodity-exporting EMs: Benefit from commodity supercycles; inversely, hurt by USD strength

Recession Probability Scoring

New York Fed Recession Model

Based on the 3M10Y yield curve spread, the NY Fed publishes a monthly recession probability for the next 12 months.

Probability RangeInterpretation
0–10%Expansion — very low recession risk
10–25%Low risk — monitor indicators
25–50%Elevated — caution warranted
50–75%High risk — recession likely within 12 months
> 75%Near-certain — defensive positioning required

Current NY Fed reading: ____%

Conference Board Leading Economic Index (LEI)

The LEI composite combines 10 leading indicators across financial markets, labor, manufacturing, and consumer expectations.

  • Consecutive monthly declines (3+): Strong recession warning
  • Year-over-year decline > 4%: Historically aligned with recessions
  • LEI component breakdown: Manufacturing hours, building permits, consumer expectations, credit spread, yield curve, stock prices, initial jobless claims

Current LEI trend: Rising / Flat / Declining

Sahm Rule

Sahm Rule Indicator = Current 3-month average unemployment rate minus the minimum of the 3-month average unemployment rate over the prior 12 months.

  • Threshold: ≥ 0.5 percentage points = Real-time recession signal with high historical accuracy
  • Triggered in every US recession since 1970
  • Works in real-time without revision lag that affects other indicators

Current Sahm Indicator reading: ____

Custom Composite Recession Probability

Scoring model combining: Yield curve signal + LEI trend + Sahm Rule + Credit spreads + PMI momentum

ZoneScore RangeInterpretation
Expansion0–25%Risk-on appropriate; cyclicals, growth outperform
Caution25–50%Balanced positioning; reduce cyclical overweights
High Risk50–75%Defensive rotation; increase quality, reduce leverage
Near-Certain75–100%Full defensive posture; cash, defensives, short vol

Historical recession episodes and leading indicators:

RecessionYield Curve InversionLEI DeclineSahm TriggerS&P 500 Peak-to-Trough
2001 (Dot-com)2000YesYes−49%
2008 (GFC)2006–2007YesYes−57%
2020 (COVID)2019YesYes−34%
2022–20232022–2023YesNo (so far)−25% (bear market)

Output

Deliver concise economic assessment with:

  • Current economic state summary
  • Key risks and opportunities
  • Sector and asset class implications
  • Investment positioning recommendations

Standard Signal Output

All analysis concludes with this standardized block:

## Thesis Invalidation

After delivering the analysis signal, specify what would reverse it:

**If signal is BULLISH — thesis breaks if:**
- yield curve inverts >50bps AND leading indicators fall for 3 consecutive months
- [One or two more triggers drawn from this analysis's own drivers, each with a threshold]

**If signal is BEARISH — thesis breaks if:**
- yield curve normalizes AND PMI recovers above 52 for 2+ months
- [One or two more triggers drawn from this analysis's own drivers, each with a threshold]

**Re-run this analysis when:**
- [ ] Next earnings release
- [ ] Price moves ±15% from current level
- [ ] 60 days have elapsed
- [ ] Material news event (acquisition, leadership change, regulatory decision)

╔══════════════════════════════════════════════╗
║              INVESTMENT SIGNAL               ║
╠══════════════════════════════════════════════╣
║ Signal:      BULLISH / NEUTRAL / BEARISH     ║
║ Confidence:  HIGH / MEDIUM / LOW             ║
║ Horizon:     SHORT / MEDIUM / LONG-TERM      ║
║ Score:       X.X / 10                        ║
╠══════════════════════════════════════════════╣
║ Action:      BUY / HOLD / SELL               ║
║ Conviction:  STRONG / MODERATE / WEAK        ║
╚══════════════════════════════════════════════╝

Score Guide: 8.0–10.0 Strongly Bullish | 6.0–7.9 Moderately Bullish | 4.0–5.9 Neutral | 2.0–3.9 Moderately Bearish | 0.0–1.9 Strongly Bearish Confidence: HIGH (strong data, clear signals) | MEDIUM (mixed signals) | LOW (limited data, conflicting signals) Horizon: SHORT-TERM (1 week–3 months) | MEDIUM-TERM (3 months–1 year) | LONG-TERM (1+ years)

Disclaimer: Educational analysis only. Not financial advice.

Frequently asked questions

What does the Economics Analysis AI skill do?

Analyze US economic indicators and their impact on markets

Why use Economics Analysis on TypingMind?

Because you install it once and use it with any model. Economics Analysis 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 Economics Analysis in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/yennanliu/InvestSkill/tree/main/plugins/us-stock-analysis/skills/economics-analysis. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Economics Analysis?

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 Economics Analysis?

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

Is the Economics Analysis AI skill free?

Yes. It is published on GitHub by yennanliu under the MIT license. 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 👇