Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Managing Xva Calculations

ASecurity

Structures CVA, DVA, FVA, and KVA calculation with methodology selection and counterparty exposure modeling. Use when calculating XVA, pricing counterparty credit risk, or analyzing funding valuation adjustments.

22 stars
0 votes
0 copies
0 views
Added 9/20/2026
businessapidocumentation

Works with

api

Security Analysis

A100/100

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add lev-os/agents --skill managing-xva-calculations --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Managing Xva Calculations?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Managing Xva Calculations
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lev-os-managing-xva-calculations/badge)](https://www.skillsdirectory.com/skills/lev-os-managing-xva-calculations)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: managing-xva-calculations
description: Structures CVA, DVA, FVA, and KVA calculation with methodology selection and counterparty exposure modeling. Use when calculating XVA, pricing counterparty credit risk, or analyzing funding valuation adjustments.
tags:
  - management
  - quantitative-finance
  - risk
  - credit
metadata:
  author: casemark
  practice_areas:
    - Derivatives
    - Quantitative Analysis
    - Structured Products
  document_types:
    - Management Report
  skill_modes:
    - Management
    - Coordination
---
# Managing XVA Calculations

Structures CVA, DVA, FVA, and KVA calculation with methodology selection and counterparty exposure modeling.

## When To Use

- Pricing or re-pricing OTC derivatives where counterparty credit risk adjustments are material
- Computing desk-level or portfolio-level XVA charges for P&L attribution
- Selecting or validating methodology choices (SA-CCR vs. IMM, analytic vs. Monte Carlo)
- Reconciling front-office XVA with risk-neutral CVA/DVA reported to finance
- Responding to model validation or audit queries on XVA assumptions
- Assessing incremental XVA impact for new trades, novations, or collateral restructuring

## Inputs To Gather

- **Trade population**: Netting set definitions, CSA/ISDA terms, collateral thresholds, minimum transfer amounts, margin frequency
- **Market data**: Yield curves, credit spreads (CDS or mapped proxies), FX/equity/commodity vols, correlation matrices
- **Counterparty data**: Credit ratings, PD term structures, LGD assumptions, wrong-way risk indicators
- **Funding curves**: Treasury funding spreads, secured vs. unsecured funding basis, internal FTP rates
- **Capital parameters**: RWA methodology (SA-CCR or IMM), cost-of-capital rate, regulatory alpha multiplier [VERIFY — jurisdiction-specific]
- **Collateral terms**: Eligible collateral types, haircut schedules, rehypothecation rights, variation margin vs. initial margin treatment
- **Simulation parameters**: Number of Monte Carlo paths, time grid granularity, diffusion model choices, close-out period assumption

## Workflow

1. **Define netting and margining structure**
   - Map trades to legal netting sets under enforceable ISDA/CSA agreements
   - Confirm collateral terms: threshold, MTA, rounding, independent amounts
   - Identify any one-way CSAs, break clauses, or optionality affecting exposure profiles
   - Flag netting opinions that are missing or expired [VERIFY — enforceability by jurisdiction]

2. **Generate exposure profiles**
   - Select simulation approach: full Monte Carlo revaluation, regression-based (e.g., Longstaff-Schwartz for American-style features), or analytic approximation for vanilla books
   - Define time grid — finer near term (weekly to 1Y), coarser long term (quarterly/annual beyond 5Y)
   - Simulate risk factor paths under risk-neutral measure for pricing, real-world measure if needed for KVA/regulatory
   - Compute per-path, per-time-step MtM; apply netting and collateral modeling to produce Expected Exposure (EE), Expected Positive Exposure (EPE), and Expected Negative Exposure (ENE)
   - Derive Potential Future Exposure (PFE) at required quantiles (typically 95th or 97.5th)

3. **Compute individual XVA components**
   - **CVA**: Integrate discounted EPE against counterparty default probability and LGD. For Basel III SA-CVA, apply prescribed risk weights and correlation parameters [VERIFY — SA-CVA vs. BA-CVA eligibility under local regulation]
   - **DVA**: Mirror calculation using ENE and own-default probability. Determine whether DVA is recognized in regulatory capital vs. only in accounting P&L [VERIFY — prudential treatment varies by jurisdiction]
   - **FVA**: Decompose into Funding Benefit Adjustment (FBA) on negative exposure and Funding Cost Adjustment (FCA) on positive exposure. Apply unsecured funding spread net of collateral offsets. Address controversy: ensure FVA is not double-counting DVA
   - **ColVA**: Calculate cost/benefit of posting collateral — opportunity cost of segregated IM, carry on rehypothecable VM
   - **KVA**: Estimate lifetime cost of regulatory capital (RWA × cost-of-capital rate) discounted over the portfolio's expected life. Requires forward projection of capital under chosen methodology (SA-CCR alpha factor = 1.4 unless internal model approved)
   - **MVA**: Compute cost of posting initial margin under UMR/cleared margin rules; project IM using ISDA SIMM or CCP schedule

4. **Aggregate and attribute**
   - Roll up netting-set-level XVA to counterparty, desk, business line, and firm-wide totals
   - Perform incremental XVA analysis: marginal contribution of individual trades to portfolio-level CVA/FVA
   - Calculate XVA sensitivities (CS01, IR delta, vega) for hedging desk consumption
   - Reconcile front-office XVA (risk-neutral, continuous) with accounting CVA (fair-value, quarterly) and regulatory CVA capital charge

5. **Report and escalate**
   - Produce XVA P&L explain: decompose period-over-period changes into market risk, credit migration, new trades, trade maturity/settlement, and methodology changes
   - Flag counterparties where CVA exceeds materiality thresholds or PFE breaches credit limits
   - Identify wrong-way risk concentrations (e.g., FX derivatives with EM sovereign counterparties)
   - Document all model choices, overrides, and proxy mappings for audit trail

## Output

- **XVA summary table**: CVA, DVA, FVA (FCA + FBA), ColVA, KVA, MVA by netting set and counterparty, with total portfolio XVA
- **Exposure profile charts**: EPE, ENE, and PFE term structures per netting set
- **P&L attribution**: Period-over-period XVA movement broken into risk drivers
- **Sensitivity report**: CS01, IR01, and vega for CVA hedging
- **Methodology memo**: Simulation parameters, model choices, proxy mappings, and known limitations
- **Exception log**: Counterparties with material wrong-way risk, missing netting opinions, or stale credit data

## Quality Checks

- Confirm netting set definitions match signed ISDA/CSA documentation — mismatched netting inflates or deflates exposure
- Validate that EPE converges with increasing Monte Carlo paths (run convergence test; target coefficient of variation < 2% on portfolio CVA)
- Cross-check CVA against market-implied CDS spreads × EPE as a sanity benchmark
- Verify FVA does not double-count DVA — if both are reported, confirm the exposure legs are correctly separated
- Ensure KVA capital projection is consistent with the regulatory methodology actually approved for the entity [VERIFY — IMM vs. SA-CCR status]
- Reconcile sum of incremental XVAs to standalone portfolio XVA (non-linearity is expected but should be documented)
- Confirm collateral modeling reflects actual operational margin call frequency, not just contractual terms
- Review proxy credit spread mappings — ensure sector/region/rating proxies are reasonable and documented

Attribution

lev-oslev-os
View sourceMore from lev-os →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Solution Architect

Designs system architecture, component specifications, and technical integration strategy. Use when: designing solutions, system architecture, technology stack, or integration approaches.

192 votes

Akorchak:Venture Assessment

Generate a comprehensive VC investment assessment report for a company

72 votes

Stock Analysis

Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management (create, add, remove assets), crypto analysis (Top 20 by market cap), and periodic performance reports (daily/weekly/monthly/quarterly/yearly). 8 analysis dimensions for stocks, 3 for crypto. Use for stock analysis, portfolio tracking, earnings reactions, or crypto monitoring.

6511 votes

Just Fucking Cancel

Find and cancel unwanted subscriptions by analyzing bank transactions. Detects recurring charges, calculates annual waste, and helps you cancel with direct URLs and browser automation. Use when: 'cancel subscriptions', 'audit subscriptions', 'find recurring charges', 'what am I paying for', 'save money', 'subscription cleanup', 'stop wasting money'. Supports CSV import (Apple Card, Chase, Amex, Citi, Bank of America, Capital One, Mint, Copilot) OR Plaid API for automatic transaction pull. Out...

6511 votes

Telegram Compose

Compose rich, readable Telegram messages using HTML formatting via direct Telegram API. Use when: (1) Sending any Telegram message beyond a simple one-line reply, (2) Creating structured messages with sections, lists, or status updates, (3) Need formatting unavailable via Clawdbot's Markdown conversion (underline, spoilers, expandable blockquotes, user mentions by ID), (4) Sending alerts, reports, summaries, or notifications to Telegram, (5) Want professional, scannable message formatting wit...

6511 votes
View all in business →