Agent Skillstradermonty/claude-trading-skills › edge-hint-extractor

edge-hint-extractor

GitHub

将市场观察、异常和新闻反应转化为结构化的边缘提示,支持规则生成与LLM增强,输出hints.yaml供下游概念合成使用。

skills/edge-hint-extractor/SKILL.md tradermonty/claude-trading-skills

Trigger Scenarios

需要整理每日市场观察数据为结构化提示 需结合异常和新闻进行LLM辅助构思 准备概念合成或自动检测的输入文件

Install

npx skills add tradermonty/claude-trading-skills --skill edge-hint-extractor -g -y
More Options

Use without installing

npx skills use tradermonty/claude-trading-skills@edge-hint-extractor

指定 Agent (Claude Code)

npx skills add tradermonty/claude-trading-skills --skill edge-hint-extractor -a claude-code -g -y

安装 repo 全部 skill

npx skills add tradermonty/claude-trading-skills --all -g -y

预览 repo 内 skill

npx skills add tradermonty/claude-trading-skills --list

SKILL.md

Frontmatter
{
    "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):

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.py
  • references/hints_schema.md

Version History

  • 769a6c8 Current 2026-08-20 07:01

Same Skill Collection

examples/weekly-trade-strategy/.claude/skills/breadth-chart-analyst/SKILL.md
examples/weekly-trade-strategy/.claude/skills/market-environment-analysis/SKILL.md
examples/weekly-trade-strategy/.claude/skills/sector-analyst/SKILL.md
examples/weekly-trade-strategy/.claude/skills/stanley-druckenmiller-investment/SKILL.md
examples/weekly-trade-strategy/.claude/skills/technical-analyst/SKILL.md
examples/weekly-trade-strategy/.claude/skills/us-market-bubble-detector/SKILL.md
examples/weekly-trade-strategy/.claude/skills/us-stock-analysis/SKILL.md
examples/weekly-trade-strategy/skills/breadth-chart-analyst/SKILL.md
examples/weekly-trade-strategy/skills/market-environment-analysis/SKILL.md
examples/weekly-trade-strategy/skills/sector-analyst/SKILL.md
examples/weekly-trade-strategy/skills/stanley-druckenmiller-investment/SKILL.md
examples/weekly-trade-strategy/skills/technical-analyst/SKILL.md
examples/weekly-trade-strategy/skills/us-market-bubble-detector/SKILL.md
examples/weekly-trade-strategy/skills/us-stock-analysis/SKILL.md
skills/backtest-expert/SKILL.md
skills/breakout-trade-planner/SKILL.md
skills/canslim-screener/SKILL.md
skills/contrarian-setup-gate/SKILL.md
skills/crypto-regime-analyzer/SKILL.md
skills/data-quality-checker/SKILL.md
skills/downtrend-duration-analyzer/SKILL.md
skills/drawdown-circuit-breaker/SKILL.md
skills/dual-axis-skill-reviewer/SKILL.md
skills/earnings-trade-analyzer/SKILL.md
skills/economic-calendar-fetcher/SKILL.md
skills/edge-candidate-agent/SKILL.md
skills/edge-concept-synthesizer/SKILL.md
skills/edge-pipeline-orchestrator/SKILL.md
skills/edge-signal-aggregator/SKILL.md
skills/edge-strategy-designer/SKILL.md
skills/edge-strategy-reviewer/SKILL.md
skills/exposure-coach/SKILL.md
skills/finviz-screener/SKILL.md
skills/futures-position-sizer/SKILL.md
skills/fxmacrodata-calendar/SKILL.md
skills/ibd-distribution-day-monitor/SKILL.md
skills/institutional-flow-tracker/SKILL.md
skills/kanchi-dividend-review-monitor/SKILL.md
skills/kanchi-dividend-us-tax-accounting/SKILL.md
skills/macro-regime-detector/SKILL.md
skills/market-breadth-analyzer/SKILL.md
skills/market-environment-analysis/SKILL.md
skills/market-top-detector/SKILL.md
skills/mt5-robot-tester/SKILL.md
skills/options-strategy-advisor/SKILL.md
skills/pair-trade-screener/SKILL.md
skills/portfolio-manager/SKILL.md
skills/position-sizer/SKILL.md
skills/pre-trade-discipline-gate/SKILL.md

Metadata

Files
0
Version
769a6c8
Hash
875efa93
Indexed
2026-08-20 07:01

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-22 05:02
浙ICP备14020137号-1 $mapa de visitantes$