Performs rigorous verification of financial regimes, stress tests, and data parity.

Install

mkdir -p .claude/skills/verify-regime && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14641" && unzip -o skill.zip -d .claude/skills/verify-regime && rm skill.zip

Installs to .claude/skills/verify-regime

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Level 5 verification: regime conditioning tests across VIX regimes, stress event validations (March 2020, February 2018), and A-B data source comparisons. Runs after verify-empirical passes.
190 charsno explicit “when” trigger
Advanced

Key capabilities

  • Test parity deviation by VIX regime
  • Test backtest performance by VIX regime
  • Check VRP signal behavior across regimes
  • Validate regime transitions
  • Validate specific stress events like COVID crash
  • Compare FRED VIXCLS and CBOE VIX historical data

How it works

The skill runs pytest on regime tests, which check VIX-based thresholds for expected behavior in different market regimes and validates specific historical stress events. It also compares data sources.

Inputs & outputs

You give it
Regime labels in `data/computed/regime_labels.csv`
You get back
Test results indicating parity deviation, backtest performance, VRP signal, and data source consistency

When to use verify-regime

  • Validating regime-based strategies
  • Testing performance in market stress
  • Comparing financial data sources

About this skill

Verify Regime — Level 5

Command

uv run pytest tests/regime/ -v

Regime definitions

VIX-based thresholds applied to data/computed/regime_labels.csv:

RegimeVIX rangeExpected behavior
Low< 12Small parity deviations, positive VRP
Normal12–20Baseline results hold
Elevated20–30Wider deviations, VRP signal noisy
Crisis> 30Large parity deviations, VRP may flip

What regime tests check

  • Parity deviation by regime — crisis deviation > normal deviation (statistically)
  • Backtest performance by regime — strategy Sharpe higher in normal than crisis
  • VRP signal — positive mean in low/normal; check sign in elevated/crisis
  • Regime transition — no artificial jumps at threshold boundaries

Stress event validations

Specific dates that must show expected behavior:

EventDateExpected
COVID crash2020-03-16VIX > 80, parity deviation > 2%
VIX spike2018-02-05VIX > 37, large call/put spread widening
GFC2008-10-10If in sample: VIX > 70

A-B data source comparison

FRED VIXCLS vs CBOE VIX historical should match within 0.01 vol points. Run: pytest tests/regime/test_source_comparison.py -v

Current status

tests/regime/ and data/computed/regime_labels.csv aren't built yet. Depends on the data-computed skill producing regime labels from VIX thresholds.

When not to use it

  • When `verify-empirical` has not passed
  • When not testing across VIX regimes
  • When not validating stress events

Limitations

  • The skill depends on `data-computed` skill producing regime labels
  • The stress event validation is limited to specific dates like 2020-03-16 and 2018-02-05
  • The data source comparison is limited to FRED VIXCLS vs CBOE VIX historical data

How it compares

This skill provides a structured, automated way to verify financial models against specific market conditions and historical events, unlike manual data analysis.

Compared to similar skills

verify-regime side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
verify-regime (this skill)03moReviewAdvanced
backtesting-frameworks172moNo flagsAdvanced
backtesting-trading-strategies101moReviewIntermediate
llm-evaluation62moNo flagsAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

backtesting-frameworks

wshobson

Build robust backtesting systems for trading strategies with proper handling of look-ahead bias, survivorship bias, and transaction costs. Use when developing trading algorithms, validating strategies, or building backtesting infrastructure.

17126

backtesting-trading-strategies

jeremylongshore

Backtest crypto and traditional trading strategies against historical data. Calculates performance metrics (Sharpe, Sortino, max drawdown), generates equity curves, and optimizes strategy parameters. Use when user wants to test a trading strategy, validate signals, or compare approaches. Trigger with phrases like "backtest strategy", "test trading strategy", "historical performance", "simulate trades", "optimize parameters", or "validate signals".

1071

llm-evaluation

wshobson

Implement comprehensive evaluation strategies for LLM applications using automated metrics, human feedback, and benchmarking. Use when testing LLM performance, measuring AI application quality, or establishing evaluation frameworks.

671

evaluating-llms-harness

davila7

Evaluates LLMs across 60+ academic benchmarks (MMLU, HumanEval, GSM8K, TruthfulQA, HellaSwag). Use when benchmarking model quality, comparing models, reporting academic results, or tracking training progress. Industry standard used by EleutherAI, HuggingFace, and major labs. Supports HuggingFace, vLLM, APIs.

337

data-quality-frameworks

wshobson

Implement data quality validation with Great Expectations, dbt tests, and data contracts. Use when building data quality pipelines, implementing validation rules, or establishing data contracts.

628

ab-test-setup

sickn33

Structured guide for setting up A/B tests with mandatory gates for hypothesis, metrics, and execution readiness.

414

Search skills

Search the agent skills registry