← 返回 Skills 市场
clawdiri-ai

Einstein Research — Market Bubble Risk Detector

作者 RunByDaVinci · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
135
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install einstein-research-bubble-dv
功能描述
Evaluates market bubble risk through quantitative, data-driven analysis using a revised Minsky/Kindleberger framework. Prioritizes objective metrics over sub...
使用说明 (SKILL.md)

Market 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:

  1. 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
  2. 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.
  3. 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%
  4. 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

The composite score maps to specific risk postures:

  • 0-40 (Low Risk - "Accumulate"):

    • Characteristics: Fear is high, valuations are reasonable, leverage is low.
    • Action: A good time to be deploying capital and taking on risk.
  • 41-60 (Moderate Risk - "Cautious Accumulation"):

    • Characteristics: Market is healthy but not cheap. Some signs of optimism are emerging.
    • Action: Continue to invest, but perhaps with a greater focus on quality.
  • 61-80 (High Risk - "Hold & Hedge"):

    • Characteristics: Greed is prevalent, valuations are stretched, breadth may be narrowing.
    • Action: Hold existing positions, but stop new aggressive buying. Consider adding hedges (e.g., puts) or raising a small amount of cash.
  • 81-100 (Very High Risk - "Distribute & Protect"):

    • Characteristics: Euphoria, extreme valuations, high leverage, widespread speculation.
    • Action: Systematically take profits from high-beta positions. Raise significant cash (e.g., 20-40%). Actively hedge the remaining portfolio. This is the time to be selling to the optimists.

Important Considerations

  • Not a Timing Tool: This skill indicates when risk is high, not the exact top of the market. Bubbly conditions can persist for months.
  • Context is Key: Always present the score in the context of the underlying indicators. A high score driven by stretched valuations is different from one driven by extreme sentiment.
  • No Panicking: The goal is to make small, rational adjustments to risk exposure, not to sell everything in a panic.
安全使用建议
This package appears internally consistent and implements a public-data, quantitative bubble detector. Before you run it: 1) review the script file (scripts/bubble_scorer.py) to confirm there are no hidden network endpoints or unexpected behavior (the repository references multiple script/CLI names — bubble-detector, bubble_detector.py, bubble_scorer.py — so verify the actual runnable entrypoint). 2) Install dependencies in a sandbox or virtual environment (pip install yfinance requests pandas) and run the script with limited privileges. 3) Be aware the tool fetches public internet data (Google Trends, CBOE, FINRA, etc.) — confirm your environment permits that and that no private credentials are accidentally used. 4) If you plan to integrate with paid/private APIs, supply only the minimal credentials needed and audit any code changes. Overall: coherent and expected for its stated purpose, but do the routine code review and run in a controlled environment due to the presence of executable script files.
功能分析
Type: OpenClaw Skill Name: einstein-research-bubble-dv Version: 0.1.0 The skill bundle is a comprehensive market analysis tool designed to evaluate financial bubble risks using the Minsky/Kindleberger framework. The core logic in 'scripts/bubble_scorer.py' is a safe, standalone Python script that processes numerical indicators to produce a risk score without any network calls, file system modifications, or dangerous execution sinks (like eval or os.system). The instructions in 'SKILL.md' and 'references/implementation_guide.md' are strictly aligned with the stated purpose, guiding the AI agent to collect market data via standard search tools and apply objective scoring criteria. No indicators of data exfiltration, malicious prompt injection, or unauthorized persistence were found.
能力评估
Purpose & Capability
The name, description, and documentation all describe a data-driven bubble detector and the requested actions (fetch public market/sentiment data, compute scores, output JSON/Markdown) match that purpose. Minor inconsistency: documentation and examples refer to several entry points (bubble-detector CLI, scripts/bubble_detector.py, and the repository actually contains scripts/bubble_scorer.py). This looks like sloppy naming/version drift rather than a mismatch in required privileges or unrelated credentials.
Instruction Scope
SKILL.md and the implementation guide give a bounded, explicit workflow: collect specific public indicators (CBOE, VIX, FINRA, Google Trends, IPO stats), normalize, weight, and output a report. It instructs use of web_search/HTTP calls and public data APIs — appropriate for the stated task. There are no instructions to read unrelated user files, system credentials, or to exfiltrate private data. The skill requires network access to public sources (explicitly listed).
Install Mechanism
There is no install spec (instruction-only style) and included README lists normal Python dependencies (yfinance, requests, pandas). No downloads from untrusted URLs or archive extraction steps are present. The lack of an install step reduces risk, but the code is present and would run locally if invoked.
Credentials
The skill declares no required environment variables, no credentials, and no configuration paths. That is proportionate: the design uses public data sources and common Python libraries. The documentation explicitly states 'No API keys required.' If you plan to adapt the code to use paid APIs, additional credentials would be needed but are not requested here.
Persistence & Privilege
The skill is not marked always:true and uses normal autonomous invocation semantics. It does not request to modify other skills or system-wide settings. The skill includes a runnable script (local), which will run only when invoked — standard for this category.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install einstein-research-bubble-dv
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /einstein-research-bubble-dv 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release
元数据
Slug einstein-research-bubble-dv
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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 sub... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 135 次。

如何安装 Einstein Research — Market Bubble Risk Detector?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install einstein-research-bubble-dv」即可一键安装,无需额外配置。

Einstein Research — Market Bubble Risk Detector 是免费的吗?

是的,Einstein Research — Market Bubble Risk Detector 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Einstein Research — Market Bubble Risk Detector 支持哪些平台?

Einstein Research — Market Bubble Risk Detector 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Einstein Research — Market Bubble Risk Detector?

由 RunByDaVinci(@clawdiri-ai)开发并维护,当前版本 v0.1.0。

💬 留言讨论