edge-concept-synthesizer について
edge-concept-synthesizerは、生のチケットの証拠をクラスタリングし、明示的な仮説と無効化条件を持つ概念にまとめるスキルです。戦略を作成する前に反復する条件を検討するチーム向けで、個々のチケットから戦略へ直接当てはめることを避けやすくします。
主な機能
- 01チケット証拠のクラスタリング
- 02反復する条件の要約
- 03重複する概念の統合
- 04仮説と無効化シグナルの記録
- 05エクスポート準備状況の表示
活用シーン
- 01多数のチケットにある証拠の整理
- 02戦略作成前の概念レビュー
- 03チケットから戦略への直接的な当てはめの抑制
インストール
コマンドをコピーしてターミナルで実行します。
$
npx skills add https:/ / github.com/ tradermonty/ claude-trading-skills --skill edge-concept-synthesizerインストール後、Claude Code で/edge-concept-synthesizerを入力して読み込まれたか確認します。
同梱ファイル
SKILL.md と一緒にインストールされる参考資料やスクリプト。
requirements.txtagents/openai.yamlreferences/concept_schema.mdscripts/synthesize_edge_concepts.pyscripts/tests/conftest.pytest_synthesize_edge_concepts.py詳細
エッジ概念の統合
概要
検出と戦略実装の間に抽象化レイヤーを作成します。
このスキルはチケットのエビデンスをクラスタリングし、繰り返し現れる条件を要約して、明示的なテーゼと無効化ロジックを含む edge_concepts.yaml を出力します。
使用するタイミング
- 大量の未加工チケットがあり、メカニズムレベルの構造が必要な場合。
- チケットから戦略への直接的な過剰適合を避けたい場合。
- 戦略の策定前に、概念レベルでレビューする必要がある場合。
前提条件
- Python 3.9+
PyYAML- 検出器の出力から取得したチケット YAML ディレクトリ(
tickets/exportable、tickets/research_only) - 任意の
hints.yaml
出力
- 以下を含む
edge_concepts.yaml:- 概念クラスタ
- サポート統計
- 抽象的なテーゼ
- 無効化シグナル
- エクスポート準備状況フラグ
ワークフロー
- 自動検出の出力からチケット YAML ファイルを収集します。
- コンテキストのマッチングに
hints.yamlを任意で指定します。 scripts/synthesize_edge_concepts.pyを実行します。- 概念の重複を排除します。同じ仮説を持ち、条件が重複する概念を統合します(包含度 > しきい値)。
- 概念をレビューし、サポートの高い概念のみを戦略の策定に進めます。
クイックコマンド
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
リソース
skills/edge-concept-synthesizer/scripts/synthesize_edge_concepts.pyreferences/concept_schema.md
コメント
Markdown 対応