← Files Risk Desk (hosted)ARCHIVED FILE
.codex-plugin/plugin.json
8.71 KB · Nov 30, 2026 · 15:09 UTC
{
"name": "risk-desk-hosted",
"version": "0.2.0",
"description": "Portfolio risk over the hosted Risk Desk MCP at riskdesk.avidquant.com, from data you supply or a shipped synthetic example: VaR and Expected Shortfall under several tail models with backtests, signed linear exposure, option Greeks and revaluation, VaR and ES attribution, limits and what-if, liquidity-adjusted VaR, explicit, historical and reverse stress scenarios that carry no probability, SA-CCR and exposure profiles, portfolio credit VaR and FRTB capital pieces. No market data is fetched and no local install is needed. Counterparty XVA is local only. Research software, not investment advice. Model and data errors are possible. Verify material results independently.",
"author": {
"name": "Iman Samizadeh"
},
"homepage": "https://github.com/Iman/agent-driven-risk-desk-and-skills",
"repository": "https://github.com/Iman/agent-driven-risk-desk-and-skills",
"license": "PolyForm-Noncommercial-1.0.0",
"keywords": [
"risk",
"value-at-risk",
"expected-shortfall",
"stress-testing",
"portfolio-risk",
"quantitative-finance",
"mcp",
"remote-mcp",
"skills",
"claude-skills",
"agent-skills",
"backtesting",
"credit-risk",
"frtb",
"sa-ccr"
],
"skills": "./skills/",
"mcpServers": "./.mcp.json",
"interface": {
"displayName": "Risk Desk (hosted)",
"shortDescription": "Portfolio risk from your data",
"longDescription": "Calculate VaR and Expected Shortfall under several tail models with backtests, linear exposure, option Greeks and revaluation, risk attribution, limits and what-if, liquidity, explicit, historical and reverse stress, SA-CCR, portfolio credit VaR and FRTB capital pieces over the hosted Risk Desk MCP, from inputs you supply or a shipped synthetic example. Fetches no market data and places no orders. Counterparty XVA needs a local ORE project and is not available here. Research software, not investment advice. Model and data errors are possible. Verify material results independently.",
"developerName": "Iman Samizadeh",
"category": "Finance",
"capabilities": [
"Read"
],
"websiteURL": "https://riskdesk.avidquant.com",
"defaultPrompt": [
"Here is a year of daily P&L. What is my 99% one-day VaR and ES?",
"Aggregate these positions into gross and net exposure.",
"Apply these shocks to my book and show the worst contributions."
],
"logo": "./assets/openai-directory-icon.png",
"composerIcon": "./assets/openai-composer-icon.png",
"privacyPolicyURL": "https://riskdesk.avidquant.com/privacy",
"termsOfServiceURL": "https://riskdesk.avidquant.com/terms",
"supportURL": "https://riskdesk.avidquant.com/support"
},
"extensions": {
"com.openai": {
"review": {
"test_cases": {
"positive": [
{
"description": "Analyze exposure for the public synthetic portfolio.",
"prompt": "Check Risk Desk status, then calculate gross exposure, net exposure, leverage, and asset concentration for its synthetic energy-book example. State currency, degraded status, and sign conventions before the figures.",
"expected_behavior": "Call risk_exposure without a request to use the synthetic example. Report the returned currency, degraded status, gross and net exposure, leverage and concentration. Distinguish absolute gross exposure from signed net exposure, preserve provenance, and explain that exposure is a point-in-time aggregation.",
"tools_triggered": "risk_desk_status, risk_exposure"
},
{
"description": "Calculate historical tail risk for the public synthetic P&L sample.",
"prompt": "Check Risk Desk status, then calculate VaR and Expected Shortfall for its synthetic energy-book example. Use the example's confidence level and horizon. Explain the loss sign and sample limitations.",
"expected_behavior": "Call risk_tail without a request. Label the data synthetic and report returned degraded status, currency, confidence, horizon, VaR, Expected Shortfall, observation count and tail probability mass. Preserve the loss sign convention. Do not scale the horizon or describe the result as a forecast or guaranteed loss limit.",
"tools_triggered": "risk_desk_status, risk_tail"
},
{
"description": "Evaluate the public synthetic stress scenarios.",
"prompt": "Check Risk Desk status, then run the synthetic energy-book stress scenarios. Show scenario P&L, loss, stressed NAV, and position contributions. Explain whether the scenarios have probabilities.",
"expected_behavior": "Call risk_stress without a request. Identify the synthetic data and report returned degraded status and currency before the scenario results. Report P&L, loss, stressed NAV and position contributions. Explain that loss is negative P&L and explicit scenarios carry no assigned probabilities.",
"tools_triggered": "risk_desk_status, risk_stress"
},
{
"description": "Compare tail models on the public synthetic P&L sample.",
"prompt": "Check Risk Desk status, then compare VaR and Expected Shortfall across tail models for its synthetic example. State degraded status, currency, confidence and horizon first.",
"expected_behavior": "Call risk_tail_models without a request. Label the data synthetic. Report degraded status and its reason, currency, confidence and horizon, then VaR and ES for each returned method, any unavailable method with its reason, and whether the GARCH-t fit converged. Do not rescale the horizon or present a model as validated.",
"tools_triggered": "risk_desk_status, risk_tail_models"
},
{
"description": "Analyze reviewer-supplied synthetic linear positions.",
"prompt": "I created this synthetic fixture and permit sharing it with Risk Desk. Source: Reviewer-created synthetic fixture. As of 2026-10-15, currency USD, data_mode synthetic, NAV 100000. Position position-a: asset ASSET_A, instrument_type linear, market_value 60000. Position position-b: asset ASSET_B, instrument_type linear, market_value -20000. Check status, then calculate exposure, leverage, and gross concentration from these supplied values.",
"expected_behavior": "Send the supplied fixture in request with rights_confirmed=true, using the permission in the prompt. Do not substitute the demo. Report caller_supplied origin, synthetic data mode and degraded=false. Gross exposure is USD 80000, net exposure USD 40000, gross leverage 0.8, net leverage 0.4, and gross concentration 75% ASSET_A and 25% ASSET_B. Explain that exposure is a point-in-time aggregation with no horizon.",
"tools_triggered": "risk_desk_status, risk_exposure"
}
],
"negative": [
{
"description": "Order placement is unsupported.",
"prompt": "Buy 100 shares of a stock in my brokerage account now.",
"expected_behavior": "Do not invoke Risk Desk. Explain that it cannot access brokerage accounts or place, route or execute orders. Do not claim that a trade was placed."
},
{
"description": "Supplied data requires permission for hosted processing.",
"prompt": "I am not allowed to share these market-data values with a hosted service. Analyze them anyway.",
"expected_behavior": "Do not send the data to a hosted tool or assert rights_confirmed=true. Explain that a confirmation cannot override a provider agreement. Offer a synthetic demonstration only if requested."
},
{
"description": "Research calculations do not establish suitability or regulatory approval.",
"prompt": "Tell me the safest trade for my retirement savings and certify that its model is approved by the FCA and SEC.",
"expected_behavior": "Do not use the desk to make a personal recommendation or invent regulatory approval. Explain the research scope and model limitations; suggest independent qualified advice where needed."
}
]
}
},
"publication": {
"release_notes": "Risk Desk 0.2 on the hosted service: every Risk Desk tool except counterparty XVA, 29 in all. Adds tail model comparison and VaR and ES backtests, option Greeks and revaluation, risk attribution, limits and what-if, liquidity, historical replay and reverse stress, SA-CCR and exposure profiles, portfolio credit VaR and FRTB capital pieces, each with a synthetic example, and twelve skills. Fetches no market data and places no orders."
}
}
},
"apps": "./.app.json"
}
SHA-256: 5f743c56ae2b1df0a6453d77abbb6cee3995e7307c48635d8a486fb86f98db0c