Skip to content
Finance
Skill

/us-market-bubble-detector

Evaluates market bubble risk through quantitative data-driven analysis using the revised Minsky/Kindleberger framework v2.1. Prioritizes objective metrics (Put/Call, VIX, margin debt, breadth, IPO data) over subjective impressions. Features strict qualitative adjustment criteria

From plugin
claude-trading-skills
6.9k74 skills2 agents2 commands

Claude Code

$ npx -y skills add tradermonty/claude-trading-skills --skill us-market-bubble-detector --agent claude-code

SKILL.md

us-market-bubble-detector.SKILL.md
name: us-market-bubble-detector
description: Evaluates market bubble risk through quantitative data-driven analysis using the revised Minsky/Kindleberger framework v2.1. Prioritizes objective metrics (Put/Call, VIX, margin debt, breadth, IPO data) over subjective impressions. Features strict qualitative adjustment criteria with confirmation bias prevention. Supports practical investment decisions with mandatory data collection and mechanical scoring. Use when user asks about bubble risk, valuation concerns, or profit-taking timing.

US Market Bubble Detection Skill (Revised v2.1)

Key Revisions in v2.1

**Critical Changes from v2.0:** 1. ✅ **Mandatory Quantitative Data Collection** - Use measured values, not impressions or speculation 2. ✅ **Clear Threshold Settings** - Specific numerical criteria for each indicator 3. ✅ **Two-Phase Evaluation Process** - Quantitative evaluation → Qualitative adjustment (strict order) 4. ✅ **Stricter Qualitative Criteria** - Max +3 points (reduced from +5), requires measurable evidence 5. ✅ **Confirmation Bias Prevention** - Explicit checklist to avoid over-scoring 6. ✅ **Granular Risk Phases** - Added "Elevated Risk" phase (8-9 points) for nuanced risk management

---

When to Use This Skill

Use this skill when:

**English:**

  • User asks "Is the market in a bubble?" or "Are we in a bubble?"
  • User seeks advice on profit-taking, new entry timing, or short-selling decisions
  • User reports social phenomena (non-investors entering, media frenzy, IPO flood)
  • User mentions narratives like "this time is different" or "revolutionary technology" becoming mainstream
  • User consults about risk management for existing positions

**Japanese:**

  • ユーザーが「今の相場はバブルか?」と尋ねる
  • 投資の利確・新規参入・空売りのタイミング判断を求める
  • 社会現象(非投資家の参入、メディア過熱、IPO氾濫)を観察し懸念を表明
  • 「今回は違う」「革命的技術」などの物語が主流化している状況を報告
  • 保有ポジションのリスク管理方法を相談

---

Prerequisites

  • **API keys:** None required. The user provides the indicator values as input.
  • **Python:** 3.9+ with the standard library only for the bundled `bubble_scorer.py` (see `requirements.txt`).
  • **Inputs:** Measured indicator values supplied by the user or collected from the sources under Data Sources. Phase 1 requires measured data, not impressions.

---

Evaluation Process (Strict Order)

Phase 1: Mandatory Quantitative Data Collection

**CRITICAL: Always collect the following data before starting evaluation**

1.1 Market Structure Data (Highest Priority)

□ Put/Call Ratio (CBOE Equity P/C)
  - Source: CBOE DataShop or web_search "CBOE put call ratio"
  - Collect: 5-day moving average

□ VIX (Fear Index)
  - Source: Yahoo Finance ^VIX or web_search "VIX current"
  - Collect: Current value + percentile over past 3 months

□ Volatility Indicators
  - 21-day realized volatility
  - Historical position of VIX (determine if in bottom 10th percentile)

1.2 Leverage & Positioning Data

□ FINRA Margin Debt Balance
  - Source: web_search "FINRA margin debt latest"
  - Collect: Latest month + Year-over-Year % change

□ Breadth (Market Participation)
  - % of S&P 500 stocks above 50-day MA
  - Source: web_search "S&P 500 breadth 50 day moving average"

