finding-experiments
Skill này làm gì
Skill này ghép một tên thông thường, chẳng hạn thí nghiệm giá, với đúng một thí nghiệm PostHog. Nó dành cho người nhắc đến thí nghiệm bằng tên thay vì ID.
Khi nào nên dùng
- ✓Khi bạn gọi tên một thí nghiệm, chẳng hạn bài kiểm thử giá, và cần ID của nó.
- ✓Khi nhiều thí nghiệm có tên tương tự và bạn cần chọn đúng cái.
- ✓Khi bạn có một khóa feature flag và muốn tìm thí nghiệm dùng nó.
Liên kết skill
https://github.com/PostHog/posthog/blob/master/products/experiments/skills/finding-experiments/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tìm thí nghiệm giá của tôi và cho tôi xem nó đang diễn ra thế nào.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill duyệt danh sách thí nghiệm của bạn theo tên, trạng thái, thời gian gần đây hoặc khóa flag. Nếu có nhiều thí nghiệm khớp, skill hiển thị các lựa chọn để bạn chọn.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Skill có tìm thí nghiệm bằng cách tìm trong feature flag không?
Không. Nó dùng danh sách thí nghiệm, vì các công cụ feature flag không hiển thị thí nghiệm.
Có thể tìm bằng một phần khóa flag không?
Có. Một phần khóa flag có thể dùng để tìm trong danh sách thí nghiệm.
Nếu một khóa flag không có thí nghiệm thì sao?
Skill báo rằng không tìm thấy thí nghiệm, nên bạn biết khóa đó còn trống để dùng cho thí nghiệm mới.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 41k
- Vị trí xếp hạng
- #6880
- Giấy phép
- —
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
depot-ci
41kGiúp agent của bạn thiết lập và chạy quy trình Depot CI, một lựa chọn thay thế GitHub Actions, gồm chuyển các quy trình hiện có và đọc nhật ký chạy.
depot-container-builds
41kGiúp agent của bạn build image Docker trên các builder từ xa của Depot, gồm image đa nền tảng, đẩy lên registry và sửa lỗi build.
depot-github-runners
41kGiúp agent của bạn chuyển các job GitHub Actions sang runner do Depot quản lý, chọn kích thước và nhãn runner, và xử lý lỗi thiết lập runner.
editing-agents-md
41kGiúp agent của bạn quyết định một quy tắc nên nằm trong file AGENTS.md hay CLAUDE.md, và viết sao cho quy tắc được tuân thủ mà file không bị phình to.
Skill tương tự
gitcrawl
394kCho phép agent của bạn tìm trong kho lưu trữ issue và pull request GitHub, gom các mục trùng lặp và kiểm tra trạng thái hiện tại trên GitHub.
slacrawl
394kCho phép agent của bạn tìm và đếm tin nhắn trong kho lưu trữ Slack cục bộ, kiểm tra kho đó mới đến mức nào và làm mới khi cần.
goplaces
394kGiúp agent của bạn tìm địa điểm, lấy chi tiết và đánh giá, và xác định tên địa điểm bằng Google Places, với đầu ra JSON cho script.