[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M746FZGZC5HWCE5PS73ZPFWV":3,"skill-same:01M746FZGZC5HWCE5PS73ZPFWV":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M746FZGZC5HWCE5PS73ZPFWV","risk-counterparty",null,"Calculate Basel SA-CCR exposure at default for one derivative netting set (CRE52), or summarise a simulated exposure profile such as an ORE netting-set exposure report into peak PFE, EPE, Effective EE and Effective EPE (CRE50, CRE53). Use for regulatory counterparty exposure measures. Not for CVA or other valuation adjustments (use risk-xva), not for portfolio credit loss (use risk-credit), and not for capital requirements or risk weights.","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FIman\u002Fagent-driven-risk-desk-and-skills\u002Fskills\u002Frisk-counterparty\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: risk-counterparty\ndescription: Calculate Basel SA-CCR exposure at default for one derivative netting set (CRE52), or summarise a simulated exposure profile such as an ORE netting-set exposure report into peak PFE, EPE, Effective EE and Effective EPE (CRE50, CRE53). Use for regulatory counterparty exposure measures. Not for CVA or other valuation adjustments (use risk-xva), not for portfolio credit loss (use risk-credit), and not for capital requirements or risk weights.\n---\n\n# Risk Counterparty\n\nTwo tools, both read-only and deterministic.\n\n- `risk_saccr` takes one netting set of trades and returns its SA-CCR exposure at default with\n  every intermediate figure: replacement cost, multiplier, add-on per asset class and hedging\n  set, and per trade the adjusted notional, supervisory duration, maturity factor, supervisory\n  delta and effective notional. CLI: `riskdesk saccr --input PATH`.\n- `risk_exposure_profile` takes the rows of one ORE netting-set exposure report (column names\n  exactly as ORE writes them) and returns peak PFE, EPE, Effective EE at every date and\n  Effective EPE over the first year. CLI: `riskdesk exposure-profile --input PATH`.\n\nExamples: `examples\u002Fcounterparty_saccr.json` (the Basel CRE99 example 5 portfolio, EAD 1,879)\nand `examples\u002Fcounterparty_profile.json`.\n\n## The contract, in short\n\nEvery request carries `as_of`, `currency` (three capital letters), `source` and `data_mode`\n(`synthetic` or `user-licensed`). All amounts are in that one currency. Times are in years from\n`as_of`. Unknown fields and non-finite numbers are refused.\n\nAn SA-CCR trade has `id`, `asset_class` (`interest_rate`, `fx`, `credit`, `equity`,\n`commodity`), positive `notional`, signed `market_value` (value to the bank), `maturity` (M),\nand `position` (`long` or `short` in the primary risk factor; for an option, long means bought).\nWhat else it needs depends on the class:\n\n| class | hedging_set | reference | start, end | other |\n|---|---|---|---|---|\n| interest_rate | currency, eg `USD` | none | required (S, E) | |\n| fx | pair, eg `EUR\u002FUSD` | none | none | |\n| credit | none | entity or index name | required (S, E) | `rating` AAA to CCC, or IG or SG with `index: true` |\n| equity | none | entity or index name | none | `index: true` for an index |\n| commodity | `energy`, `metals`, `agricultural` or `other` | commodity type | none | `electricity: true` for electricity |\n\n`notional` means the trade notional for interest rate and credit, the foreign leg converted to\nthe request currency for fx, and price times units for equity and commodity. An option adds\n`option` (`call` or `put`), `underlying_price`, `strike`, `exercise` (T, years) and, for a\nnegative-rate interest rate option only, `shift` (lambda).\n\nThe netting set adds `netting_set`, `collateral` (C, haircut value of net collateral held,\npositive when held) and, when `margined` is true, `threshold`, `minimum_transfer_amount`, `nica`,\n`remargining_period_business_days` and `mpor_business_days`. The MPOR must be at least nine\nbusiness days plus the remargining period.\n\nAn exposure profile has `rows`, at least two, the first at `Time` 0, times strictly increasing,\none netting set, each with non-null, non-negative `BaselEE` and `PFE`.\n\nNever invent a trade term, a rating, a market value, a collateral amount or an exposure row. If\none is missing, ask for that value only.\n\n## What to report first\n\n1. `degraded` and `degraded_reason`, before any number.\n2. For SA-CCR: `ead` with the currency, then `replacement_cost`, `multiplier`, `pfe` and\n   `addon_by_asset_class`. For a margined set, say whether `cap_applied` is true.\n3. For a profile: `effective_epe` and `epe` with `averaging_horizon_years`, then `peak_pfe`\n   with its time.\n4. The `source`, `as_of` and `input_sha256`, so the figure can be traced.\n\n## Sign conventions\n\nExposure is a positive amount the bank could lose on counterparty default. `market_value` and\n`collateral` are signed from the bank's side: positive value is owed to the bank, positive\ncollateral is held by the bank. Replacement cost is floored at zero. A negative netting-set\nvalue or excess collateral lowers the multiplier, never the replacement cost below zero. ORE's\n`BaselEE` and `PFE` are positive exposures; ORE's `ENE` keeps ORE's own negative sign and is\nnot used.\n\n## What not to claim\n\n- SA-CCR EAD is a regulatory exposure measure, not a loss forecast, a price or a capital\n  requirement. No risk weight is applied.\n- This is one bilateral netting set. Basis and volatility hedging sets, CDO tranches, central\n  counterparty MPOR floors, the 20-day MPOR cases and multiple netting sets or margin\n  agreements are not modelled. Say so if the user's book needs them.\n- FX and equity add-ons are partially verified: their constants are checked against CRE52.72,\n  but the Basel Framework publishes no worked FX or equity example, so they are checked by hand\n  arithmetic only. A result with FX or equity trades says so in its `assumptions`; report it.\n- The profile summary is not an IMM EAD. Alpha times Effective EPE needs supervisory approval.\n- The figures are only as good as the ORE simulation behind them; a clean summary does not\n  validate the ORE calibration.\n\n## Going deeper\n\n- `reference.md`: every formula with its CRE paragraph, every constant from CRE52.72 Table 2,\n  the ORE column meanings, and the published examples the tests reproduce.\n- `workflows\u002Fsaccr-ead.md` and `workflows\u002Fexposure-profile.md`: step by step.\n- `scripts\u002Fcheck_artifact.py RESULT.json`: one-line verdict on a saved result. It recomputes the\n  EAD identity, checks multiplier bounds, add-on sums and the Effective EE monotonicity.\n","# Risk Counterparty\n\nTwo tools, both read-only and deterministic.\n\n- `risk_saccr` takes one netting set of trades and returns its SA-CCR exposure at default with\n  every intermediate figure: replacement cost, multiplier, add-on per asset class and hedging\n  set, and per trade the adjusted notional, supervisory duration, maturity factor, supervisory\n  delta and effective notional. CLI: `riskdesk saccr --input PATH`.\n- `risk_exposure_profile` takes the rows of one ORE netting-set exposure report (column names\n  exactly as ORE writes them) and returns peak PFE, EPE, Effective EE at every date and\n  Effective EPE over the first year. CLI: `riskdesk exposure-profile --input PATH`.\n\nExamples: `examples\u002Fcounterparty_saccr.json` (the Basel CRE99 example 5 portfolio, EAD 1,879)\nand `examples\u002Fcounterparty_profile.json`.\n\n## The contract, in short\n\nEvery request carries `as_of`, `currency` (three capital letters), `source` and `data_mode`\n(`synthetic` or `user-licensed`). All amounts are in that one currency. Times are in years from\n`as_of`. Unknown fields and non-finite numbers are refused.\n\nAn SA-CCR trade has `id`, `asset_class` (`interest_rate`, `fx`, `credit`, `equity`,\n`commodity`), positive `notional`, signed `market_value` (value to the bank), `maturity` (M),\nand `position` (`long` or `short` in the primary risk factor; for an option, long means bought).\nWhat else it needs depends on the class:\n\n| class | hedging_set | reference | start, end | other |\n|---|---|---|---|---|\n| interest_rate | currency, eg `USD` | none | required (S, E) | |\n| fx | pair, eg `EUR\u002FUSD` | none | none | |\n| credit | none | entity or index name | required (S, E) | `rating` AAA to CCC, or IG or SG with `index: true` |\n| equity | none | entity or index name | none | `index: true` for an index |\n| commodity | `energy`, `metals`, `agricultural` or `other` | commodity type | none | `electricity: true` for electricity |\n\n`notional` means the trade notional for interest rate and credit, the foreign leg converted to\nthe request currency for fx, and price times units for equity and commodity. An option adds\n`option` (`call` or `put`), `underlying_price`, `strike`, `exercise` (T, years) and, for a\nnegative-rate interest rate option only, `shift` (lambda).\n\nThe netting set adds `netting_set`, `collateral` (C, haircut value of net collateral held,\npositive when held) and, when `margined` is true, `threshold`, `minimum_transfer_amount`, `nica`,\n`remargining_period_business_days` and `mpor_business_days`. The MPOR must be at least nine\nbusiness days plus the remargining period.\n\nAn exposure profile has `rows`, at least two, the first at `Time` 0, times strictly increasing,\none netting set, each with non-null, non-negative `BaselEE` and `PFE`.\n\nNever invent a trade term, a rating, a market value, a collateral amount or an exposure row. If\none is missing, ask for that value only.\n\n## What to report first\n\n1. `degraded` and `degraded_reason`, before any number.\n2. For SA-CCR: `ead` with the currency, then `replacement_cost`, `multiplier`, `pfe` and\n   `addon_by_asset_class`. For a margined set, say whether `cap_applied` is true.\n3. For a profile: `effective_epe` and `epe` with `averaging_horizon_years`, then `peak_pfe`\n   with its time.\n4. The `source`, `as_of` and `input_sha256`, so the figure can be traced.\n\n## Sign conventions\n\nExposure is a positive amount the bank could lose on counterparty default. `market_value` and\n`collateral` are signed from the bank's side: positive value is owed to the bank, positive\ncollateral is held by the bank. Replacement cost is floored at zero. A negative netting-set\nvalue or excess collateral lowers the multiplier, never the replacement cost below zero. ORE's\n`BaselEE` and `PFE` are positive exposures; ORE's `ENE` keeps ORE's own negative sign and is\nnot used.\n\n## What not to claim\n\n- SA-CCR EAD is a regulatory exposure measure, not a loss forecast, a price or a capital\n  requirement. No risk weight is applied.\n- This is one bilateral netting set. Basis and volatility hedging sets, CDO tranches, central\n  counterparty MPOR floors, the 20-day MPOR cases and multiple netting sets or margin\n  agreements are not modelled. Say so if the user's book needs them.\n- FX and equity add-ons are partially verified: their constants are checked against CRE52.72,\n  but the Basel Framework publishes no worked FX or equity example, so they are checked by hand\n  arithmetic only. A result with FX or equity trades says so in its `assumptions`; report it.\n- The profile summary is not an IMM EAD. Alpha times Effective EPE needs supervisory approval.\n- The figures are only as good as the ORE simulation behind them; a clean summary does not\n  validate the ORE calibration.\n\n## Going deeper\n\n- `reference.md`: every formula with its CRE paragraph, every constant from CRE52.72 Table 2,\n  the ORE column meanings, and the published examples the tests reproduce.\n- `workflows\u002Fsaccr-ead.md` and `workflows\u002Fexposure-profile.md`: step by step.\n- `scripts\u002Fcheck_artifact.py RESULT.json`: one-line verdict on a saved result. It recomputes the\n  EAD identity, checks multiplier bounds, add-on sums and the Effective EE monotonicity.\n",{"name":5,"description":7},"main","347aedf8480cd92b21f761e97b7343a45898f5fa","plugins\u002FIman\u002Fagent-driven-risk-desk-and-skills\u002Fskills\u002Frisk-counterparty",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill risk-counterparty",{"tool":40,"command":41},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill risk-counterparty",{"tool":43,"command":44},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill risk-counterparty","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FIman\u002Fagent-driven-risk-desk-and-skills\u002Fskills\u002Frisk-counterparty\u002FSKILL.md",true,[48,54,60,64],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"reference.md","REFERENCE","参考文档",7766,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FIman\u002Fagent-driven-risk-desk-and-skills\u002Fskills\u002Frisk-counterparty\u002Freference.md",{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"scripts\u002Fcheck_artifact.py","SCRIPT","脚本",3546,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FIman\u002Fagent-driven-risk-desk-and-skills\u002Fskills\u002Frisk-counterparty\u002Fscripts\u002Fcheck_artifact.py",{"path":61,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":62,"sourceHtmlUrl":63},"workflows\u002Fexposure-profile.md",1196,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FIman\u002Fagent-driven-risk-desk-and-skills\u002Fskills\u002Frisk-counterparty\u002Fworkflows\u002Fexposure-profile.md",{"path":65,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":66,"sourceHtmlUrl":67},"workflows\u002Fsaccr-ead.md",1856,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FIman\u002Fagent-driven-risk-desk-and-skills\u002Fskills\u002Frisk-counterparty\u002Fworkflows\u002Fsaccr-ead.md",[69,79,87,95,103,111],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":73,"licenseFileUrl":74,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":78},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":73,"licenseFileUrl":83,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":78},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":73,"licenseFileUrl":91,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":78},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":73,"licenseFileUrl":99,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":78},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":73,"licenseFileUrl":107,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":78},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":73,"licenseFileUrl":115,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":78},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]