Calculate historical VaR and Expected Shortfall from supplied horizon P&L. Use for loss quantiles and tail severity, not counterparty XVA.
Scanned 9/28/2026
Install to Claude Code
npx -y skills add Iman/agent-driven-risk-desk-and-skills --skill risk-tail --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Risk Tail?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/iman-risk-tail-c3b96d28)More formats (shields.io, HTML) on the badges page.
---
name: risk-tail
description: Calculate historical VaR and Expected Shortfall from supplied horizon P&L. Use for loss quantiles and tail severity, not counterparty XVA.
---
# Risk Tail
Use `risk_tail` with the TailRequest contract in [input contracts](../../references/contracts.md).
The CLI equivalent is `riskdesk tail --input PATH`.
Require the currency, as-of date, source, data mode, portfolio value, confidence and horizon. Each P&L observation must already cover that horizon. Do not convert daily results to another horizon by silently scaling them.
Report degraded status first. Give VaR and Expected Shortfall as monetary losses; negative values mean gains. Include sample count and tail probability mass. The small-tail warning is a reporting rule, not a confidence test. Do not call ES the mean of all losing observations. These are empirical results, not validated forecasts.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!