$npx -y skills add mphinance/alpha-skills --skill edge-concept-synthesizerAbstract detector tickets and hints into reusable edge concepts with thesis, invalidation signals, and strategy playbooks before strategy design/export.
| 1 | # Edge Concept Synthesizer |
| 2 | |
| 3 | ## Overview |
| 4 | |
| 5 | Create an abstraction layer between detection and strategy implementation. |
| 6 | This skill clusters ticket evidence, summarizes recurring conditions, and outputs `edge_concepts.yaml` with explicit thesis and invalidation logic. |
| 7 | |
| 8 | ## When to Use |
| 9 | |
| 10 | - You have many raw tickets and need mechanism-level structure. |
| 11 | - You want to avoid direct ticket-to-strategy overfitting. |
| 12 | - You need concept-level review before strategy drafting. |
| 13 | |
| 14 | ## Prerequisites |
| 15 | |
| 16 | - Python 3.9+ |
| 17 | - `PyYAML` |
| 18 | - Ticket YAML directory from detector output (`tickets/exportable`, `tickets/research_only`) |
| 19 | - Optional `hints.yaml` |
| 20 | |
| 21 | ## Output |
| 22 | |
| 23 | - `edge_concepts.yaml` containing: |
| 24 | - concept clusters |
| 25 | - support statistics |
| 26 | - abstract thesis |
| 27 | - invalidation signals |
| 28 | - export readiness flag |
| 29 | |
| 30 | ## Workflow |
| 31 | |
| 32 | 1. Collect ticket YAML files from auto-detection output. |
| 33 | 2. Optionally provide `hints.yaml` for context matching. |
| 34 | 3. Run `scripts/synthesize_edge_concepts.py`. |
| 35 | 4. Deduplicate concepts: merge same-hypothesis concepts with overlapping conditions (containment > threshold). |
| 36 | 5. Review concepts and promote only high-support concepts into strategy drafting. |
| 37 | |
| 38 | ## Quick Commands |
| 39 | |
| 40 | ```bash |
| 41 | python3 skills/edge-concept-synthesizer/scripts/synthesize_edge_concepts.py \ |
| 42 | --tickets-dir /tmp/edge-auto/tickets \ |
| 43 | --hints /tmp/edge-hints/hints.yaml \ |
| 44 | --output /tmp/edge-concepts/edge_concepts.yaml \ |
| 45 | --min-ticket-support 2 |
| 46 | |
| 47 | # With hint promotion and synthetic cap |
| 48 | python3 skills/edge-concept-synthesizer/scripts/synthesize_edge_concepts.py \ |
| 49 | --tickets-dir /tmp/edge-auto/tickets \ |
| 50 | --hints /tmp/edge-hints/hints.yaml \ |
| 51 | --output /tmp/edge-concepts/edge_concepts.yaml \ |
| 52 | --promote-hints \ |
| 53 | --max-synthetic-ratio 1.5 |
| 54 | |
| 55 | # With custom dedup threshold (or disable dedup) |
| 56 | python3 skills/edge-concept-synthesizer/scripts/synthesize_edge_concepts.py \ |
| 57 | --tickets-dir /tmp/edge-auto/tickets \ |
| 58 | --output /tmp/edge-concepts/edge_concepts.yaml \ |
| 59 | --overlap-threshold 0.6 |
| 60 | |
| 61 | python3 skills/edge-concept-synthesizer/scripts/synthesize_edge_concepts.py \ |
| 62 | --tickets-dir /tmp/edge-auto/tickets \ |
| 63 | --output /tmp/edge-concepts/edge_concepts.yaml \ |
| 64 | --no-dedup |
| 65 | ``` |
| 66 | |
| 67 | ## Resources |
| 68 | |
| 69 | - `skills/edge-concept-synthesizer/scripts/synthesize_edge_concepts.py` |
| 70 | - `references/concept_schema.md` |