strategy-discovery
できること
このスキルは、すでに持っている戦略を一覧にし、それぞれを支える証拠を見せます。どの戦略がどの市場の状況に合うかを知りたいリサーチャー向けです。
使う場面
- ✓ライブラリにある取引戦略を見たいとき。
- ✓弱気相場など、特定の市場の局面に合う戦略を探したいとき。
- ✓戦略の裏付けとなる証拠がどれくらい新しいかを確認したいとき。
スキルのリンク
https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/strategy-discovery/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私の戦略のうち、弱気相場で機能したものはどれですか?その証拠はどれくらい新しいですか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、戦略のレジストリと、過去のバックテストの結果のキャッシュを読み、市場の局面ごとに証拠を示します。以前のバックテストが生み出したものだけを報告し、戦略そのものは変更しません。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Strategy Discovery
Purpose
Strategy Discovery is the single entry point for two questions: what strategies exist, and what state are they in. It fronts the Alpha Zoo registry and the SDM strategy store with one facade and answers with computed evidence instead of labels, and it reports the freshness of that evidence on every returned row.
It supersedes the earlier closed-registry attempt. That design attached boolean scenario tags (works in bear markets: yes/no) to a curated list. This skill replaces tags with per-regime evidence rows: every claim that a strategy works in a regime must come from a computed, reproducible backtest stored as evidence, never from curation or inference.
The three query tools are read-only: they never register, mutate, or delete strategies. To add or change strategies, use the strategy-dev-manager and alpha-zoo workflows — Strategy Discovery only reports what those workflows have produced. The fourth tool, refresh_strategy_evidence, writes only the disposable cache: it rebuilds ONLY the disposable evidence cache from local backtest run artifacts (see Populating & Refreshing Evidence and Composition Guarantee).
When to Use
Decision tree for routing user requests:
- User asks what strategies exist / "list available strategies" →
list_strategies(limit=..., offset=..., source=...) - User asks which strategy fits a regime or threshold ("what works in bear markets?", "anything with Sharpe above 1?") →
query_strategies(regime=..., min_sharpe=..., ...) - User asks for the evidence behind one specific strategy →
get_strategy_evidence(strategy_id=..., regime=...) - User asks to populate or refresh the evidence cache ("turn my backtest runs into evidence", "the evidence is stale, refresh it") →
refresh_strategy_evidence(manifest_path=...)— this rebuilds the disposable cache from run artifacts; it is NOT strategy creation or registration - User asks to create, backtest, or register a strategy → this is NOT this skill; route to
strategy-generate/strategy-dev-manager/alpha-zoo
The access path is the three read tools (list_strategies, query_strategies, get_strategy_evidence) plus one cache-refresh tool (refresh_strategy_evidence), available through the agent registry and the MCP server under the same names. CLI: vibe-trading strategy-evidence refresh --manifest <path> [--scope strategies] runs the same refresh as the tool. vibe-trading strategy-evidence adapt --strategy-id sdm:<id> --name <child> --universe <description> --config <json-path> prepares an adaptation; queries stay with the agent tools. Do not invent flags or subcommands beyond that.
Tools
list_strategies
Browse the catalogue.
| Parameter | Type | Default | Meaning |
|---|---|---|---|
limit |
integer | 20 | Maximum number of rows to return |
offset |
integer | 0 | Pagination offset |
source |
string | none | Optional filter: alpha_zoo | sdm; omit for both |
Returns identification metadata plus evidence status. This is a catalogue listing, not a ranking — use query_strategies for filtered, evidence-ranked results.
query_strategies
Evidence-gated query.
| Parameter | Type | Default | Meaning |
|---|---|---|---|
regime |
string | none | bear_market, bull_market, or structural; omit for all regimes |
min_sharpe |
number | none | Minimum Sharpe on the evidence rows |
min_evidence_quality |
string | adequate |
adequate | marginal | insufficient | any. any only removes the quality floor — rows must still pass the other filters (min_trades, cost_feasible, min_sharpe) to be kept |
min_trades |
integer | 10 | Minimum executed-trade count for evidence to count |
cost_feasible |
boolean | true | Keep only rows that clear the cost screen. Fail-closed: rows whose breakeven is unverifiable (null, see Multi-position caveat) are excluded; set false to inspect them with their warnings |
include_stale |
boolean | false | Keep rows whose evidence is stale (see Decay & Freshness Contract). They are surfaced with their stale-evidence: warnings, sorted after non-stale rows; the flag relaxes the staleness gate only, never any other gate |
limit |
integer | 10 | Maximum number of rows to return |
get_strategy_evidence
Per-regime evidence detail for one strategy.
| Parameter | Type | Default | Meaning |
|---|
よくある質問
新しい戦略を追加しますか?
いいえ。戦略を報告するだけです。追加や変更は、別のワークフローが行います。
証拠の日付がなぜ示されるのですか?
各結果は、バックテストの証拠がどれくらい新しいかを示すので、古い結果を見つけやすくなります。
証拠を更新するとどうなりますか?
戦略を変えずに、ローカルのバックテストの実行から証拠のキャッシュを作り直します。
詳細
作者による元の説明
Strategy Discovery: evidence-gated facade over Alpha Zoo + the SDM strategy store — answers what strategies exist and what state they are in, with per-regime evidence instead of scenario tags; reports evidence freshness on every returned row and rebuilds the disposable evidence cache from local backtest runs.
repo: HKUDS/Vibe-Trading
人気
- GitHubのスター
- 37k
- ランキング
- #7557
- ライセンス
- MIT
- 更新日
- 2026/11/1
コメント
- …
このリポジトリの他のスキル
vibe-trading
37kバックテスト、ファクター分析、オプション価格、多くの市場にまたがる市場データを含む、金融リサーチの完全なツールキットをエージェントに与えます。
adr-hshare
37k中国企業が複数の市場に上場している価格差、例えば米国のADRと香港株の差を比べる方法をエージェントに示します。
akshare
37kエージェントが、APIキーなしで、中国と世界の株式、先物、外国為替、経済指標の無料の市場データを取得できるよう支援します。
alpha-zoo
37k既製のストックファクターのライブラリを閲覧し、選んだ市場で一群のファクターがリターンをどれだけ予測するかを検証できるよう支援します。
似ているスキル
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
slacrawl
394kローカルのSlackアーカイブ内のメッセージを検索して件数を数え、アーカイブの新しさを確認し、必要に応じて更新するようエージェントを支援します。
goplaces
394kGoogle Placesを使って、場所を検索し、詳細や口コミを取得し、場所の名前を解決するようエージェントを支援します。スクリプト用にJSON出力もできます。