{"id":109921,"plugin_id":"plugin_asdk_app_6ad14fbde9b0819187b057c265098666","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-22T00:10:59.178Z","digest":"6b2ccfcaec461b6563f3652c9fc9211c4c378990247645d3701dbb719597ede9","against":null,"payload":{"description":"Revalue linear positions under supplied asset-return scenarios, replay a dated window from the user's own prices, list the dated scenario library, find the most plausible shock for a target loss, or scale a scenario to a target loss, over the hosted Risk Desk MCP. Use for scenario loss and contribution analysis.","included_files":[{"relative_path":"agents/openai.yaml","size_in_bytes":349}],"name":"risk-stress","skill_md_contents":"---\nname: risk-stress\ndescription: Revalue linear positions under supplied asset-return scenarios, replay a dated window from the user's own prices, list the dated scenario library, find the most plausible shock for a target loss, or scale a scenario to a target loss, over the hosted Risk Desk MCP. Use for scenario loss and contribution analysis.\n---\n\n# Risk Stress, hosted\n\nCall `risk_desk_status` first to check availability, input limits and\nreporting conventions. Then use the connected hosted Risk Desk MCP.\nDiscover the input schema instead of guessing field names.\nNo local runtime or market-data feed is needed.\n\n- `risk_stress`: revalue explicit scenarios.\n- `risk_stress_replay`: replay a dated window from the user's prices.\n- `risk_scenario_library`: the dated windows (Lehman 2008, COVID 2020,\n  UK gilt and LDI 2022), with sources. No arguments; dates only, no prices.\n- `risk_reverse_stress`: the most plausible shock for a target loss under\n  the user's covariance.\n- `risk_scenario_scale`: the multiple of one scenario that hits a target\n  loss.\n\nFor a requested demonstration, omit `request` to use the shipped synthetic\nexample. Label the result as synthetic. For the user's own book, pass the\nsupplied data in `request`; never substitute the demo when input is\nmissing or invalid. Ask only for missing required fields.\n\nReport degraded status, its reason, base currency, horizon and sign\nconvention before the figures. Preserve source and as-of information.\nIf the service is unavailable, report the failure without inventing results.\n\nEvery scenario must name exactly the portfolio assets, including an\nexplicit zero where no change is intended. A missing asset is refused\nrather than treated as unchanged. Report scenario P&L, loss, stressed NAV\nand per-position contributions. A negative loss is a scenario the book\ngains in.\n\nScenario severity is not an event probability, and no probability is\nattached to any scenario. A scenario named after a historical episode\ncarries the shape somebody chose for it, not a fitted event and not a\nforecast. Say so when the user names one that way.\n\nA replay needs the user's own licensed price levels with a level on both\nwindow dates; nothing is interpolated or filled. A replay through a proxy\nseries is degraded and names each proxy. A worst peak-to-trough replay\ntakes each asset's worst fall separately; do not call it the book's worst\nloss in the window. For reverse stress, report the shocks, Mahalanobis\ndistance, solution and binding floors; the distance ranks plausibility,\nit is not a probability, and `loss_exceedance_probability_if_normal`\nholds only under joint normal returns with mean zero and the supplied\ncovariance, so say so in the same sentence. For scaling, report the\nmultiple; it is a distance along one scenario, not a probability. Name the\nuser as the source of prices, covariance and floors.\n\nThe model is linear. Do not apply it to option premium values, credit\nmigration or nonlinear margin calls.\n\nBefore sending user data, establish that the user is permitted to share\nit with a hosted service. Existing permission in the conversation is\nsufficient. `data_mode` records their declaration; it\nis not a rights certificate and the service does not check it.\n\nCounterparty XVA is not available here. It needs a trusted local ORE\nproject directory, which a remote endpoint cannot read. Point the user at\nthe local `risk-desk` plugin for that.\n\n## Data and result limits\n\nFor every calculation with a supplied `request`, set the separate boolean\n`rights_confirmed=true` only after the user confirms permission for hosted\nprocessing and output delivery. Existing explicit permission is sufficient.\nNever infer permission from an attachment or `data_mode`. No-input synthetic\ndemonstrations need no confirmation. Confirmation does not verify a licence.\n\nKeep model and data limitations visible. Results can be wrong; reproducibility\ndoes not establish fitness or regulatory approval. Do not present a ranking or\ncomparison as a personal recommendation, executable quote or guaranteed loss\nlimit. Independently verify material results before use.\n\n[Terms](https://riskdesk.avidquant.com/terms) and\n[privacy](https://riskdesk.avidquant.com/privacy) explain data handling and legal limits.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}