finding-experiments
できること
このスキルは、「価格実験」のような平易な名前を、1つの正確なPostHogの実験に対応させます。実験をIDではなく名前で呼ぶ人向けです。
使う場面
- ✓「価格のテスト」のように名前で言われた実験のIDが必要なとき。
- ✓似た名前の実験が複数あり、正しいものを選ぶ必要があるとき。
- ✓フィーチャーフラグのキーから、それを使っている実験を見つけたいとき。
スキルのリンク
https://github.com/PostHog/posthog/blob/master/products/experiments/skills/finding-experiments/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私の価格実験を見つけて、その進捗を見せてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
名前、状態、最新性、またはフラグのキーで実験の一覧を探します。複数の実験が一致した場合は、選べるように選択肢を示します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Finding experiments
Users refer to experiments by name, description, or relative references — not by ID. This skill resolves natural language references to concrete experiment IDs.
How to find an experiment
Use the experiment-list tool from the Posthog-local MCP server.
IMPORTANT: Do NOT use feature-flag-get-all or any feature flag tool to find
experiments. Use the dedicated experiment list tool: experiment-list.
This tool returns experiments with their id, name, status, feature_flag_key, start_date, end_date, and created_at. Browse the returned list to find the experiment matching the user's reference:
- By name: scan the
namefield for matches - By recency: results are ordered newest first by default
- By status: match the
statusfield (draft, running, paused, exposure_frozen, stopped) - By flag key: skip the list and call
experiment-get-by-flag-keywith the key. It returns the full experiment, orfound: falsewith areason.no_flagandno_experimentmean the key is free, so this is also the existence check to run beforeexperiment-create.ambiguousmeans several experiments share the flag and none is the single live one: show thecandidatesand pick one withexperiment-getrather than creating another. - By partial flag key: call
experiment-listwithsearchset to the fragment.searchmatches substrings of the experiment name and the flag key, ignoring case.
After finding matches
- Exactly one match: Use it. Confirm with the user by name before destructive actions (delete, ship, end).
- Multiple matches: List them with name, status, and creation date. Ask the user to pick.
- No matches: Tell the user. Suggest checking archived experiments or different terms.
Get full details if needed
After resolving to an ID, call experiment-get for the full object (metrics, flag details, parameters).
Examples
User: "pause my signup experiment"
Agent:
1. Calls experiment-list
2. Scans results, finds "New signup process" (ID: 1371, status: running)
3. Proceeds to pause experiment 1371
When NOT to search
- You already have the experiment ID from earlier in the conversation
- The user just created the experiment — you have the ID from the create response
- The user provided the ID directly
Related skills
managing-experiment-lifecycle— act on the experiment once you've resolved its IDdiagnosing-experiment-health— investigate the experiment you found
よくある質問
フィーチャーフラグを検索して実験を見つけますか?
いいえ。フィーチャーフラグのツールは実験を表示しないため、実験の一覧を使います。
フラグのキーの一部で検索できますか?
はい。フラグのキーの一部を使って、実験の一覧を検索できます。
フラグのキーに対応する実験がない場合はどうなりますか?
実験が見つからなかったと報告するため、そのキーが新しい実験に使えることがわかります。
詳細
作者による元の説明
Resolves a PostHog experiment reference from natural language to a concrete experiment ID by browsing `experiment-list` (not feature-flag tools), with disambiguation when multiple experiments match. Use when the user names or quotes an experiment ("split test demo", "the File engagement boost experiment", "onboarding retention test", "landing page hero experiment", "pricing experiment"), describes it loosely ("the signup experiment", "my pricing test", "the one with the new checkout"), uses a relative reference ("latest", "most recent", "the one I created yesterday"), filters by status (runnin
repo: PostHog/posthog
人気
- GitHubのスター
- 41k
- ランキング
- #6880
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
depot-ci
41kエージェントが、GitHub Actionsの代替であるDepot CIのワークフローを設定し実行できるよう支援します。既存のワークフローの移行や、実行ログの確認も含みます。
depot-container-builds
41kエージェントが、Depotのリモート・ビルダーでDockerイメージを作れるよう支援します。マルチプラットフォームのイメージ、レジストリへのプッシュ、ビルド失敗の修正を含みます。
depot-github-runners
41kエージェントが、GitHub Actionsのジョブを Depot が管理するランナーに移し、ランナーのサイズとラベルを選び、ランナー設定の問題を解決できるよう支援します。
editing-agents-md
41kエージェントが、AGENTS.mdとCLAUDE.mdのどちらにルールを書くべきかを判断し、ファイルを膨らませずに守られやすい形で書けるよう支援します。
似ているスキル
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
slacrawl
394kローカルのSlackアーカイブ内のメッセージを検索して件数を数え、アーカイブの新しさを確認し、必要に応じて更新するようエージェントを支援します。
goplaces
394kGoogle Placesを使って、場所を検索し、詳細や口コミを取得し、場所の名前を解決するようエージェントを支援します。スクリプト用にJSON出力もできます。