/trading-research:mine-chatfrom trading-research
Mine a Telegram/WhatsApp chat export for trading strategies using a cheap extraction agent (Haiku/Sonnet), then have the main model (Fable) codify, backtest and file the strategy into the strategy-brain vault. Use when the user says /mine-chat <export-path> or asks to analyze a trading chat export.
Ships in trading-research. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Argument: path to a chat export folder (Telegram Desktop result.json export,
or a WhatsApp _chat.txt folder). If missing, ask for it.
For Telegram exports run:
C:/Dev/elite-backtest/.venv/Scripts/python.exe C:/Dev/strategy-brain/telegram_prep.py "<export path>"
This writes compact chunks to C:/Dev/strategy-brain/prep/<slug>/chunk_*.txt.
WhatsApp _chat.txt files are already compact — chunk mentally by line ranges.
Spawn ONE Agent (subagent_type: general-purpose, model: "haiku"; use "sonnet" only if haiku's output proves too lossy) whose prompt is:
C:/Dev/strategy-brain/vault/research/mined-<slug>.md and also return it.
For very large corpora (>40 chunks) spawn 2-3 haiku agents on chunk ranges
in parallel and merge their digests yourself.C:/Dev/strategy-brain/vault/strategies/<slug>.md
with machine-runnable frontmatter when the rules map onto an existing
variant engine (see variants.py: sweep, sweep-tr, pdl-sweep, trend, orb);
otherwise status: research and describe what new variant code is needed.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub sueytame/claude-skills-collection --plugin trading-research