Skip to content
joellewis avatar

Counterparty Risk

Guides counterparty credit risk for OTC and securities trading across assessment, deterioration response, and default close-out.

CCM score
62 of 100
skills.sh installs
738
GitHub stars
270
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers three workflows: assessing a new counterparty, responding to a credit-deterioration event, and executing a default close-out
  • Includes netting and close-out mechanics under ISDA Master Agreements, CSA collateral terms, and uncleared margin rules (VM/IM, SIMM)
  • Provides exposure and capital formulas: CE, PFE, EAD under SA-CCR (1.4 × (RC + PFE add-on)), and CVA
  • Designed for credit risk teams setting limits and monitoring exposure; Reg T and settlement-risk topics are routed to sibling skills

Install

$ npx -y skills add joellewis/finance_skills --skill counterparty-risk -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Counterparty Risk

Core Concepts

Workflow A: Assessing a New Counterparty

Details

Repository
github.com/joellewis/finance_skills
Category
Finance & Trading
First seen
Jun 3, 2026

Questions

What does the counterparty-risk skill do?

The counterparty-risk skill guides counterparty credit risk measurement and management for OTC and securities trading. It is organized around three workflows: assessing a new counterparty, responding to a credit-deterioration event, and executing a default close-out.

Which counterparty risk measures does counterparty-risk cover?

The counterparty-risk skill covers current exposure, potential future exposure, EAD under SA-CCR, and CVA. It also covers ISDA Master Agreement netting, CSA collateral terms, uncleared margin rules, central clearing mandates and wrong-way risk.

How do I install counterparty-risk?

Run npx -y skills add joellewis/finance_skills --skill counterparty-risk -y in a project. After that, the agent can apply the counterparty-risk workflows to exposure, limit and default questions.

Which topics should I use other skills for instead of counterparty-risk?

For Reg T and FINRA Rule 4210 brokerage margin, the counterparty-risk skill points to margin-operations. For settlement risk, DVP and CLS, it points to settlement-clearing.

More from joellewis/finance_skills

All 84

Similar to Counterparty Risk

More Finance & Trading