Agent Skills
› tradermonty/claude-trading-skills
› edge-concept-synthesizer
edge-concept-synthesizer
GitHub将检测票证抽象为可复用的边缘概念,生成包含论点、失效信号和策略手册的结构化输出。用于在策略设计前聚类证据、去重并提炼机制级结构,避免直接过拟合。
Trigger Scenarios
需要将大量原始检测票证转化为结构化概念
在进行策略起草前需要概念级的审查与验证
Install
npx skills add tradermonty/claude-trading-skills --skill edge-concept-synthesizer -g -y
SKILL.md
Frontmatter
{
"name": "edge-concept-synthesizer",
"description": "Abstract detector tickets and hints into reusable edge concepts with thesis, invalidation signals, and strategy playbooks before strategy design\/export."
}
Edge Concept Synthesizer
Overview
Create an abstraction layer between detection and strategy implementation.
This skill clusters ticket evidence, summarizes recurring conditions, and outputs edge_concepts.yaml with explicit thesis and invalidation logic.
When to Use
- You have many raw tickets and need mechanism-level structure.
- You want to avoid direct ticket-to-strategy overfitting.
- You need concept-level review before strategy drafting.
Prerequisites
- Python 3.9+
PyYAML- Ticket YAML directory from detector output (
tickets/exportable,tickets/research_only) - Optional
hints.yaml
Output
edge_concepts.yamlcontaining:- concept clusters
- support statistics
- abstract thesis
- invalidation signals
- export readiness flag
Workflow
- Collect ticket YAML files from auto-detection output.
- Optionally provide
hints.yamlfor context matching. - Run
scripts/synthesize_edge_concepts.py. - Deduplicate concepts: merge same-hypothesis concepts with overlapping conditions (containment > threshold).
- Review concepts and promote only high-support concepts into strategy drafting.
Quick Commands
python3 skills/edge-concept-synthesizer/scripts/synthesize_edge_concepts.py \
--tickets-dir /tmp/edge-auto/tickets \
--hints /tmp/edge-hints/hints.yaml \
--output /tmp/edge-concepts/edge_concepts.yaml \
--min-ticket-support 2
# With hint promotion and synthetic cap
python3 skills/edge-concept-synthesizer/scripts/synthesize_edge_concepts.py \
--tickets-dir /tmp/edge-auto/tickets \
--hints /tmp/edge-hints/hints.yaml \
--output /tmp/edge-concepts/edge_concepts.yaml \
--promote-hints \
--max-synthetic-ratio 1.5
# With custom dedup threshold (or disable dedup)
python3 skills/edge-concept-synthesizer/scripts/synthesize_edge_concepts.py \
--tickets-dir /tmp/edge-auto/tickets \
--output /tmp/edge-concepts/edge_concepts.yaml \
--overlap-threshold 0.6
python3 skills/edge-concept-synthesizer/scripts/synthesize_edge_concepts.py \
--tickets-dir /tmp/edge-auto/tickets \
--output /tmp/edge-concepts/edge_concepts.yaml \
--no-dedup
Resources
skills/edge-concept-synthesizer/scripts/synthesize_edge_concepts.pyreferences/concept_schema.md
Version History
- 769a6c8 Current 2026-08-20 07:01


