analyzing-counterparty-netting-efficiency
Evaluates netting benefits across derivative portfolios with bilateral vs cleared netting, portfolio compression, and capital savings. Use when analyzing netting efficiency, evaluating compression opportunities, or optimizing counterparty exposure.
Best use case
analyzing-counterparty-netting-efficiency is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Evaluates netting benefits across derivative portfolios with bilateral vs cleared netting, portfolio compression, and capital savings. Use when analyzing netting efficiency, evaluating compression opportunities, or optimizing counterparty exposure.
Teams using analyzing-counterparty-netting-efficiency should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/analyzing-counterparty-netting-efficiency/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How analyzing-counterparty-netting-efficiency Compares
| Feature / Agent | analyzing-counterparty-netting-efficiency | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Evaluates netting benefits across derivative portfolios with bilateral vs cleared netting, portfolio compression, and capital savings. Use when analyzing netting efficiency, evaluating compression opportunities, or optimizing counterparty exposure.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Analyzing Counterparty Netting Efficiency Evaluates netting benefits across derivative portfolios by comparing bilateral vs. cleared netting arrangements, identifying portfolio compression opportunities, and quantifying capital savings from improved netting ratios. ## When To Use - Assessing gross-to-net exposure ratios across counterparties to identify optimization targets - Evaluating whether bilateral OTC trades should migrate to central clearing for netting benefit - Analyzing portfolio compression candidates (e.g., TriOptima, Quantile, LMRKTS cycles) - Quantifying SA-CCR or IMM capital savings from improved netting set structures - Preparing for ISDA master agreement renegotiation by modeling netting efficiency under alternative CSA terms - Reviewing netting enforceability across jurisdictions before consolidating netting sets ## Inputs To Gather - **Trade-level data**: Notional amounts, mark-to-market values, asset class, maturity profile, and counterparty identifiers for all in-scope positions - **Netting set definitions**: ISDA master agreement mapping, CSA terms (threshold, MTA, eligible collateral), cleared vs. bilateral designation per trade - **CCP membership details**: Which CCPs the firm clears through, product eligibility per CCP, and current cleared portfolio composition - **Regulatory framework**: Whether the firm uses SA-CCR or IMM for counterparty credit risk; applicable leverage ratio and CVA capital requirements [VERIFY] - **Compression history**: Prior compression cycle results, terminated notional, and any operational constraints on compression eligibility - **Legal netting opinions**: Jurisdictional enforceability status for each counterparty's netting agreement [VERIFY] ## Workflow 1. **Map netting sets** — Group all trades by legal netting agreement. Identify orphaned trades (no enforceable netting) and trades under multiple CSAs with the same counterparty that could be consolidated. 2. **Calculate gross-to-net ratios** — For each netting set, compute: - Gross positive / gross negative MTM - Net MTM after close-out netting - Netting ratio = 1 − (Net Exposure / Gross Positive Exposure) - Flag counterparties with netting ratios below 50% as priority optimization targets 3. **Assess bilateral vs. cleared netting** — For each asset class: - Model current bilateral exposure by counterparty - Model hypothetical cleared exposure at each eligible CCP (netting across all counterparties in a single CCP netting set) - Compare multilateral netting benefit against clearing costs (IM, default fund contribution, CCP fees) - Note clearing mandate applicability for each product [VERIFY] 4. **Identify compression candidates** — Screen for: - Offsetting or near-offsetting trades within and across counterparties - Redundant intermediation chains (A↔B↔C where A↔C is feasible) - Trades past economic utility but still consuming line and capital - Estimate notional reduction and exposure reduction from compression 5. **Quantify capital impact** — Calculate: - SA-CCR EAD before and after netting optimization (replacement cost + PFE with netting factor) - RWA reduction from improved netting (using counterparty risk weights) - Leverage ratio exposure reduction - CVA capital charge reduction from lower EAD [VERIFY — depends on BA-CVA vs. SA-CVA regime] 6. **Model implementation scenarios** — Rank opportunities by: - Capital savings (RWA and leverage) - Implementation complexity (legal renegotiation, operational lift, counterparty willingness) - Ongoing cost (clearing fees, margin funding) - Produce a prioritized action plan with estimated timelines ## Output - **Netting efficiency dashboard**: Per-counterparty and per-netting-set gross-to-net ratios, with trend over prior periods if data available - **Clearing migration analysis**: Trade populations recommended for clearing, expected multilateral netting benefit, and incremental clearing costs - **Compression opportunity register**: Candidate trade populations, estimated notional and exposure reduction, next available compression cycle dates - **Capital impact summary**: Before/after RWA, leverage exposure, and CVA capital with breakdowns by optimization lever (netting consolidation, clearing migration, compression) - **Implementation roadmap**: Prioritized actions with dependencies, legal/operational prerequisites, and estimated capital release per action ## Quality Checks - Confirm netting set mappings reconcile to the firm's official ISDA agreement register — no trades should be unassigned - Verify that netting enforceability has been confirmed by legal opinion for each jurisdiction involved [VERIFY] - Cross-check SA-CCR calculations against regulatory definitions (supervisory factors, maturity floors, collateral haircuts) - Ensure compression estimates account for operational constraints (minimum participation thresholds, dealer consent requirements) - Validate that clearing cost assumptions use current CCP fee schedules and margin models, not stale estimates - Confirm all MTM values are as-of the same valuation date and use consistent curves
Related Skills
analyzing-vital-statistics
Structures vital records analysis with birth, death, and demographic trend reporting. Use when analyzing vital statistics, interpreting mortality data, or reporting demographic trends.
analyzing-social-determinants-of-health
Maps social determinants affecting health outcomes with intervention strategy development. Use when analyzing SDOH, mapping community resources, or designing social health interventions.
analyzing-pharmacovigilance-data
Structures post-marketing safety surveillance with signal detection and PSUR reporting. Use when analyzing safety signals, preparing PSURs, or managing pharmacovigilance data.
analyzing-flow-cytometry
Interprets flow cytometry panels for hematologic malignancy classification and minimal residual disease. Use when analyzing flow cytometry, classifying lymphomas/leukemias, or documenting immunophenotyping.
analyzing-epidemiological-data
Structures epidemiologic analysis with incidence, prevalence, rate calculations, and statistical inference. Use when calculating disease rates, analyzing epi data, or interpreting population statistics.
analyzing-clinical-trial-data
Structures clinical trial data analysis with primary endpoint evaluation and safety reporting. Use when analyzing trial results, evaluating endpoints, or preparing statistical reports.
analyzing-clinical-data-warehouses
Structures clinical data warehouse queries for quality measurement, research, and operational analytics. Use when querying clinical data, building analytics reports, or extracting research datasets.
managing-counterparty-risk
Structures counterparty credit risk assessment with exposure calculation and mitigation monitoring. Use when assessing counterparty risk, calculating potential future exposure, or managing collateral.
analyzing-yield-curves
Interprets yield curve shapes with term structure analysis and relative value identification. Use when analyzing yield curves, identifying curve trades, or interpreting interest rate expectations.
analyzing-wealthtech-platforms
Evaluates wealth management technology with robo-advisory models, digital planning, and fee analysis. Use when analyzing wealthtech, evaluating robo-advisors, or assessing digital wealth platforms.
analyzing-water-risk
Structures water risk assessment with water stress mapping, usage analysis, and regulatory exposure evaluation. Use when analyzing water risk, mapping water stress, or evaluating water-related financial exposure.
analyzing-volatility-surfaces
Constructs and interprets implied volatility surfaces with skew analysis and term structure assessment. Use when analyzing vol surfaces, interpreting skew, or modeling volatility dynamics.