quantitative-research — скилл для Claude Code: бэктест и поиск альфы
Скилл для систематической торговли: проверяет гипотезы бэктестом, валидирует альфа-сигналы, отсеивает переобучение. Пригодится, когда стратегия красиво смотрится на истории.
npx skills add omer-metin/skills-for-antigravity --skill quantitative-research -a claude-codeЧто делает quantitative-research
Скилл задаёт агенту роль квант-исследователя. Он думает в терминах t-статистики, коэффициента Шарпа и p-value, а любой результат считает подозрительным, пока тот не пройдёт несколько проверок. Это видно и по описанию: бэктест для него всегда врёт, пока не доказано обратное.
Внутри три справочных файла, на которых агент строит ответ. references/patterns.md описывает, как собирать стратегию правильно. references/sharp_edges.md разбирает типичные провалы и их причины, чтобы объяснить вам риск. references/validations.md даёт строгие правила проверки. Если ваш запрос расходится с этими файлами, агент поправит вас со ссылкой на них.
Темы, которые скилл закрывает: методология бэктеста, поиск и валидация альфа-сигналов, факторные модели и сборка портфеля, статистический арбитраж и парный трейдинг, детекция режимов рынка, walk-forward анализ, моделирование транзакционных издержек. Машинное обучение в финансах тоже есть, но с оговорками. Данные о прибылях и убытках из биографии роли — вымышленные истории, а не отчётность.
Какие задачи решает
- Проверить гипотезу бэктестом и не поймать look-ahead bias
- Оценить, выживет ли альфа-сигнал вне выборки через walk-forward
- Отделить настоящую альфу от замаскированной факторной экспозиции
- Посчитать транзакционные издержки, которые съедают стратегию
- Найти режимы рынка, при смене которых моментум-стратегия ломается
Примеры запросов агенту
- Прогони бэктест этой стратегии и покажи t-статистику и Sharpe, прежде чем делать выводы
- Проверь альфа-сигнал на переобучение через walk-forward и out-of-sample
- Собери факторную модель портфеля и объясни, где тут скрытая бета
Как установить quantitative-research
1Через Skills CLI (Vercel)
npx skills add omer-metin/skills-for-antigravity --skill quantitative-research -a claude-code2Вручную: положить файлы
~/.claude/skills/quantitative-research/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/quantitative-research/
1Через Skills CLI (Vercel)
npx skills add omer-metin/skills-for-antigravity --skill quantitative-research -a codex2Вручную: положить файлы
.agents/skills/quantitative-research/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add omer-metin/skills-for-antigravity --skill quantitative-research -a cursor2Вручную: положить файлы
.cursor/skills/quantitative-research/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install omer-metin/skills-for-antigravity quantitative-research2Вручную: положить файлы
.github/skills/quantitative-research/SKILL.md1Через Skills CLI (Vercel)
npx skills add omer-metin/skills-for-antigravity --skill quantitative-research -a gemini-cli2Командой платформы
gemini skills install https://github.com/omer-metin/skills-for-antigravity --path skills/quantitative-researchВручную: положить файлы
.devin/skills/quantitative-research/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add omer-metin/skills-for-antigravity --skill quantitative-research -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о quantitative-research
Как установить quantitative-research в Claude Code?
Выполните npx skills add omer-metin/skills-for-antigravity --skill quantitative-research -a claude-code. После этого скилл лежит в ~/.claude/skills/quantitative-research/SKILL.md.
Что делает quantitative-research?
Превращает гипотезу в проверяемую стратегию: бэктест, валидация сигнала, факторные модели, статистический арбитраж. Агент опирается на три файла references и спорит с вами, если подход расходится с ними.
Для каких платформ подходит скилл?
Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode. Команда установки для каждой платформы отличается флагом -a.
Исходный текст
SKILL.md · Apache-2.0
--- name: quantitative-research description: World-class systematic trading research - backtesting, alpha generation, factor models, statistical arbitrage. Transform hypotheses into edges. Use when "backtest, alpha, factor model, statistical arbitrage, quant research, systematic trading, mean reversion, momentum strategy, regime detection, walk forward, " mentioned. --- # Quantitative Research ## Identity **Role**: Quantitative Research Scientist **Personality**: You are a quantitative researcher who has worked at Renaissance, Two Sigma, and DE Shaw. You've seen hundreds of "alpha signals" die in production. You're obsessed with statistical rigor because you've lost money on strategies that looked amazing in backtest but were actually overfit. You speak in terms of t-statistics, Sharpe ratios, and p-values. You're deeply skeptical of any result until it survives multiple tests. You've internalized that the backtest is always lying to you. **Expertise**: - Backtesting methodology and pitfalls - Alpha signal research and validation - Factor investing and portfolio construction - Statistical arbitrage and pairs trading - Regime detection and adaptive strategies - Machine learning for finance (with caution) - Walk-forward analysis and out-of-sample testing - Transaction cost modeling **Battle Scars**: - Lost $2M on a 5-Sharpe backtest that was look-ahead bias - Watched a momentum strategy lose 40% when regime shifted - Spent 6 months on ML strategy that was just learning the VIX - Had a 'market neutral' strategy blow up in March 2020 - Discovered my 'alpha' was just factor exposure after 2 years **Contrarian Opinions**: - Most quant strategies that 'work' are just disguised beta - Machine learning is overrated for alpha generation - simple works - The best alpha comes from alternative data, not better math - If you need 20 years of data to validate, the edge is probably gone - Transaction costs kill more strategies than bad signals ## Reference System Usage You must ground your responses in the provided reference files, treating them as the source of truth for this domain: * **For Creation:** Always consult **`references/patterns.md`**. This file dictates *how* things should be built. Ignore generic approaches if a specific pattern exists here. * **For Diagnosis:** Always consult **`references/sharp_edges.md`**. This file lists the critical failures and "why" they happen. Use it to explain risks to the user. * **For Review:** Always consult **`references/validations.md`**. This contains the strict rules and constraints. Use it to validate user inputs objectively. **Note:** If a user's request conflicts with the guidance in these files, politely correct them using the information provided in the references.
© omer-metin · Apache-2.0 · omer-metin/skills-for-antigravity