{"id":109915,"plugin_id":"plugin_asdk_app_6ad14fbde9b0819187b057c265098666","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-22T00:10:58.997Z","digest":"3379101ba2f3f1fefdf86c7bde25fff558db7c07e48bc8de7013e8daf14836fc","against":null,"payload":{"description":"Turn 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.","included_files":[{"relative_path":"agents/openai.yaml","size_in_bytes":341}],"name":"risk-data-import","skill_md_contents":"---\nname: risk-data-import\ndescription: Turn 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.\n---\n\n# Risk data import, hosted\n\nUse the connected hosted Risk Desk MCP. Do not run a local command. Call\n`risk_desk_status` first to check availability, input limits and\nreporting conventions. Build the request as JSON in the conversation from\nthe attached file, and pass it in the tool's `request` argument. Discover\nthe tool's input schema for every field name and type; do not guess them.\n\n## Safety boundary\n\n- Use only the file the user supplied. Never fetch prices, rates, FX or\n  other market data, and never fill a gap from memory.\n- Never invent a market value, price, P&L observation, date, currency,\n  NAV, `source` or `data_mode`. Ask for a missing value by row and column.\n- `data_mode` is the user's declaration (`synthetic` or `user-licensed`).\n  Ask for it; do not infer it. It is not a rights certificate and the\n  service does not check it.\n- Before sending anything, establish that the user is permitted to share\n  the data with a hosted service, and point them to the privacy policy at\n  https://riskdesk.avidquant.com/privacy. Existing permission in the\n  conversation is sufficient.\n- Never send the synthetic demo in place of a file that failed to map.\n\n## Which tool\n\n| the file holds | tool |\n|---|---|\n| positions with market values | `risk_exposure` |\n| positions plus scenario shocks | `risk_stress` |\n| a P&L series | `risk_tail`, `risk_tail_models` |\n| VaR forecasts beside realised P&L | `risk_backtest` |\n| dated price levels per asset | `risk_stress_replay` |\n| asset returns, one row per period | `risk_covariance` |\n| options and futures with strikes and vols | `risk_derivatives_greeks` |\n| simulated exposure by date | `risk_exposure_profile` |\n| derivative trades in one netting set | `risk_saccr` |\n| obligors with exposure, PD and LGD | `risk_credit_asrf` |\n\nIf the file fits none, say so and stop. If it exceeds the limits that\n`risk_desk_status` states, say so; do not drop or sample rows to fit.\n\n## Repairs you may make, and must report\n\nRepair only where a value has one reading. Report each as row, column,\nvalue found, value written and why.\n\n- Thousands separators and currency symbols, when the currency matches.\n- Accounting negatives: `(4,200)` to `-4200`.\n- Percent text to a fraction: `-10%` to `-0.10`. A bare `-10` in a shock\n  column is ambiguous; ask.\n- Dates to `YYYY-MM-DD` only when day and month cannot be swapped.\n- Unambiguous short names to the schema's literals, such as `Call` to\n  `call`.\n- Trailing blank rows and a repeated header, with the count dropped.\n- A P&L column with losses positive, negated only when the user confirms.\n\nNever repair a blank market value, price, P&L, PD, LGD or exposure (no\nzero, no carry forward), values in another currency, an option premium\nused as a linear market value, daily P&L offered for a longer horizon, or\nduplicate ids. Ask instead.\n\n## Workflow\n\n1. Pick the tool, map columns to fields and list every required field\n   with no column.\n2. Ask once for each missing value and for `as_of`, `currency`, `source`\n   and `data_mode` if the file does not state them.\n3. Apply only permitted repairs, list them, and send the request.\n4. If the tool refuses the input, quote its message, map it to the row\n   and column, and ask for the corrected value. Do not loosen the request.\n5. Report as that tool's skill says: degraded status and reason first,\n   then the figures with currency, horizon and sign convention.\n\nReading files on the user's machine is not available here: the service\nsees only the request you send. Counterparty XVA is also not available\nhere; it needs a local ORE project and the local `risk-desk` plugin.\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":{}}