finding-experiments
Fungsinya
Skill ini mencocokkan nama biasa, seperti eksperimen harga, dengan satu eksperimen PostHog yang tepat. Ditujukan untuk orang yang menyebut eksperimen dengan nama, bukan dengan ID.
Kapan dipakai
- βSaat Anda menyebut sebuah eksperimen, seperti tes harga, dan memerlukan ID-nya.
- βSaat beberapa eksperimen memiliki nama yang mirip dan Anda perlu memilih yang tepat.
- βSaat Anda memiliki kunci feature flag dan ingin menemukan eksperimen yang menggunakannya.
Link skill
https://github.com/PostHog/posthog/blob/master/products/experiments/skills/finding-experiments/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βTemukan eksperimen harga saya dan tunjukkan bagaimana hasilnya sejauh ini.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill menelusuri daftar eksperimen Anda berdasarkan nama, status, kebaruan, atau kunci flag. Jika lebih dari satu eksperimen cocok, skill menampilkan pilihannya agar Anda dapat memilih satu.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Apakah skill mencari feature flag untuk menemukan eksperimen?
Tidak. Skill menggunakan daftar eksperimen, karena alat feature flag tidak menampilkan eksperimen.
Bisakah mencari dengan sebagian kunci flag?
Bisa. Sebagian kunci flag dapat digunakan untuk mencari dalam daftar eksperimen.
Bagaimana jika sebuah kunci flag tidak memiliki eksperimen?
Skill melaporkan bahwa tidak ada eksperimen yang ditemukan, sehingga Anda tahu kunci tersebut tersedia untuk eksperimen baru.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 41k
- Peringkat
- #6880
- Lisensi
- β
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
depot-ci
41kMembantu agent Anda menyiapkan dan menjalankan alur kerja Depot CI, alternatif GitHub Actions, termasuk memigrasikan alur kerja yang ada dan membaca log eksekusi.
depot-container-builds
41kMembantu agent Anda membangun image Docker di builder jarak jauh Depot, termasuk image multi-platform, pengiriman ke registry, dan perbaikan kegagalan build.
depot-github-runners
41kMembantu agent Anda memindahkan job GitHub Actions ke runner yang dikelola Depot, memilih ukuran dan label runner, serta memecahkan masalah pengaturan runner.
editing-agents-md
41kMembantu agent Anda memutuskan apakah sebuah aturan layak masuk ke berkas AGENTS.md atau CLAUDE.md, dan menulisnya agar tetap dipatuhi tanpa membuat berkas membengkak.
Skill serupa
gitcrawl
394kMemungkinkan agent Anda mencari arsip issue dan pull request GitHub yang tersimpan, mengelompokkan yang duplikat, dan memeriksa status terkininya di GitHub.
slacrawl
394kMemungkinkan agent Anda mencari dan menghitung pesan di arsip Slack lokal, memeriksa seberapa baru arsip itu, dan menyegarkannya bila diperlukan.
goplaces
394kMembantu agent Anda mencari tempat, mendapatkan detail dan ulasannya, serta menentukan nama tempat memakai Google Places, dengan keluaran JSON untuk skrip.