stress-scenario-design

Design stress scenario workflows for quantitative research with auditable controls.

Updated Feb 10, 2026
One-click install
npx skills add https://github.com/GhostOf0days/codex-quant-skills --skill stress-scenario-design
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stress-scenario-design
Source: https://github.com/GhostOf0days/codex-quant-skills/tree/main/stress-scenario-design
Command: npx skills add https://github.com/GhostOf0days/codex-quant-skills --skill stress-scenario-design

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, argparse, json, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of designing and implementing robust stress scenarios for quantitative finance, ensuring comprehensive risk coverage and capital impact assessment.

Core Features & Use Cases

  • Reproducible Research: Ensures stress scenario design is repeatable and auditable.
  • Automated Diagnostics: Runs predefined scripts to analyze risk metrics and control effectiveness.
  • Controlled Deployment: Implements strict controls for approving scenarios in production.
  • Use Case: A quantitative researcher needs to assess the potential impact of a sudden market crash on a portfolio. This Skill can be used to define the parameters of such a crash, run simulations, and analyze the resulting P&L and risk exposures.

Quick Start

Run the stress scenario design diagnostics script with your input data.

Frequently Asked Questions about stress-scenario-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design stress scenarios for quantitative finance risk assessment?

To design stress scenarios for quantitative finance, you define risk appetite, aggregate exposures, and measure PnL and tail risk under extreme market conditions. This workflow ensures reproducible research and auditable capital impact assessment.

What is the best way to measure capital impact during market stress testing?

Measuring capital impact during market stress testing involves running predefined diagnostic scripts to analyze risk metrics and control effectiveness against extreme scenarios. This approach ensures explicit controls and reproducible PnL measurements for production approval.

Can I use pandas for reproducible stress scenario design workflows?

Yes, you can use pandas for reproducible stress scenario design workflows. This Skill depends on pandas to aggregate exposures, measure tail risk, and investigate control breaches, ensuring your extreme scenario research is repeatable and auditable.

How do I aggregate portfolio exposures and investigate risk appetite breaches?

To aggregate portfolio exposures and investigate risk appetite breaches, you run automated diagnostics scripts that analyze risk metrics against predefined extreme scenarios. This process identifies control breaches and measures resulting PnL and tail risk.

What are the limitations of using automated scripts for extreme scenario coverage?

The limitations of using automated scripts for extreme scenario coverage include the need for strict controls before approving scenarios in production. While diagnostics analyze risk metrics, you must manually ensure explicit controls and auditable deployment outputs.