/risk-desk-hosted:risk-limitsfrom risk-desk-hosted
Grades limit sets (gross, net, leverage, VaR, ES, stress loss) against Risk Desk results and runs pre-trade what-if revaluations over the hosted Risk Desk MCP. For limit utilisation analysis, not orders or recommendations.
Ships in risk-desk-hosted. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Call risk_desk_status first to check availability, input limits and
reporting conventions. Then use the connected hosted Risk Desk MCP.
Discover the input schema instead of guessing field names. No local
runtime or market-data feed is needed.
risk_limits grades each limit against results that risk_exposure,
risk_tail and risk_stress already returned. Pass those results
unchanged; do not edit or recompute them.risk_what_if applies proposed trades to a book, recomputes exposure,
and stress and tail when their inputs are given, then grades the limits
on the book after the trades.For a requested demonstration, omit request to use the shipped synthetic
example. Label the result as synthetic; its data_origin is
synthetic_demo. For the user's own book and limits, pass them in
request; never substitute the demo when input is missing or invalid, and
never grade the user's limits against a demo result. Ask only for missing
required fields.
Report degraded status and its reason first. Then the overall status and status counts; every breach and warning with value, limit and utilisation; every limit not evaluated, with its reason; and for VaR and ES the confidence and horizon behind the value. For a what-if, give the change first, then before and after, then the limits after. Preserve source and as-of information. If the service is unavailable, report the failure without inventing results.
Each limit has a unique name, a metric, a direction (max or min), a hard limit and an optional warning on the safe side of it. A gross share limit names its asset; a stress loss limit names its scenario. A what-if trade is a signed change in market value; a sale of a long is negative.
Overall status is the worst of breach, warning, not evaluated and within, so a book with an unevaluated limit is never within. Status decides, not utilisation; utilisation is null for a zero limit or an overflowing ratio. Overflow carries a reason and degraded status. A result in another currency is not evaluated; a differing as-of date is evaluated and flagged, so give both dates. Loss is positive for VaR, ES and stress loss, and a negative value is a gain.
A what-if is a revaluation at as-of prices, cash-financed, with no costs, no market impact and unchanged NAV; it is not an execution estimate. Its VaR and ES assume each linear position's historical P&L scales with its value; say so whenever quoting them. Never recommend a trade, size or hedge. This is research output, not investment advice.
Before sending user data, establish that the user is permitted to share
it with a hosted service. Existing permission in the conversation is
sufficient. data_mode records their declaration; it is not a rights
certificate and the service does not check it.
Placing or routing orders is not available here, and neither is
Counterparty XVA, which needs a local ORE project and the local
risk-desk plugin.
For every calculation with a supplied request, set the separate boolean
rights_confirmed=true only after the user confirms permission for hosted
processing and output delivery. Existing explicit permission is sufficient.
Never infer permission from an attachment or data_mode. No-input synthetic
demonstrations need no confirmation. Confirmation does not verify a licence.
Keep model and data limitations visible. Results can be wrong; reproducibility does not establish fitness or regulatory approval. Do not present a ranking or comparison as a personal recommendation, executable quote or guaranteed loss limit. Independently verify material results before use.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub iman/agent-driven-risk-desk-and-skills --plugin risk-desk-hosted12 skills in this plugin
/risk-attributionEstimate a covariance matrix from supplied returns, split VaR and Expected Shortfall into per-position contributions, and split portfolio variance into factor and idiosyncratic parts, over the hosted Risk Desk MCP. Use to find which positions or factors drive the risk./risk-backtestBacktest a supplied VaR series, and optionally an Expected Shortfall series, against realised P&L over the hosted Risk Desk MCP. Use to judge a forecast record with exception counts, Kupiec, Christoffersen, the Basel traffic light and the Acerbi-Szekely ES test, not to compute VaR./risk-counterpartyCalculate Basel SA-CCR exposure at default for one derivative netting set, or summarise a simulated exposure profile into peak PFE, EPE, Effective EE and Effective EPE, over the hosted Risk Desk MCP. Use for counterparty exposure measures, not for XVA or credit capital./risk-creditCalculate portfolio credit VaR, expected and unexpected loss from obligor exposure, PD and LGD with the Vasicek ASRF quantile or a seeded one-factor Gaussian copula Monte Carlo, over the hosted Risk Desk MCP. Use for default loss on a loan or bond book, not for IRB capital or rating migration./risk-data-importTurn a CSV, spreadsheet or JSON file the user attaches into a Risk Desk request, repairing clear format and unit errors and reporting each repair, then pass it to the hosted Risk Desk MCP. Use when a user attaches data and asks for a risk figure, asks how to format it, or a tool refused the input./risk-derivativesCalculate cash Greeks, spot and vol scenario grids, and historical full-revaluation VaR and Expected Shortfall for a book of linear positions and European options on spot or futures underlyings, over the hosted Risk Desk MCP. Use when a book holds options, not for American or exotic options or option quotes.Other plugins' skills for the same job