edge-hint-extractor — скилл для Claude Code: хинты из наблюдений
Превращает дневные наблюдения за рынком и реакции на новости в структурированные хинты и собирает их в hints.yaml.
npx skills add tradermonty/claude-trading-skills --skill edge-hint-extractor -a claude-codeЧто делает edge-hint-extractor
Скилл берёт сырые сигналы — market_summary, anomalies и реакции на новости — и превращает их в набор хинтов. Это первая ступень цепочки observe -> abstract -> design -> pipeline: дальше hints.yaml уходит в синтез концепций или авто-детекцию.
Внутри один скрипт scripts/build_hints.py. Он строит детерминированные хинты по правилам, а идеи от модели добавляются двумя взаимоисключающими способами: --llm-ideas-cmd гонит данные во внешний LLM CLI через subprocess, --llm-ideas-file PATH читает заранее написанный YAML — этот вариант рассчитан на Claude, где хинты генерирует сам агент. Флаги --llm-ideas-cmd и --llm-ideas-file вместе не сработают.
Нужен Python 3.9+ и PyYAML. Файлы наблюдений необязательны, но без них строить нечего: market_summary.json и anomalies.json берутся из прогона детектора, реакции на новости — news_reactions.csv или news_reactions.json. По умолчанию результат ложится в reports/edge_hint_extractor/hints.yaml, схема описана в references/hints_schema.md.
Какие задачи решает
- собрать хинты из дневных наблюдений за рынком
- добавить идеи модели к аномалиям и новостям
- получить чистый
hints.yamlдля синтеза концепций - подготовить вход для авто-детекции
- свести сигналы детектора в один структурированный файл
Примеры запросов агенту
- Собери хинты из
market_summary.jsonиanomalies.jsonза 2026-02-20 вreports/ - Добавь к хинтам свои идеи по текущим аномалиям и сохрани
hints.yaml - Прогони
build_hints.pyс--llm-ideas-file /tmp/llm_hints.yaml
Как установить edge-hint-extractor
1Через Skills CLI (Vercel)
npx skills add tradermonty/claude-trading-skills --skill edge-hint-extractor -a claude-code2Вручную: положить файлы
~/.claude/skills/edge-hint-extractor/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/edge-hint-extractor/
1Через Skills CLI (Vercel)
npx skills add tradermonty/claude-trading-skills --skill edge-hint-extractor -a codex2Вручную: положить файлы
.agents/skills/edge-hint-extractor/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add tradermonty/claude-trading-skills --skill edge-hint-extractor -a cursor2Вручную: положить файлы
.cursor/skills/edge-hint-extractor/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install tradermonty/claude-trading-skills edge-hint-extractor2Вручную: положить файлы
.github/skills/edge-hint-extractor/SKILL.md1Через Skills CLI (Vercel)
npx skills add tradermonty/claude-trading-skills --skill edge-hint-extractor -a gemini-cli2Командой платформы
gemini skills install https://github.com/tradermonty/claude-trading-skills --path skills/edge-hint-extractorВручную: положить файлы
.devin/skills/edge-hint-extractor/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add tradermonty/claude-trading-skills --skill edge-hint-extractor -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Из того же набора73
Похожие
Рядом в теме «Финансы и бизнес»
Всё по теме «Финансы и бизнес» →Вопросы о edge-hint-extractor
Как установить edge-hint-extractor в Claude Code?
Выполните npx skills add tradermonty/claude-trading-skills --skill edge-hint-extractor -a claude-code. Скилл окажется в ~/.claude/skills/edge-hint-extractor/SKILL.md.
Что делает edge-hint-extractor?
Превращает наблюдения за рынком и реакции на новости в структурированные хинты и пишет их в hints.yaml вместе с метаданными генерации и счётчиками rule/LLM-хинтов.
Чем отличаются --llm-ideas-cmd и --llm-ideas-file?
Первый передаёт данные внешнему LLM CLI через subprocess, второй читает уже готовые хинты из YAML-файла. Одновременно эти флаги использовать нельзя.
Исходный текст
SKILL.md · MIT
--- name: edge-hint-extractor description: Extract edge hints from daily market observations and news reactions, with optional LLM ideation, and output canonical hints.yaml for downstream concept synthesis and auto detection. --- # Edge Hint Extractor ## Overview Convert raw observation signals (`market_summary`, `anomalies`, `news reactions`) into structured edge hints. This skill is the first stage in the split workflow: `observe -> abstract -> design -> pipeline`. ## When to Use - You want to turn daily market observations into reusable hint objects. - You want LLM-generated ideas constrained by current anomalies/news context. - You need a clean `hints.yaml` input for concept synthesis or auto detection. ## Prerequisites - Python 3.9+ - `PyYAML` - Optional inputs from detector run: - `market_summary.json` - `anomalies.json` - `news_reactions.csv` or `news_reactions.json` ## Output - `hints.yaml` containing: - `hints` list - generation metadata - rule/LLM hint counts ## Workflow 1. Gather observation files (`market_summary`, `anomalies`, optional news reactions). 2. Run `scripts/build_hints.py` to generate deterministic hints. 3. Optionally augment hints with LLM ideas via one of two methods: - a. `--llm-ideas-cmd` — pipe data to an external LLM CLI (subprocess). - b. `--llm-ideas-file PATH` — load pre-written hints from a YAML file (for Claude Code workflows where Claude generates hints itself). 4. Pass `hints.yaml` into concept synthesis or auto detection. Note: `--llm-ideas-cmd` and `--llm-ideas-file` are mutually exclusive. ## Quick Commands Rule-based only (default output to `reports/edge_hint_extractor/hints.yaml`): ```bash python3 skills/edge-hint-extractor/scripts/build_hints.py \ --market-summary /tmp/edge-auto/market_summary.json \ --anomalies /tmp/edge-auto/anomalies.json \ --news-reactions /tmp/news_reactions.csv \ --as-of 2026-02-20 \ --output-dir reports/ ``` Rule + LLM augmentation (external CLI): ```bash python3 skills/edge-hint-extractor/scripts/build_hints.py \ --market-summary /tmp/edge-auto/market_summary.json \ --anomalies /tmp/edge-auto/anomalies.json \ --llm-ideas-cmd "python3 /path/to/llm_ideas_cli.py" \ --output-dir reports/ ``` Rule + LLM augmentation (pre-written file, for Claude Code): ```bash python3 skills/edge-hint-extractor/scripts/build_hints.py \ --market-summary /tmp/edge-auto/market_summary.json \ --anomalies /tmp/edge-auto/anomalies.json \ --llm-ideas-file /tmp/llm_hints.yaml \ --output-dir reports/ ``` ## Resources - `skills/edge-hint-extractor/scripts/build_hints.py` - `references/hints_schema.md`
© tradermonty · MIT · tradermonty/claude-trading-skills