edge-hint-extractor
Extract edge hints from daily market observations and news reactions, with optional LLM ideation, and output canonical hints.yaml for downstream con…
它会碰到什么
逐条看命中(1 条严重或高危)
- 高
scripts/build_hints.py:359exec-spawnresult = subprocess.run(
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
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).
- 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
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。