us-market-bubble-detector

us-market-bubble-detector is a skill for Claude Code from mphinance/alpha-skills. It costs 95 tokens per session (4,909 once invoked), scanned A, a copy of us-market-bubble-detector, MIT.

A market-bubble risk assessment method that uses measures such as volatility, options activity, borrowing by investors, market breadth, and new stock listings. It applies the Minsky-Kindleberger framework, an economic model for how bubbles can form and end.

In plain words
What is it for?
Use it to assess whether the US market may be in a bubble, evaluate risk around buying or selling decisions, and classify the level of bubble risk.
Why use it?
It replaces a judgment based only on headlines or market mood with defined measurements and checks against confirmation bias, the tendency to notice evidence that supports an existing view.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the quant-skills plugin — 60 skills shipped together

Good fit Use it to assess whether the US market may be in a bubble, evaluate risk around buying or selling decisions, and classify the level of bubble risk.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mphinance/alpha-skills/us-market-bubble-detector
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mphinance/alpha-skills --skill us-market-bubble-detector
Clone the repo
git clone --depth 1 https://github.com/mphinance/alpha-skills

Made for: Claude Code.

Or install quant-skills, the plugin that ships this one along with the rest of its 60 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for us-market-bubble-detector

README.md
[![agentmods](https://agentmods.dev/badge/skills/mphinance/alpha-skills/us-market-bubble-detector/github.svg)](https://agentmods.dev/skills/mphinance/alpha-skills/us-market-bubble-detector)
Your own site
<a href="https://agentmods.dev/skills/mphinance/alpha-skills/us-market-bubble-detector"><img src="https://agentmods.dev/badge/skills/mphinance/alpha-skills/us-market-bubble-detector/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for us-market-bubble-detector

Your own site · 80×15
<a href="https://agentmods.dev/skills/mphinance/alpha-skills/us-market-bubble-detector"><img src="https://agentmods.dev/badge/skills/mphinance/alpha-skills/us-market-bubble-detector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,909 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00095 $0.04909
Opus 5.5 $0.00038 $0.01964
Sonnet 5.5 $0.00019 $0.00982
Haiku 4.5 $0.00010 $0.00491

Measured 1mo ago against content hash 920d37cf2afa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

us-market-bubble-detector scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/bubble_scorer.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to us-market-bubble-detector — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/quant-skills/skills/us-market-bubble-detector/SKILL.md · 546 lines

How it starts

The opening of the file, as written. The whole thing — 546 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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氾濫)を観察し懸念を表明
  • 「今回は違う」「革命的技術」などの物語が主流化している状況を報告
  • 保有ポジションのリスク管理方法を相談

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"

Read the full file on GitHub · 546 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 546 lines · 95 tokens per session scan A 920d37cf2afa

Subscribe to this mod's changes

us-market-bubble-detector is a skill published in the GitHub repository mphinance/alpha-skills (28 stars, last pushed 10d ago), licensed MIT. It adds 95 tokens to every session and 4,909 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to us-market-bubble-detector, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

twitter-reader

Read Twitter/X for financial research through opencli: the user's home timeline, tweet search, trending topics, bookmarks, a user's recent tweets, threads, articles, profiles, followers and following, and notifications. Use this skill whenever the user wants to know what people are saying on Twitter/X or fintwit about…

himself65/finance-skills · 110 tokens

energy-procurement

Codified expertise for electricity and gas procurement, tariff optimization, demand charge management, renewable PPA evaluation, and multi-facility energy cost management. Informed by energy procurement managers with 15+ years experience at large commercial and industrial consumers. Includes market structure analysis…

hashgraph-online/awesome-codex-plugins · 93 tokens

airdrop-hunting-guide

Guide to finding and qualifying for crypto airdrops — eligibility criteria, farming strategies, on-chain activity requirements, Sybil detection avoidance, and tracking tools. Use when helping users understand airdrops, check eligibility, or plan participation strategies.

nirholas/three.ws · 54 tokens

china-portfolio-monitoring

A monitoring framework for tracking the financial results, operating measures, strategic milestones, and risks of companies held by China-focused private-equity funds. It uses measures such as revenue growth, margins, debt, cash flow, and return on equity.

jwangkun/claude-for-financial-services-cn · 86 tokens