edge-hint-extractor
tradermonty/claude-trading-skills
Extract market observations into structured edge hints for trading concept synthesis and auto-detection.
What is edge-hint-extractor?
Converts raw market observations, anomalies, and news reactions into canonical hints.yaml for downstream trading workflows. Use this as the first stage in the observe→abstract→design→pipeline workflow to turn daily signals into reusable, structured hint objects.
- Converts market_summary, anomalies, and news_reactions into structured hint objects
- Generates deterministic rule-based hints from observation data
- Optionally augments hints with LLM-generated ideas via external CLI or pre-written YAML
- Outputs canonical hints.yaml with generation metadata and hint counts
- Integrates with concept synthesis and auto-detection downstream workflows
How to install edge-hint-extractor
npx skills add https://github.com/tradermonty/claude-trading-skills --skill edge-hint-extractor- Python 3.9 or higher
- PyYAML library
- Input files: market_summary.json and anomalies.json (news_reactions optional)
How to use edge-hint-extractor
- 1.Gather observation files (market_summary.json, anomalies.json, and optionally news_reactions.csv/json)
- 2.Run build_hints.py with --market-summary and --anomalies flags pointing to your input files
- 3.Optionally add LLM augmentation via --llm-ideas-cmd (external CLI) or --llm-ideas-file (pre-written YAML)
- 4.Specify --output-dir to control where hints.yaml is written
- 5.Pass the generated hints.yaml into concept synthesis or auto-detection downstream tools
Use cases
- Turn daily market observations into reusable hint objects for trading strategy development
- Generate LLM-constrained trading ideas based on current market anomalies and news context
- Prepare structured hint input for concept synthesis or automated edge detection pipelines
- Combine rule-based and LLM-generated hints in a single canonical format for multi-stage trading workflows
- Quantitative traders building multi-stage observation and synthesis workflows
- Trading researchers converting market signals into structured concept definitions
- Teams using Claude Code for collaborative trading strategy development
edge-hint-extractor FAQ
--llm-ideas-cmd pipes data to an external LLM CLI via subprocess; --llm-ideas-file loads pre-written hints from a YAML file (useful in Claude Code workflows where Claude generates hints itself). They are mutually exclusive.
market_summary.json and anomalies.json are required. news_reactions.csv or news_reactions.json is optional for richer context.
The default output location is reports/edge_hint_extractor/hints.yaml, but you can override it with --output-dir.
It can run standalone to generate hints.yaml, but it's designed as the first stage in a multi-stage workflow (observe→abstract→design→pipeline) that feeds into concept synthesis or auto-detection.
hints.yaml contains the hints list, generation metadata (timestamps, input file references), and counts of rule-based vs. LLM-generated hints.
Full instructions (SKILL.md)
Source of truth, from tradermonty/claude-trading-skills.
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.yamlinput for concept synthesis or auto detection.
Prerequisites
- Python 3.9+
PyYAML- Optional inputs from detector run:
market_summary.jsonanomalies.jsonnews_reactions.csvornews_reactions.json
Output
hints.yamlcontaining:hintslist- generation metadata
- rule/LLM hint counts
Workflow
- Gather observation files (
market_summary,anomalies, optional news reactions). - Run
scripts/build_hints.pyto generate deterministic hints. - 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).
- a.
- Pass
hints.yamlinto 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):
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
Related skills
More from tradermonty/claude-trading-skills and the wider catalog.

edge-pipeline-orchestrator
Orchestrate multi-stage edge research pipelines from candidate detection through strategy export.

edge-signal-aggregator
Aggregate and rank signals from multiple edge-finding skills into a prioritized conviction dashboard with weighted scoring and contradiction detection.

edge-strategy-designer
Convert trading edge concepts into strategy draft variants with optional exportable ticket YAMLs.

edge-strategy-reviewer
Quality gate for trading strategy drafts—evaluates edge plausibility, overfitting risk, and execution realism before pipeline export.

exposure-coach
Synthesize market signals into a unified exposure ceiling and portfolio posture recommendation.

finviz-screener
Build and open FinViz screener URLs from natural language stock filtering requests in English or Japanese.