Regime
jackson-video-resources/markov-hedge-fund-method
Detect the market regime (Bull / Bear / Sideways) for ANY asset and turn it into a tradeable signal or a risk filter.
Volatility forecasting and position sizing via walk-forward GARCH(1,1).
$ npx skills add milesdeutscher/garchmethod --skill garch-method -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install milesdeutscher/garchmethod garch-method --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/milesdeutscher/garchmethod.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/garch .claude/skills/garch-method && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "garch-method" agent skill from https://github.com/milesdeutscher/garchmethod/tree/main/skills/garch into .claude/skills/garch-method/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "garch-method", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/milesdeutscher/garchmethod/tree/main/skills/garchType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add milesdeutscher/garchmethod --skill garch-method -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install milesdeutscher/garchmethod garch-method --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/milesdeutscher/garchmethod.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/garch .agents/skills/garch-method && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "garch-method" agent skill from https://github.com/milesdeutscher/garchmethod/tree/main/skills/garch into .agents/skills/garch-method/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "garch-method", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add milesdeutscher/garchmethod --skill garch-method -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install milesdeutscher/garchmethod garch-method --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/milesdeutscher/garchmethod.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/garch .cursor/skills/garch-method && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "garch-method" agent skill from https://github.com/milesdeutscher/garchmethod/tree/main/skills/garch into .cursor/skills/garch-method/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "garch-method", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/milesdeutscher/garchmethod.git --path skills/garch--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add milesdeutscher/garchmethod --skill garch-method -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install milesdeutscher/garchmethod garch-method --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/milesdeutscher/garchmethod.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/garch .gemini/skills/garch-method && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "garch-method" agent skill from https://github.com/milesdeutscher/garchmethod/tree/main/skills/garch into .gemini/skills/garch-method/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "garch-method", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install milesdeutscher/garchmethod garch-methodInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add milesdeutscher/garchmethod --skill garch-method -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/milesdeutscher/garchmethod.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/garch .github/skills/garch-method && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "garch-method" agent skill from https://github.com/milesdeutscher/garchmethod/tree/main/skills/garch into .github/skills/garch-method/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "garch-method", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add milesdeutscher/garchmethod --skill garch-method -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install milesdeutscher/garchmethod garch-method --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/milesdeutscher/garchmethod.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/garch .opencode/skills/garch-method && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "garch-method" agent skill from https://github.com/milesdeutscher/garchmethod/tree/main/skills/garch into .opencode/skills/garch-method/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "garch-method", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
garch-methodVolatility forecasting and position sizing via walk-forward GARCH(1,1).
Garch Method is an agent skill from milesdeutscher/garchmethod. Volatility forecasting and position sizing via walk-forward GARCH(1,1). Use whenever the user asks about volatility forecasts, position sizing, "how much should I put on", vol targeting, risk throttling, storm/calm regimes, or wants to test whether vol-targeted sizing improves an existing strategy. Works on any ticker (yfinance) or any CSV with date + close columns. Answers "how much" — never "which way".
Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Data & Analytics, covering Forecasting and time series, Stock and market analysis and CSV and tabular files. It works with yfinance. The licence is MIT.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit e1e93d9. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
uvFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Garch Method loads about 1k tokens when it runs. Until then it costs about 105 tokens; SKILL.md has 431 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from milesdeutscher/garchmethod at commit e1e93d9, republished under its MIT licence (© milesdeutscher). 431 words, ~1,031 tokens.
.claude/skills/garch-method/SKILL.md (or your agent's skills folder).This skill answers the question retail never asks and every fund asks daily: how much?
It does NOT predict direction. GARCH forecasts the magnitude of moves — how violent tomorrow is likely to be, not which way it goes. Say this to the user whenever presenting results.
All scripts live in scripts/ and run with uv run (dependencies resolve automatically via inline metadata — nothing to pip-install).
garch_forecast.py — the forecastWalk-forward GARCH(1,1), zero lookahead (params re-estimated every 21 days on an expanding window; the recursion rolls forward between refits using only past data).
uv run scripts/garch_forecast.py --csv prices.csv --json
uv run scripts/garch_forecast.py --ticker BTC-USD --jsonOutput: 1-day-ahead vol forecast (daily + annualized), vol percentile vs trailing year, regime (calm / normal / storm).
vol_target.py — the sizeThe entire idea: size = target_vol / forecast_vol, capped at [0.25x, 2.0x].
uv run scripts/vol_target.py --csv prices.csv --target-vol 15 --jsonOutput: position size multiplier. "Run 0.6x your baseline" — that's the answer.
compare.py — the honest testRuns the same signals twice — fixed size vs vol-targeted — and shows both equity curves plus stats side by side. Ships with an EMA 9/21 crossover demo; accepts any strategy via --signals mine.csv (columns: date, signal in {-1,0,1}).
uv run scripts/compare.py --csv prices.csv --target-vol 58 --chart equity.png --json
uv run scripts/compare.py --csv prices.csv --signals mine.csvOutput: CAGR, ann vol, Sharpe, max drawdown, worst month, final equity — both versions — plus the equity-curve chart with storm regimes shaded.
Every script supports --json. Core output shape:
{
"as_of": "2026-05-23",
"forecast_vol_annualized_pct": 41.2,
"vol_percentile_1y": 78.0,
"regime": "storm",
"position_size_multiplier": 0.6,
"note": "GARCH forecasts magnitude (volatility), not direction."
}A. Sizing layer — bolt onto any existing strategy. Your strategy decides if; this skill decides how much. Take the strategy's signal, multiply by position_size_multiplier, done.
B. Risk throttle — standalone kill-switch. If regime == "storm", cut all exposure to the multiplier regardless of what your signals say. Works with any agent that manages positions.
C. Comparison harness — before trusting any strategy, run it through compare.py and check whether vol targeting improves its Sharpe / drawdown. If sizing doesn't help, the strategy's edge may be too weak to survive real conditions.
Composes cleanly with regime-direction skills (e.g. Markov-style bull/bear classifiers): their output answers which way, this answers how much. Multiply the two.
--periods-per-year 365 (default). Stocks: --periods-per-year 252.© milesdeutscher, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/garch of milesdeutscher/garchmethod.
Open the folder on GitHubat commit e1e93d9
Garch Method next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Garch Method this skillmilesdeutscher/garchmethod | 191 | — | ~1k | Automated safety check: Pass | MIT | |
| Regimejackson-video-resources/markov-hedge-fund-method | 483 | — | ~1.6k | Automated safety check: Pass | Custom licence | |
| Exploring Dataoaustegard/claude-skills | 150 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Hedgefundmonitormajiayu000/claude-skill-registry | 666 | 3 repos | ~1.7k | Automated safety check: Pass | MIT | |
| Visual Skillsnpc-live/clawfirm | 156 | — | ~7.4k | Automated safety check: Pass | None | |
| Informer2020VectorSpaceLab/AREX-Skill | 328 | — | ~1.1k | Automated safety check: Pass | Apache-2.0 |
jackson-video-resources/markov-hedge-fund-method
Detect the market regime (Bull / Bear / Sideways) for ANY asset and turn it into a tradeable signal or a risk filter.
oaustegard/claude-skills
Exploratory data analysis. An agent skill from oaustegard/claude-skills.
majiayu000/claude-skill-registry
Query the OFR (Office of Financial Research) Hedge Fund Monitor API for hedge fund data including SEC Form PF aggregated statistics, CFTC Traders in Financial Futures, FICC Sponsored Repo volumes…
npc-live/clawfirm
A skill your agent uses whenever the user provides data (CSV, JSON, table, pasted numbers, or any structured dataset) and expects a visual output — even if they don't say 'chart' or 'visualize'.
VectorSpaceLab/AREX-Skill
A skill your agent uses for Informer2020 long-sequence time-series forecasting training, evaluation, custom CSV preparation, and prediction workflows.
firecrawl/web-agent
Pulls a public company's latest 10-K or 10-Q figures and analyst consensus from SEC EDGAR and Yahoo Finance, then cross-checks the two sources.
Works with
Categories
Volatility forecasting and position sizing via walk-forward GARCH(1,1). Garch Method is an agent skill from milesdeutscher/garchmethod. Volatility forecasting and position sizing via walk-forward GARCH(1,1).
Garch Method fits situations like: the user asks about volatility forecasts; position sizing; how much should I put on; risk throttling.
Run `npx skills add milesdeutscher/garchmethod --skill garch-method -a claude-code`. Or copy the skill folder (skills/garch in milesdeutscher/garchmethod) into .claude/skills/garch-method in your project. Claude Code loads it when a task matches its description.
Run `npx skills add milesdeutscher/garchmethod --skill garch-method -a codex`. Or copy the skill folder (skills/garch in milesdeutscher/garchmethod) into .agents/skills/garch-method in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add milesdeutscher/garchmethod --skill garch-method -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/garch-method, .gemini/skills/garch-method, .github/skills/garch-method and .opencode/skills/garch-method in your project.
Going by SKILL.md and its folder, Garch Method needs the command-line tools its instructions call (uv).
SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Garch Method is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Garch Method: Regime (jackson-video-resources/markov-hedge-fund-method, 483 stars), Exploring Data (oaustegard/claude-skills, 150 stars), Hedgefundmonitor (majiayu000/claude-skill-registry, 666 stars) and Visual Skills (npc-live/clawfirm, 156 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
milesdeutscher (a GitHub user) maintains it in milesdeutscher/garchmethod, which has 191 GitHub stars. The repository was last updated on July 8, 2026.
Source: milesdeutscher/garchmethod on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.