Modeling portfolio risk decomposition

From CaseMark/skills · View interactive version

Modeling portfolio risk decomposition is an AI agent skill from the GitHub repository CaseMark/skills. Decomposes portfolio risk with factor attribution, idiosyncratic risk, and marginal contribution to risk analysis. Use when decomposing portfolio risk, attributing risk sources, or analyzing factor risk contribution.

How to use this skill

Skill file

Modeling Portfolio Risk Decomposition

When To Use

Inputs To Gather

Workflow

  1. Assemble the covariance structure
  1. Compute total portfolio variance
  1. Decompose into systematic and idiosyncratic
  1. Factor-level risk attribution
  1. Marginal contribution to risk (MCTR)
  1. Active risk decomposition (if benchmark provided)
  1. Sensitivity and stress analysis

Output

Quality Checks

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.