AGENT SKILL

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

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

  1. Risk Scope

    • Portfolio risk, Credit risk, or Operational risk?
    • What is the time horizon (e.g., 1-day VaR, 1-year default risk)?
  2. Data Requirements

    • Historical price volatility.
    • Counterparty credit ratings.
    • Current liquidity ratios.

Risk Framework

Priority Order

  1. Identification (What could go wrong?).
  2. Quantification (How likely is it and how much will it cost?).
  3. Mitigation (How can we lower the impact?).
  4. 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

  1. Hedging recommendations (Options, Swaps).
  2. Diversification steps.
  3. Liquidity reserve requirements.

Scripts

  • calculate.py: Deterministic functions for this skill's core computations. Run python3 scripts/calculate.py to self-test; import the functions instead of doing mental math.

References


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

GAJETOso
GAJETOso/financeskills

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."

★ 47
GAJETOso
GAJETOso/financeskills

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."

★ 47
GAJETOso
GAJETOso/financeskills

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."

★ 47
GAJETOso
GAJETOso/financeskills

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."

★ 47
GAJETOso
GAJETOso/financeskills

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."

★ 47
GAJETOso
GAJETOso/financeskills

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."

★ 47