[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M746G4646DWVZW69VSCQHWE0":3,"skill-same:01M746G4646DWVZW69VSCQHWE0":64},{"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},"01M746G4646DWVZW69VSCQHWE0","risk-credit",null,"Calculate portfolio credit VaR from obligor exposure, PD and LGD, either with the Vasicek asymptotic single risk factor quantile (the model behind the Basel IRB formula, CRE31) or with a seeded default-mode one-factor Gaussian copula Monte Carlo for a finite portfolio, giving expected loss, unexpected loss, credit VaR and Expected Shortfall. Use for default loss on a loan or bond book. Not for counterparty exposure (use risk-counterparty), not for market VaR (use risk-tail), not for IRB capital or risk weights, and not for rating migration.","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-credit\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: risk-credit\ndescription: Calculate portfolio credit VaR from obligor exposure, PD and LGD, either with the Vasicek asymptotic single risk factor quantile (the model behind the Basel IRB formula, CRE31) or with a seeded default-mode one-factor Gaussian copula Monte Carlo for a finite portfolio, giving expected loss, unexpected loss, credit VaR and Expected Shortfall. Use for default loss on a loan or bond book. Not for counterparty exposure (use risk-counterparty), not for market VaR (use risk-tail), not for IRB capital or risk weights, and not for rating migration.\n---\n\n# Risk Credit\n\nTwo tools, both read-only.\n\n- `risk_credit_asrf`: the Vasicek asymptotic single risk factor loss quantile. Fast and exact\n  for an infinitely granular portfolio; it ignores name concentration. CLI:\n  `riskdesk credit-asrf --input PATH`.\n- `risk_credit_copula`: a seeded Monte Carlo of the same one-factor model for the actual,\n  finite list of obligors. It captures concentration and gives Expected Shortfall. CLI:\n  `riskdesk credit-copula --input PATH`.\n\nExamples: `examples\u002Fcredit_asrf.json` and `examples\u002Fcredit_copula.json` (one six-obligor book).\n\n## The contract, in short\n\nBoth take `as_of`, `currency`, `source`, `data_mode`, `confidence` (strictly between 0 and 1),\n`horizon_days` (the horizon over which every PD applies) and `obligors`, each with a unique\n`id`, positive `exposure` (EAD in the request currency), `pd` (strictly between 0 and 1) and\n`lgd` (0 to 1).\n\n- ASRF obligors add `correlation` R (strictly between 0 and 1), the asset correlation with the\n  single factor.\n- Copula obligors add `factor_loading` a (strictly between -1 and 1). The pairwise asset\n  correlation is a_i * a_j, so R = a^2 for a homogeneous pool. The request adds `scenarios`\n  (1,000 to 1,000,000) and `seed` (non-negative integer). Scenarios times obligors may not\n  exceed 200,000,000.\n\nPD, LGD, correlation and loadings are inputs. The tools do not estimate them, and you must not\ninvent them. A supervisory correlation (the CRE31.5 corporate formula, for example) may be used\nonly if the user asks for it; say so when you do.\n\n## What to report first\n\n1. `degraded` and `degraded_reason`. For the copula, degraded means fewer than 20 scenarios of\n   tail probability mass: raise `scenarios`.\n2. `credit_var` at `confidence` over `horizon_days`, with currency.\n3. `expected_loss`, `unexpected_loss` (credit VaR minus expected loss), and for the copula\n   `expected_shortfall`, `scenarios` and `seed`.\n4. For the ASRF, the largest `contributions`. They add up to the credit VaR.\n\n## Sign conventions\n\nLoss is positive. Credit VaR and Expected Shortfall are losses at and beyond the quantile.\nUnexpected loss here is credit VaR minus expected loss, the quantity the IRB formula capitalises\nbefore its maturity adjustment. It is not the standard deviation of loss, which the copula\nreports separately as `loss_standard_deviation`.\n\n## What not to claim\n\n- Neither tool gives IRB capital or a risk weight. They apply no maturity adjustment, no\n  CRE31.7 correlation multiplier and no PD or LGD floor.\n- The ASRF result assumes infinite granularity. For a concentrated book it understates the\n  loss quantile; the copula shows by how much.\n- The copula result carries Monte Carlo error. Quote the seed and scenario count with it.\n- Default mode only. Rating migration and spread loss are not modelled. LGD is fixed, not\n  random. There is one systematic factor, so sector concentration is not captured beyond what\n  the loadings express.\n- A loss quantile is a model output, not a forecast that has been backtested.\n\n## Going deeper\n\n- `reference.md`: the formulas, the derivation of quantile additivity, the CRE31.5 source,\n  and the published and exact checks the tests use.\n- `workflows\u002Fcredit-var.md`: which tool to run and in what order.\n- `scripts\u002Fcheck_artifact.py RESULT.json`: one-line verdict on a saved result.\n","# Risk Credit\n\nTwo tools, both read-only.\n\n- `risk_credit_asrf`: the Vasicek asymptotic single risk factor loss quantile. Fast and exact\n  for an infinitely granular portfolio; it ignores name concentration. CLI:\n  `riskdesk credit-asrf --input PATH`.\n- `risk_credit_copula`: a seeded Monte Carlo of the same one-factor model for the actual,\n  finite list of obligors. It captures concentration and gives Expected Shortfall. CLI:\n  `riskdesk credit-copula --input PATH`.\n\nExamples: `examples\u002Fcredit_asrf.json` and `examples\u002Fcredit_copula.json` (one six-obligor book).\n\n## The contract, in short\n\nBoth take `as_of`, `currency`, `source`, `data_mode`, `confidence` (strictly between 0 and 1),\n`horizon_days` (the horizon over which every PD applies) and `obligors`, each with a unique\n`id`, positive `exposure` (EAD in the request currency), `pd` (strictly between 0 and 1) and\n`lgd` (0 to 1).\n\n- ASRF obligors add `correlation` R (strictly between 0 and 1), the asset correlation with the\n  single factor.\n- Copula obligors add `factor_loading` a (strictly between -1 and 1). The pairwise asset\n  correlation is a_i * a_j, so R = a^2 for a homogeneous pool. The request adds `scenarios`\n  (1,000 to 1,000,000) and `seed` (non-negative integer). Scenarios times obligors may not\n  exceed 200,000,000.\n\nPD, LGD, correlation and loadings are inputs. The tools do not estimate them, and you must not\ninvent them. A supervisory correlation (the CRE31.5 corporate formula, for example) may be used\nonly if the user asks for it; say so when you do.\n\n## What to report first\n\n1. `degraded` and `degraded_reason`. For the copula, degraded means fewer than 20 scenarios of\n   tail probability mass: raise `scenarios`.\n2. `credit_var` at `confidence` over `horizon_days`, with currency.\n3. `expected_loss`, `unexpected_loss` (credit VaR minus expected loss), and for the copula\n   `expected_shortfall`, `scenarios` and `seed`.\n4. For the ASRF, the largest `contributions`. They add up to the credit VaR.\n\n## Sign conventions\n\nLoss is positive. Credit VaR and Expected Shortfall are losses at and beyond the quantile.\nUnexpected loss here is credit VaR minus expected loss, the quantity the IRB formula capitalises\nbefore its maturity adjustment. It is not the standard deviation of loss, which the copula\nreports separately as `loss_standard_deviation`.\n\n## What not to claim\n\n- Neither tool gives IRB capital or a risk weight. They apply no maturity adjustment, no\n  CRE31.7 correlation multiplier and no PD or LGD floor.\n- The ASRF result assumes infinite granularity. For a concentrated book it understates the\n  loss quantile; the copula shows by how much.\n- The copula result carries Monte Carlo error. Quote the seed and scenario count with it.\n- Default mode only. Rating migration and spread loss are not modelled. LGD is fixed, not\n  random. There is one systematic factor, so sector concentration is not captured beyond what\n  the loadings express.\n- A loss quantile is a model output, not a forecast that has been backtested.\n\n## Going deeper\n\n- `reference.md`: the formulas, the derivation of quantile additivity, the CRE31.5 source,\n  and the published and exact checks the tests use.\n- `workflows\u002Fcredit-var.md`: which tool to run and in what order.\n- `scripts\u002Fcheck_artifact.py RESULT.json`: one-line verdict on a saved result.\n",{"name":5,"description":7},"main","347aedf8480cd92b21f761e97b7343a45898f5fa","plugins\u002FIman\u002Fagent-driven-risk-desk-and-skills\u002Fskills\u002Frisk-credit",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-credit",{"tool":40,"command":41},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill risk-credit",{"tool":43,"command":44},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill risk-credit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FIman\u002Fagent-driven-risk-desk-and-skills\u002Fskills\u002Frisk-credit\u002FSKILL.md",true,[48,54,60],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"reference.md","REFERENCE","参考文档",4270,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FIman\u002Fagent-driven-risk-desk-and-skills\u002Fskills\u002Frisk-credit\u002Freference.md",{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"scripts\u002Fcheck_artifact.py","SCRIPT","脚本",2700,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FIman\u002Fagent-driven-risk-desk-and-skills\u002Fskills\u002Frisk-credit\u002Fscripts\u002Fcheck_artifact.py",{"path":61,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":62,"sourceHtmlUrl":63},"workflows\u002Fcredit-var.md",1266,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FIman\u002Fagent-driven-risk-desk-and-skills\u002Fskills\u002Frisk-credit\u002Fworkflows\u002Fcredit-var.md",[65,75,83,91,99,107],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":70,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":74},"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":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":79,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":74},"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":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":87,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":74},"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":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":95,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":74},"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":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":103,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":74},"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":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":111,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":74},"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",[],[]]