$npx skillfedfor your agent

correlation-regime

Correlation-regime answers temporal questions about market fusion that snapshots cannot: when assets become highly correlated, what that means for position sizing, which asset moved first in a crisis, and who quietly rewired market relationships. The skill uses edge-density state machines with hysteresis to emit clean regime cycles with few false alarms, validated on eight historical crises across crypto and equities.

Correlation-regime detects when market correlations fuse into one bloc and identifies first-mover crisis triggers through edge-density regime states.

AI-generated summary based on this skill's SKILL.md

28,096 4,557 MITupdated by HKUDS

Decision gist · record as of 2026-07-27

Correlation-regime detects when market correlations fuse into one bloc and identifies first-mover crisis triggers through edge-density regime states. Correlation-regime answers temporal questions about market fusion that snapshots cannot: when assets become highly correlated, what that means for position sizing, which asset moved first in a crisis, and who quietly rewired market relationships. The skill uses edge-density state machines with hysteresis to emit clean regime cycles with few false alarms, validated on eight historical crises across crypto and equities.

manual: git clone https://github.com/HKUDS/Vibe-Trading → cp -r Vibe-Trading/agent/src/skills/correlation-regime ~/.claude/skills/correlation-regime
agent/src/skills/correlation-regime/SKILL.md · version c63ad37e

Use it when

  • Correlation-regime provides regime-aware risk context for position sizing when markets fuse.
  • Correlation-regime identifies which asset moved first in a crisis with honest abstention—it will not claim causality when evidence is.

Verify before relying

Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

HKUDS/Vibe-Trading/correlation-regime · repository language: Python

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How does correlation-regime detect when market correlations spike?

Correlation-regime uses edge-density state machines with hysteresis to track when assets become highly correlated into one bloc. The skill monitors the density of correlation edges across your portfolio and emits clean regime cycles—fusion (high correlation) and defusion (low correlation) states—with few false alarms. This temporal detection answers when correlation spikes occur, not just snapshot correlation values.

What does correlation-regime tell me about position sizing during fused states?

Correlation-regime provides regime-aware risk context for position sizing when markets fuse. During high-correlation regimes, diversification benefits erode, so the skill helps you understand that your portfolio behaves more like a single asset. This awareness lets you adjust position sizes and hedge strategies appropriately for fused market conditions rather than relying on normal-regime assumptions.

Can correlation-regime identify which asset triggered a crisis first?

Correlation-regime identifies which asset moved first in a crisis with honest abstention—it will not claim causality when evidence is unclear. The skill performs crisis attribution by analyzing causal smoothing on correlation matrices, ranking assets by correlation rewiring to catch slow-bleed collapses. When the answer is ambiguous, correlation-regime refrains from false attribution.

How does correlation-regime rank assets by correlation rewiring?

Correlation-regime ranks assets by how quickly their correlation relationships change—the correlation rewiring leaderboard. Assets that shift their correlation patterns earliest during regime transitions appear higher on the ranking. This catches slow-bleed collapses where diversification quietly decays before a full market fusion, helping you spot portfolio fragility before crisis hits.

What historical validation does correlation-regime have?

Correlation-regime has been validated on eight historical crises across crypto and equities. The skill's edge-density state machine approach produces few false alarms while reliably detecting market fusion and defusion cycles. This validation across diverse asset classes and crisis types supports its use for real-time regime detection and portfolio monitoring.

How does correlation-regime monitor portfolio diversification decay?

Correlation-regime monitors portfolio diversification decay through an edge-density state machine that tracks how many correlation edges exist in your portfolio over time. As diversification erodes, edge density rises and the regime shifts toward fusion. The skill's hysteresis prevents whipsaw, giving you stable signals about when your portfolio is genuinely losing diversification benefits.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

Correlation-Regime Detection and Crisis Attribution

Overview

The correlation-analysis skill answers "how correlated are these assets?" — a snapshot. This skill answers the temporal questions a snapshot cannot:

  1. When did the market fuse into one highly-correlated bloc, and when did it release? (Mode 1 — regime detection)
  2. What does a fused regime mean for position sizing? (Mode 2 — risk context)
  3. Who moved first when a crisis broke — is there a nameable trigger asset? (Mode 3 — first-mover attribution)
  4. Who quietly rewired their relationship to the rest of the market, even without a violent move? (Mode 4 — rewiring leaderboard)

The methodology comes from an open-source streaming pipeline (see References) whose public repository pins the regime machinery's

(truncated - see the full file via the links below)

File tree — 1 file
agent/src/skills/correlation-regime/SKILL.md

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Detect when market correlations fuse into one bloc and when they release”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

regime-detection
by agiprolabs · agiprolabs/claude-trading-skills

Regime Detection classifies market conditions across volatility and trend axes to help you choose the right strategy for current conditions. It combines simple approaches like ATR percentiles and ADX with statistical methods including Hurst exponent and change-point detection, with tuning for crypto's faster regime shifts.

MITupdated Jun 2026
★ 248repo stars
garch-volatility-toolkit
by terrylica · terrylica/cc-skills

Build volatility forecasts using GARCH(1,1) and GJR(1,1) models with walk-forward fitting, then apply them to scale positions inversely to risk. The toolkit includes tested recipes for univariate fits, DCC correlation overlays, and position-sizing logic on BTC, ETH, SOL, and AVAX futures data. Results are cost-dependent: GJR vol-scaling works at institutional rates (2bps) but erodes at retail spreads (7bps); DCC de-weighting adds minimal economic value.

MITupdated Jul 2026
★ 58repo stars
feature-engineering
by agiprolabs · agiprolabs/claude-trading-skills

Transform raw market data into stationary, predictive features for crypto trading models. This skill covers price, volume, technical, microstructure, and on-chain feature construction with emphasis on avoiding lookahead bias and ensuring stationarity. Feature quality matters more than model complexity in trading ML.

MITupdated Jun 2026
★ 248repo stars
correlation-analysis
by agiprolabs · agiprolabs/claude-trading-skills

Correlation Analysis helps traders and portfolio managers understand how crypto assets move in tandem across different market conditions. It covers Pearson, Spearman, and Kendall correlation methods, rolling correlation windows for regime detection, hierarchical clustering to group similar assets, and tail dependence analysis to reveal crash co-movement that standard metrics miss. Use it to build diversified portfolios, generate pairs trading signals, and protect against concentration risk.

MITupdated Jun 2026
★ 248repo stars
correlation-analysis
by HKUDS · HKUDS/Vibe-Trading

Correlation-Analysis discovers asset pairs with strong co-movement for pairs trading and hedging through multiple analytical modes: co-movement scanning, deep return correlation studies, sector clustering, and cointegration testing. It computes Pearson, Spearman, and Kendall correlations, rolling dynamics, and spread Z-scores to identify statistically significant relationships.

MITupdated Jul 2026
★ 28,096repo stars
Trading Alert Scheduler Skill
by ScientiaCapital · ScientiaCapital/skills

Trading Alert Scheduler runs a single automated scan each morning before market open, analyzing your watchlist tickers and IBKR positions against regime detection, technical confluence, and options flow to surface high-conviction setups. Position health checks flag expiry risks and margin concerns, while a prioritized digest keeps you informed without intraday distractions.

no license declared → metadata onlyupdated Jul 2026
★ 26repo stars

More skills Indicator Scanner (unlicensed)

Tags
regime-detectioncrisis-attributioncorrelation-dynamicsportfolio-riskmarket-fusioncausal-inferencefirst-mover-analysiscorrelation-rewiringhysteresis-filteringdiversification-collapse