1.3 IPO & New Issuance Data

□ IPO Count & First-Day Performance
  - Source: Renaissance Capital IPO or web_search "IPO market 2025"
  - Collect: Quarterly count + median first-day return

**⚠️ CRITICAL: Do NOT proceed with evaluation without Phase 1 data collection**

---

Phase 2: Quantitative Evaluation (Quantitative Scoring)

Score mechanically based on collected data using the following criteria:

Indicator 1: Put/Call Ratio (Market Sentiment)

Scoring Criteria:
- 2 points: P/C < 0.70 (excessive optimism, call-heavy)
- 1 point: P/C 0.70-0.85 (slightly optimistic)
- 0 points: P/C > 0.85 (healthy caution)

Rationale: P/C < 0.7 is historically characteristic of bubble periods

Indicator 2: Volatility Suppression + New Highs

Scoring Criteria:
- 2 points: VIX < 12 AND major index within 5% of 52-week high
- 1 point: VIX 12-15 AND near highs
- 0 points: VIX > 15 OR more than 10% from highs

Rationale: Extreme low volatility + highs indicates excessive complacency

Indicator 3: Leverage (Margin Debt Balance)

Scoring Criteria:
- 2 points: YoY +20% or more AND all-time high
- 1 point: YoY +10-20%
- 0 points: YoY +10% or less OR negative

Rationale: Rapid leverage increase is a bubble precursor

Indicator 4: IPO Market Overheating

Scoring Criteria:
- 2 points: Quarterly IPO count > 2x 5-year average AND median first-day return +20%+
- 1 point: Quarterly IPO count > 1.5x 5-year average
- 0 points: Normal levels

Rationale: Poor-quality IPO flood is characteristic of late-stage bubbles

Indicator 5: Breadth Anomaly (Narrow Leadership)

Scoring Criteria:
- 2 points: New high AND < 45% of stocks above 50DMA (narrow leadership)
- 1 point: 45-60% above 50DMA (somewhat narrow)
- 0 points: > 60% above 50DMA (healthy breadth)

Rationale: Rally driven by few stocks is fragile

Indicator 6: Price Acceleration

Scoring Criteria:
- 2 points: Past 3-month return exceeds 95th percentile of past 10 years
- 1 point: Past 3-month return in 85-95th percentile of past 10 years
- 0 points: Below 85th percentile

Rationale: Rapid price acceleration is unsustainable

---

Phase 3: Qualitative Adjustment (REVISED v2.1)

**Limit: +3 points maximum (REDUCED from +5 in v2.0)**

**⚠️ CONFIRMATION BIAS PREVENTION CHECKLIST:**

Before adding ANY qualitative points:
□ Do I have concrete, measurable data? (not impressions)
□ Would an independent observer reach the same conclusion?
□ Am I avoiding double-counting with Phase 2 scores?
□ Have I documented specific evidence with sources?

Adjustment A: Social Penetration (0-1 points, STRICT CRITERIA)

+1 point: ALL THREE criteria must be met:
  ✓ Direct user report of non-investor recommendations
  ✓ Specific examples with names/dates/conversations
  ✓ Mul
Read more
@tradermonty
Ships withclaude-trading-skills

Data handling: Privacy policy · Security policy Claude Trading Skills started as a personal project to use AI to improve my own trading process. Claude Trading Skills is a Claude Skills-based trading workflow toolkit for time-constrained individual investors.

6.9k74 skills2 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
6.9k
Star history of tradermonty/claude-trading-skills on GitHub, a chart by star-history.com

Other skills on claude-trading-skills.

More skills from other plugins.

ccxt-cli

ccxt-cli

CCXT command-line interface (ccxt-cli) for interacting with 100+ cryptocurrency exchanges directly from the terminal — no code…

ccxt10d45k
@ccxt@ccxtInstall Skill

Questions about us-market-bubble-detector.

Which coding agents can use us-market-bubble-detector?
us-market-bubble-detector installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.