Langsung ke konten
Skillpedia
Analisis & spreadsheet41k Β· #6880

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.md

Salin 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

Gunakan skill ini untuk membantu saya: https://github.com/PostHog/posthog/blob/master/products/experiments/skills/finding-experiments/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

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 name field for matches
  • By recency: results are ordered newest first by default
  • By status: match the status field (draft, running, paused, exposure_frozen, stopped)
  • By flag key: skip the list and call experiment-get-by-flag-key with the key. It returns the full experiment, or found: false with a reason. no_flag and no_experiment mean the key is free, so this is also the existence check to run before experiment-create. ambiguous means several experiments share the flag and none is the single live one: show the candidates and pick one with experiment-get rather than creating another.
  • By partial flag key: call experiment-list with search set to the fragment. search matches 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 ID
  • diagnosing-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

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa