Counterparty Risk

JoelLewis/finance_skills/plugins/trading-operations/skills/counterparty-risk

by JoelLewis5c498eacf7057e31238c4c5a8012a1afe9ec7c8aNo license206 starsListed Oct 9, 2026Updated Oct 9, 2026Repository updated 2 months ago

Guide counterparty credit risk measurement and management for OTC and securities trading, organized around three workflows: assessing a new counterparty, responding to a credit-deterioration event, and executing a default close-out. Use when measuring current or potential future exposure to a counterparty, setting or reviewing counterparty credit limits, evaluating ISDA Master Agreement netting and close-out mechanics, designing CSA collateral terms or uncleared margin compliance (VM/IM, SIMM), assessing central clearing mandates under Dodd-Frank or EMIR and CCP default waterfalls, monitoring creditworthiness via CDS spreads or ratings, quantifying wrong-way risk, or computing EAD, SA-CCR, and CVA. For Reg T and FINRA Rule 4210 brokerage margin see margin-operations; for settlement risk, DVP, and CLS see settlement-clearing.

Instructions onlyBusiness & Finance

Add to a SourceWeft workspace

  1. Open the skill in your dashboard and add it to a workspace.
  2. Enable it for the chats that should use it.

This skill is instructions only: it ships no scripts to execute.

Add to SourceWeft

You will be asked to sign in first, then taken straight to this skill.

Ask your agent to install it

Paste this prompt into Claude Code, Codex, Cursor or another agent that can run commands — or into SourceWeft chat. The agent reads this skill's install guide, shows you its source, license and scripts, and installs it with the SourceWeft CLI once you agree.

Read https://sourceweft.com/skills/gh-joellewis-finance-skills-counterparty-risk-plugins-trading-operations-skills-counterparty-risk-00eac56c796b94de/install.md and install the skill it describes. Before installing, show me its source, license and whether it ships scripts, and wait for my OK. Ask me before changing anything else on my machine.

Read the install guide the agent follows

Install it yourself from a terminal

For Claude Code, Codex, Cursor and other local agents. The SourceWeft CLI fetches the skill from its source repository at the commit scanned here, and verifies every file against the hashes recorded when the skill was scanned. If anything differs, nothing is written.

npx @sourceweft/cli skills install @joellewis/counterparty-risk

Add --agent claude-code, codex, cursor or universal to choose which agent gets it (Claude Code by default).

Upstream installer — not verified by SourceWeft

The open-source skills installer fetches the same pinned commit, but does not check the files against the hashes SourceWeft recorded.

npx skills add https://github.com/JoelLewis/finance_skills/tree/5c498eacf7057e31238c4c5a8012a1afe9ec7c8a/plugins/trading-operations/skills/counterparty-risk

Source and attribution

Source:JoelLewis/finance_skillsinplugins/trading-operations/skills/counterparty-riskat commit5c498ea

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal