Claude-trading-skills edge-hint-extractor
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.
install
source · Clone the upstream repo
git clone https://github.com/tradermonty/claude-trading-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/tradermonty/claude-trading-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/edge-hint-extractor" ~/.claude/skills/tradermonty-claude-trading-skills-edge-hint-extractor && rm -rf "$T"
manifest:
skills/edge-hint-extractor/SKILL.mdsource content
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
input for concept synthesis or auto detection.hints.yaml
Prerequisites
- Python 3.9+
PyYAML- Optional inputs from detector run:
market_summary.jsonanomalies.json
ornews_reactions.csvnews_reactions.json
Output
containing:hints.yaml
listhints- generation metadata
- rule/LLM hint counts
Workflow
- Gather observation files (
,market_summary
, optional news reactions).anomalies - Run
to generate deterministic hints.scripts/build_hints.py - Optionally augment hints with LLM ideas via one of two methods:
- a.
— pipe data to an external LLM CLI (subprocess).--llm-ideas-cmd - b.
— load pre-written hints from a YAML file (for Claude Code workflows where Claude generates hints itself).--llm-ideas-file PATH
- a.
- Pass
into concept synthesis or auto detection.hints.yaml
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):
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):
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):
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.pyreferences/hints_schema.md