Einstein Research — Market Bubble Risk Detector
Evaluates market bubble risk through quantitative, data-driven analysis using a revised Minsky/Kindleberger framework. Prioritizes objective metrics over subjective impressions to prevent confirmation bias and support practical investment decisions.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/clawdiri-ai/einstein-research-bubble-dvMarket Bubble Risk Detector
Overview
This skill evaluates market bubble risk through a quantitative, data-driven analysis based on a revised Minsky/Kindleberger framework. It prioritizes objective metrics over subjective impressions to prevent confirmation bias and support practical investment decisions.
Core Principles:
- Data over Narrative: Relies on measurable data, not just "it feels frothy."
- Composite Score: Generates a score from 0-100 to quantify bubble risk.
- Multi-Factor Model: Incorporates sentiment, valuation, leverage, market structure, and new issuance data.
- Action-Oriented: Provides clear thresholds for tactical adjustments (e.g., raising cash, hedging).
When to Use This Skill
Explicit Triggers:
- "Are we in a stock market bubble?"
- "Analyze the risk of a market crash."
- "Is the market overvalued?"
- "Should I be taking profits?"
- User asks about "bubble risk," "market froth," "irrational exuberance," or "Minsky moment."
Implicit Triggers:
- User expresses anxiety about high valuations or a rapid market run-up.
- User is considering de-risking their portfolio.
Workflow
Step 1: Execute the Data Collection and Analysis Script
The bubble-detector CLI tool automates the entire process.
bubble-detector run
The script performs the following actions:
- Fetches Data: Collects data for each of the 7 quantitative indicators.
- Put/Call Ratio (CBOE)
- VIX Index (CBOE)
- Margin Debt (FINRA)
- Market Breadth (% Stocks > 200d MA)
- IPO Issuance (e.g., from a public data source)
- Retail Volume as % of Total
- Forward P/E Ratio vs. Historical Average
- Normalizes Indicators: For each indicator, it calculates a percentile rank over the last 5 years. A rank of 100 means the indicator is at its most "bubbly" level in 5 years.
- Calculates Composite Score: A weighted average of the normalized indicator scores.
- Sentiment (Put/Call, VIX, Retail Volume): 40%
- Leverage (Margin Debt): 20%
- Market Structure (Breadth): 20%
- Valuation & Issuance (P/E, IPOs): 20%
- Generates Report: Outputs a JSON file and a Markdown summary.
Step 2: Analyze the Report
JSON Output (bubble_report_YYYY-MM-DD.json):
- Contains the raw data, normalized scores for each indicator, and the final composite score.
Markdown Report (bubble_report_YYYY-MM-DD.md):
- Overall Bubble Score: e.g., "78 / 100 (High Risk)"
- Indicator Dashboard: A table showing the current value and normalized score for each of the 7 indicators.
- Key Drivers: Highlights which indicators are contributing most to the high score.
- Historical Context: Compares the current score to levels seen before previous market corrections.
- Recommended Posture: Translates the score into a tactical recommendation.
Interpretation & Recommended Actions
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-clawdiri-ai-einstein-research-bubble-dv": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
Follow-Through Day (FTD) Detector
Detects Follow-Through Day (FTD) signals for market bottom confirmation using William O'Neil's methodology. Dual-index tracking (S&P 500 + NASDAQ) with state machine for rally attempt, FTD qualification, and post-FTD health monitoring. Use when user asks about market bottom signals, follow-through days, rally attempts, re-entry timing after corrections, or whether it's safe to increase equity exposure. Complementary to market-top-detector (defensive) - this skill is offensive (bottom confirmation).
Gumroad Page Generator
Generates Gumroad product page content from a simple spec.
Analytics Tracking
Track events and user behavior using Segment.
AutoSignals - Autonomous Trading Signal Optimization
Monitors and controls the AutoSignals autonomous research loop.
first-principles
Deep first-principles analysis of any topic, decision, strategy, or assumption. Strips inherited thinking, identifies what is provably true, and rebuilds from ground truth. Use when user asks for first principles analysis, wants to challenge assumptions, says "analyze this from scratch", "break this down", "what's really true here", or triggers with /firstprinciples. Also useful for strategic decisions, investment theses, product strategy, career moves, or any situation where conventional wisdom may be wrong.