Analyzing Counterparty Netting Efficiency logo

Analyzing Counterparty Netting Efficiency

Organization
CaseMark
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.

Overview

PublisherCaseMark
Repositoryskills
Skill nameanalyzing-counterparty-netting-efficiency
Stars
53
Forks
20
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by CaseMark on GitHub. Read the source before you install it.

Installation

Install the Analyzing Counterparty Netting Efficiency AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/CaseMark/skills/tree/main/skills/capital/analyzing-counterparty-netting-efficiency
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/CaseMark/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/capital/analyzing-counterparty-netting-efficiency .claude/skills/analyzing-counterparty-netting-efficiency
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Analyzing Counterparty Netting Efficiency in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Analyzing Counterparty Netting Efficiency on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Analyzing Counterparty Netting Efficiency is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

Frequently asked questions

What does the Analyzing Counterparty Netting Efficiency AI 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.

Why use Analyzing Counterparty Netting Efficiency on TypingMind?

Because you install it once and use it with any model. Analyzing Counterparty Netting Efficiency is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Analyzing Counterparty Netting Efficiency in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/CaseMark/skills/tree/main/skills/capital/analyzing-counterparty-netting-efficiency. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Analyzing Counterparty Netting Efficiency?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Analyzing Counterparty Netting Efficiency?

As many as you like. As long as a model supports skills, you can use Analyzing Counterparty Netting Efficiency with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Analyzing Counterparty Netting Efficiency AI skill free?

Yes. It is published on GitHub by CaseMark under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