Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add JoelLewis/finance_skills --skill volatility-modelinggit clone --depth 1 https://github.com/JoelLewis/finance_skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/joellewis/finance_skills/volatility-modeling)<a href="https://agentmods.dev/skills/joellewis/finance_skills/volatility-modeling"><img src="https://agentmods.dev/badge/skills/joellewis/finance_skills/volatility-modeling/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/joellewis/finance_skills/volatility-modeling"><img src="https://agentmods.dev/badge/skills/joellewis/finance_skills/volatility-modeling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00113 | $0.03297 |
| Opus 5.5 | $0.00045 | $0.01319 |
| Sonnet 5.5 | $0.00023 | $0.00659 |
| Haiku 4.5 | $0.00011 | $0.00330 |
Grade A, and why
volatility-modeling scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 244 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Volatility Modeling
Core Concepts
EWMA (Exponentially Weighted Moving Average)
A simple volatility model that gives more weight to recent observations. RiskMetrics popularized this approach with a standard decay factor.
sigma^2_t = lambda * sigma^2_{t-1} + (1 - lambda) * r^2_{t-1}
where:
- lambda = decay factor (RiskMetrics standard: 0.94 for daily, 0.97 for monthly)
- r_{t-1} = return in period t-1 (typically demeaned, but for daily returns the mean is often assumed to be zero)
- sigma^2_{t-1} = previous period's variance estimate
Properties:
- Assigns exponentially decaying weights to past squared returns.
- Effective window is approximately 1/(1 - lambda) observations. For lambda = 0.94, effective window is approximately 17 days.
- No mean reversion: the model is equivalent to IGARCH (integrated GARCH) where alpha + beta = 1. Volatility shocks persist indefinitely.
- Simple to implement and requires only one parameter.
GARCH(1,1)
The Generalized Autoregressive Conditional Heteroskedasticity model adds a constant term that induces mean reversion in volatility.
sigma^2_t = omega + alpha * r^2_{t-1} + beta * sigma^2_{t-1}
where:
- omega > 0: constant term (determines long-run variance level)
- alpha >= 0: reaction coefficient (sensitivity to recent shocks)
- beta >= 0: persistence coefficient (memory of past variance)
Stationarity condition: alpha + beta < 1. This ensures the process is covariance-stationary and mean-reverting.
Long-run (unconditional) variance:
V_L = omega / (1 - alpha - beta)
Long-run annualized volatility: sigma_L = sqrt(V_L * 252).
Persistence: The quantity alpha + beta measures how quickly volatility reverts to its long-run level. Higher persistence means slower mean reversion.
Half-life of volatility shocks: The number of periods for a volatility shock to decay by half:
h = -ln(2) / ln(alpha + beta)
Since alpha + beta < 1, ln(alpha + beta) < 0, and h is positive.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 244 lines · 113 tokens per session scan A e405288f1617
volatility-modeling is a skill published in the GitHub repository JoelLewis/finance_skills (272 stars, last pushed 3d ago), licensed MIT. It adds 113 tokens to every session and 3,297 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-27.
volatility-modeling compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| volatility-modelingJoelLewis/finance_skills | Skill | 272 | 3d ago | MIT | A | 113 | Claude Code |
| Freelance EmpireLeoYeAI/openclaw-master-skills | Skill | 2.2k | 8d ago | MIT | A | 71 | Claude Code, Codex |
| agent-otc-tradeLeoYeAI/openclaw-master-skills | Skill | 2.2k | 8d ago | MIT | A | 80 | Claude Code |
| agentic-streetLeoYeAI/openclaw-master-skills | Skill | 2.2k | 8d ago | MIT | A | 91 | Claude Code, Codex |
| alpha-vantageforyourhealth111-pixel/Vibe-Skills | Skill | 3.9k | 21d ago | Apache-2.0 | A | 126 | Claude Code, Codex |
| prompt-proximity-architectureelvisun/newsjack | Skill | 1.7k | 4d ago | MIT | A | 67 | Claude Code |
| syndicromainsimon/paperasse | Skill | 2.6k | 18d ago | MIT | A | 204 | Claude Code |