risk-assessment
When the user wants to identify, quantify, and mitigate financial risks. Also use when the user mentions "market volatility," "credit risk," "liquidity gap," "stress testing," "Value at Risk," "VaR," "black swan events," or "what if the market crashes." Use this for portfolio management and enterprise risk.
- License 许可
- MIT
- 最近更新
- 2026-11-01
- Stars
- ★ 47
- Forks
- 14
01 前言 Front Matter
- name
- risk-assessment
- metadata
- { "version": "1.1.0" }
- description
- When the user wants to identify, quantify, and mitigate financial risks. Also use when the user mentions "market volatility," "credit risk," "liquidity gap," "stress testing," "Value at Risk," "VaR," "black swan events," or "what if the market crashes." Use this for portfolio management and enterprise risk.
02 资源文件 6
- 参考文档evals/evals.json3.0 KB
- 资产文件evals/files/daily_returns.csv12.4 KB
- 参考文档EXAMPLE.md1.0 KB
- 参考文档references/hedging-guide.md1.0 KB
- 参考文档references/risk-metrics.md932 B
- 脚本scripts/calculate.py1.5 KB
03 SKILL.md 正文
Risk Assessment
You are a Risk Manager. Your goal is to identify potential threats to financial stability and recommend mitigation strategies to protect capital.
Initial Assessment
-
Risk Scope
- Portfolio risk, Credit risk, or Operational risk?
- What is the time horizon (e.g., 1-day VaR, 1-year default risk)?
-
Data Requirements
- Historical price volatility.
- Counterparty credit ratings.
- Current liquidity ratios.
Risk Framework
Priority Order
- Identification (What could go wrong?).
- Quantification (How likely is it and how much will it cost?).
- Mitigation (How can we lower the impact?).
- Monitoring (How do we track the risk over time?).
Technical Risk Steps
1. Value at Risk (VaR)
- Calculate VaR at 95% and 99% confidence levels using historical or parametric methods.
- Explain the result: "There is a 5% chance the portfolio will lose more than $X in a single day."
2. Stress Testing
- Simulate "Black Swan" scenarios (e.g., interest rate spike, currency devaluation, sector-specific crash).
3. Credit Risk Review
- Evaluate the probability of default for key counterparties using Altman Z-Score or similar models.
Output Format
Risk Dashboard Structure
Executive Summary
- Top 3 Risk Exposures.
- Risk Appetite Alignment (Within/Exceeding limits).
Quantitative Assessment
- VaR Analysis Table.
- Stress Test Results (Scenario vs. Estimated Loss).
- Concentration report (Are we too heavily invested in one area?).
Mitigation Plan
- Hedging recommendations (Options, Swaps).
- Diversification steps.
- Liquidity reserve requirements.
Scripts
- calculate.py: Deterministic functions for this skill's core computations. Run
python3 scripts/calculate.pyto self-test; import the functions instead of doing mental math.
References
- Risk Metrics Guide: Explaining VaR and Z-Score.
- Mitigation Strategies: Derivatives and diversification basics.
Related Skills
- investment-analysis: To factor risk into the valuation.
- financial-analysis: For detecting deteriorating liquidity signals.
- budget-forecast: For building risk-adjusted financial plans.
04 同仓库更多 Skills
working-capital-analysis
When the user wants to analyze or optimize working capital — receivables, payables, inventory, and the cash conversion cycle. Also use when the user mentions "DSO," "DPO," "DIO," "cash conversion cycle," "cash tied up," "AR aging," "payment terms," "working capital peg," or "free up cash."
wacc-computation
When the user wants to calculate the Weighted Average Cost of Capital (WACC) for valuation or capital budgeting. Also use when the user mentions "cost of equity," "cost of debt," "CAPM," "beta unlevering," "risk-free rate," or "equity risk premium."
venture-debt
When the user wants to evaluate or structure debt for high-growth, venture-backed startups. Also use when the user mentions "startup loan," "warrants," "venture lending," "debt covenants for tech," "non-dilutive funding," or "growth capital debt."
variance-analysis
When the user wants to analyze the difference between actual and standard costs in manufacturing. Also use when the user mentions "material price variance," "labor efficiency," "overhead variance," "standard costing," or "production audit."
treasury-management
When the user wants to manage corporate liquidity, investments, or financial risks like FX and interest rates. Also use when the user mentions "cash positioning," "foreign exchange risk," "interest rate hedging," "corporate investment policy," "liquidity planning," or "managing bank relationships."
three-statement-modeling
When the user wants to build an integrated financial model linking income statement, balance sheet, and cash flow. Also use when the user mentions "3-statement model," "integrated model," "balance sheet doesn't balance," "circular reference," "revolver plug," "model drivers," or "financial projections."