[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F6W9HT2V3HTG2T8FN32787":3,"skill-same:01M7F6W9HT2V3HTG2T8FN32787":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":14,"repositoryHtmlUrl":47,"repositoryHomepageUrl":47,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":49,"install":50,"resources":63},"01M7F6W9HT2V3HTG2T8FN32787","analyzing-tail-risk",null,"Evaluates portfolio tail risk with extreme value theory, expected shortfall, and tail hedge strategies. Use when analyzing tail risk, estimating expected shortfall, or evaluating tail protection.","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Ffinance\u002Fanalyzing-tail-risk\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: analyzing-tail-risk\nlanguage: en\ndescription: Evaluates portfolio tail risk with extreme value theory, expected shortfall, and tail hedge strategies. Use when analyzing tail risk, estimating expected shortfall, or evaluating tail protection.\ntags:\n  - analysis\n  - risk-management\n  - risk\n  - portfolio\nmetadata:\n  author: casemark\n  practice_areas:\n    - Risk Management\n    - Enterprise Risk\n    - Market Risk\n  document_types:\n    - Analysis Report\n  skill_modes:\n    - Analysis\nsource: \"https:\u002F\u002Fgithub.com\u002FCaseMark\u002Fskills\"\nsource_repository: \"CaseMark\u002Fskills\"\nsource_path: \"skills\u002Ffinance\u002Fanalyzing-tail-risk\u002FSKILL.md\"\nlicense: \"Apache-2.0\"\nimported_at: \"2026-09-20\"\n---\n# Analyzing Tail Risk\n\n## When To Use\n\n- Assessing portfolio exposure to extreme market events (crashes, liquidity crises, contagion)\n- Estimating expected shortfall (CVaR) beyond standard VaR thresholds\n- Evaluating whether existing tail hedges (puts, vol overlays, CTA allocations) provide adequate protection\n- Stress-testing portfolio resilience under historical or hypothetical tail scenarios\n- Comparing tail risk profiles across asset classes, strategies, or fund vintages\n\n## Inputs To Gather\n\n- **Return series**: Daily or weekly portfolio and benchmark returns (minimum 5 years; 10+ preferred for EVT fitting)\n- **Confidence levels**: Target quantiles (typically 95%, 99%, 99.5%) and holding period\n- **Portfolio composition**: Asset class weights, factor exposures, concentration metrics\n- **Existing hedges**: Current tail protection instruments, notional sizes, strike levels, expiry dates\n- **Regime context**: Current volatility regime (VIX level, MOVE index), credit spreads, correlation regime\n- **Risk budget**: Maximum acceptable drawdown or expected shortfall threshold set by mandate or IPS\n- **Historical stress events**: Specific scenarios to replay (e.g., GFC 2008, COVID March 2020, LTCM 1998) [VERIFY: confirm which events are relevant to the portfolio's asset universe]\n\n## Workflow\n\n1. **Prepare the return data**\n   - Clean for stale prices, missing observations, and survivorship bias\n   - Compute log returns; assess stationarity and serial correlation\n   - Identify structural breaks that may invalidate a single-distribution assumption\n\n2. **Estimate tail distribution parameters**\n   - Fit a Generalized Pareto Distribution (GPD) to losses exceeding a high threshold (peaks-over-threshold method)\n   - Estimate the tail index (shape parameter xi): xi > 0 indicates heavy tails; higher values mean fatter tails\n   - Cross-validate threshold selection using mean excess plots and parameter stability plots\n   - Compare parametric EVT estimates against historical simulation and filtered historical simulation\n\n3. **Calculate tail risk metrics**\n   - **VaR** at each target confidence level using both parametric EVT and empirical methods\n   - **Expected Shortfall (CVaR)**: average loss conditional on exceeding VaR — report the gap between VaR and ES as a tail severity indicator\n   - **Tail concentration ratio**: contribution of top N positions to portfolio-level ES\n   - **Tail dependence**: estimate bivariate tail dependence coefficients between major holdings using copula methods (Clayton, Gumbel) to flag correlation breakdown risk\n\n4. **Run stress and scenario analysis**\n   - Replay historical tail events with current portfolio weights; report P&L impact\n   - Construct hypothetical scenarios (e.g., +300bp rate shock with equity selloff and credit spread widening)\n   - Reverse stress test: determine what market moves would breach the risk budget\n\n5. **Evaluate tail hedge effectiveness**\n   - Map each existing hedge to the risk factor it protects against\n   - Compute hedge ratio and breakeven: what magnitude of drawdown is needed before the hedge pays off\n   - Estimate bleed\u002Fcarry cost as annualized drag on portfolio returns\n   - Assess gap risk: scenarios where hedges underperform due to basis risk, counterparty risk, or liquidity mismatch\n   - Benchmark tail hedge cost against alternatives (e.g., put spreads vs. outright puts vs. managed vol strategies vs. trend-following allocation)\n\n6. **Synthesize and recommend**\n   - Summarize whether tail risk exposure is within, approaching, or exceeding risk budget\n   - Identify the largest unhedged tail exposures and their drivers\n   - Propose adjustments: rebalancing, adding\u002Fremoving hedges, or adjusting position sizing\n   - Quantify the cost-benefit tradeoff of each recommendation\n\n## Output\n\n- **Executive summary**: Current tail risk posture in 3-5 sentences, including headline ES at the primary confidence level\n- **Tail risk metrics table**: VaR, ES, tail index, and tail concentration at each confidence level\n- **Stress scenario matrix**: P&L estimates across historical and hypothetical scenarios, with and without hedges\n- **Hedge effectiveness scorecard**: Per-hedge cost, payoff profile, and gap risk assessment\n- **Recommendations**: Ranked list of actions with estimated impact on ES and cost\u002Fdrag\n\n## Quality Checks\n\n- Confirm GPD shape parameter is stable across reasonable threshold choices; flag if xi > 0.5 (extremely fat tails may indicate data issues or regime mixing)\n- Verify ES estimates are consistent across methods (parametric EVT, historical, Monte Carlo) — divergence > 20% warrants investigation\n- Ensure tail dependence estimates use sufficient joint extreme observations; small samples produce unreliable copula fits [VERIFY]\n- Check that stress scenarios reflect the portfolio's actual factor exposures, not generic index-level shocks\n- Validate that hedge payoff calculations account for actual contract terms (strike, expiry, margin requirements) rather than idealized assumptions [VERIFY: confirm current hedge positions and terms with portfolio records]\n- Cross-reference tail risk budget thresholds against the governing IPS, fund mandate, or regulatory capital requirements [VERIFY: jurisdiction-specific capital rules — Basel III\u002FIV, Solvency II, etc.]\n","# Analyzing Tail Risk\n\n## When To Use\n\n- Assessing portfolio exposure to extreme market events (crashes, liquidity crises, contagion)\n- Estimating expected shortfall (CVaR) beyond standard VaR thresholds\n- Evaluating whether existing tail hedges (puts, vol overlays, CTA allocations) provide adequate protection\n- Stress-testing portfolio resilience under historical or hypothetical tail scenarios\n- Comparing tail risk profiles across asset classes, strategies, or fund vintages\n\n## Inputs To Gather\n\n- **Return series**: Daily or weekly portfolio and benchmark returns (minimum 5 years; 10+ preferred for EVT fitting)\n- **Confidence levels**: Target quantiles (typically 95%, 99%, 99.5%) and holding period\n- **Portfolio composition**: Asset class weights, factor exposures, concentration metrics\n- **Existing hedges**: Current tail protection instruments, notional sizes, strike levels, expiry dates\n- **Regime context**: Current volatility regime (VIX level, MOVE index), credit spreads, correlation regime\n- **Risk budget**: Maximum acceptable drawdown or expected shortfall threshold set by mandate or IPS\n- **Historical stress events**: Specific scenarios to replay (e.g., GFC 2008, COVID March 2020, LTCM 1998) [VERIFY: confirm which events are relevant to the portfolio's asset universe]\n\n## Workflow\n\n1. **Prepare the return data**\n   - Clean for stale prices, missing observations, and survivorship bias\n   - Compute log returns; assess stationarity and serial correlation\n   - Identify structural breaks that may invalidate a single-distribution assumption\n\n2. **Estimate tail distribution parameters**\n   - Fit a Generalized Pareto Distribution (GPD) to losses exceeding a high threshold (peaks-over-threshold method)\n   - Estimate the tail index (shape parameter xi): xi > 0 indicates heavy tails; higher values mean fatter tails\n   - Cross-validate threshold selection using mean excess plots and parameter stability plots\n   - Compare parametric EVT estimates against historical simulation and filtered historical simulation\n\n3. **Calculate tail risk metrics**\n   - **VaR** at each target confidence level using both parametric EVT and empirical methods\n   - **Expected Shortfall (CVaR)**: average loss conditional on exceeding VaR — report the gap between VaR and ES as a tail severity indicator\n   - **Tail concentration ratio**: contribution of top N positions to portfolio-level ES\n   - **Tail dependence**: estimate bivariate tail dependence coefficients between major holdings using copula methods (Clayton, Gumbel) to flag correlation breakdown risk\n\n4. **Run stress and scenario analysis**\n   - Replay historical tail events with current portfolio weights; report P&L impact\n   - Construct hypothetical scenarios (e.g., +300bp rate shock with equity selloff and credit spread widening)\n   - Reverse stress test: determine what market moves would breach the risk budget\n\n5. **Evaluate tail hedge effectiveness**\n   - Map each existing hedge to the risk factor it protects against\n   - Compute hedge ratio and breakeven: what magnitude of drawdown is needed before the hedge pays off\n   - Estimate bleed\u002Fcarry cost as annualized drag on portfolio returns\n   - Assess gap risk: scenarios where hedges underperform due to basis risk, counterparty risk, or liquidity mismatch\n   - Benchmark tail hedge cost against alternatives (e.g., put spreads vs. outright puts vs. managed vol strategies vs. trend-following allocation)\n\n6. **Synthesize and recommend**\n   - Summarize whether tail risk exposure is within, approaching, or exceeding risk budget\n   - Identify the largest unhedged tail exposures and their drivers\n   - Propose adjustments: rebalancing, adding\u002Fremoving hedges, or adjusting position sizing\n   - Quantify the cost-benefit tradeoff of each recommendation\n\n## Output\n\n- **Executive summary**: Current tail risk posture in 3-5 sentences, including headline ES at the primary confidence level\n- **Tail risk metrics table**: VaR, ES, tail index, and tail concentration at each confidence level\n- **Stress scenario matrix**: P&L estimates across historical and hypothetical scenarios, with and without hedges\n- **Hedge effectiveness scorecard**: Per-hedge cost, payoff profile, and gap risk assessment\n- **Recommendations**: Ranked list of actions with estimated impact on ES and cost\u002Fdrag\n\n## Quality Checks\n\n- Confirm GPD shape parameter is stable across reasonable threshold choices; flag if xi > 0.5 (extremely fat tails may indicate data issues or regime mixing)\n- Verify ES estimates are consistent across methods (parametric EVT, historical, Monte Carlo) — divergence > 20% warrants investigation\n- Ensure tail dependence estimates use sufficient joint extreme observations; small samples produce unreliable copula fits [VERIFY]\n- Check that stress scenarios reflect the portfolio's actual factor exposures, not generic index-level shocks\n- Validate that hedge payoff calculations account for actual contract terms (strike, expiry, margin requirements) rather than idealized assumptions [VERIFY: confirm current hedge positions and terms with portfolio records]\n- Cross-reference tail risk budget thresholds against the governing IPS, fund mandate, or regulatory capital requirements [VERIFY: jurisdiction-specific capital rules — Basel III\u002FIV, Solvency II, etc.]\n",{"name":5,"tags":24,"source":29,"license":15,"language":30,"metadata":31,"description":7,"imported_at":41,"source_path":42,"source_repository":43},[25,26,27,28],"analysis","risk-management","risk","portfolio","https:\u002F\u002Fgithub.com\u002FCaseMark\u002Fskills","en",{"author":32,"skill_modes":33,"document_types":35,"practice_areas":37},"casemark",[34],"Analysis",[36],"Analysis Report",[38,39,40],"Risk Management","Enterprise Risk","Market Risk","2026-09-20","skills\u002Ffinance\u002Fanalyzing-tail-risk\u002FSKILL.md","CaseMark\u002Fskills","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Ffinance\u002Fanalyzing-tail-risk","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill analyzing-tail-risk",{"tool":56,"command":57},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill analyzing-tail-risk",{"tool":59,"command":60},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill analyzing-tail-risk","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Ffinance\u002Fanalyzing-tail-risk\u002FSKILL.md",true,[],[65,73,80,87,94,101],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7FFFZPC2025JQQHPHDX154J","dei-assessment","Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.","MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-assessment\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7FFFWN8H4WA7A6Y398QKB6J","dei-action-plan","Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-action-plan\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7FFFSHTM0QZRVZ2NRJTJ0PY","culture-fit-assessment","Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fculture-fit-assessment\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7FFFMA12RKEQA38KHJSXXPS","cowork-to-code-bridge","Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcowork-to-code-bridge\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M7FFFH1F6M8YRGW5V487GH1K","counter-offer-response","Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcounter-offer-response\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M7FFFDGEHV8Y7J9N40HZXW52","continuous-feedback-system","Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcontinuous-feedback-system\u002FSKILL.md",[],[]]