analyze-experiments
БесплатноБез исполняемых скриптовНе проверенDesigns A/B tests with proper metrics and variants, analyzes running or completed experiments, and interprets results with statistical rigor. Use when setting…
от amplitude★ 50 звёзд на GitHubОб этом скилле
Experiment Analyst
Perform comprehensive, detailed deep-dive analysis of experiments to make data-driven ship/no-ship decisions. This is NOT a quick summary - provide thorough insights with specific numbers and business implications.
When to Use
- Analyzing completed experiment results for ship decisions
- Checking on running experiment progress and early signals
- Understanding why an experiment succeeded or failed
- Investigating unexpected results or segment-level effects
Analysis Philosophy
Be comprehensive, not brief:
- Include specific numbers, percentages, and data points
- Explain statistical meaning AND business implications in plain language
- Cover all metrics (primary, secondary, guardrails) with actual values
- This is a single comprehensive analysis - do not rush or provide superficial summaries
Instructions
Step 0: Identify Experiment
If user provides a specific experiment:
- Accept experiment URL or experiment ID
- If URL: use
Amplitude:get_from_urlto extract details - If ID: proceed to Step 1
If user asks about experiments generally:
- Use
Amplitude:searchwithentityTypes: ["EXPERIMENT"]and relevant query terms - Present top 3-5 matches with names, IDs, and states
- Ask user which experiment to analyze
If no experiment specified:
- Ask explicitly for experiment URL, ID, or search terms and stop
Step 1: Retrieve and Validate Setup
Use Amplitude:get_experiments with experiment ID to capture:
- Experiment name, key, description, and state
- Start/end dates and duration
- Variants: names, traffic allocation
- Attached metrics: primary (recommendation=true), secondary, guardrails (stores as IDs)
- Bucketing strategy
Verify experiment start before analysis or launch claims:
- For SDK/feature experiments, enabling the flag controls variant delivery; it does not set the experiment's analysis start date. An enabled flag alone also does not prove traffic is being allocated.
- After creating an experiment or making a user-requested enable/rollout change, read it back using
Amplitude:get_experimentswith the experiment ID. Checkenabled,experimentStartDate, andexperimentEndDate; the flag-update response alone omits the analysis start date. - If
experimentStartDateis null, report "Experiment analysis has not started". If the date is missing from the response or the read fails, report "Experiment start could not be verified". Do not claim the experiment is running, calculate runtime from creation/enable time, or draw lift/ship conclusions in either case. A future start date is scheduled, not running. - For an unstarted experiment, return its Amplitude URL and direct the user to Start Experiment in the UI, then re-read the experiment when they return. Do not invent start/schedule/stop actions or writable date fields absent from the connected tool schema, or retry
enabled=trueas a way to start analysis. - Apply this check to feature experiments, not standalone release flags or survey/nudge deployments. Experiments with a verified past start date continue through the normal running/completed validation below.
Get metric names:
- Extract metric IDs from the experiment response (e.g., "c4pn8fkv")
- CRITICAL: Amplitude MCP cannot retrieve metric names by ID directly
- Workaround options:
- Search for experiment-related charts using
Amplitude:searchwithentityTypes: ["CHART"]and experiment name - Use
Amplitude:get_chartson related charts to examine their definitions for metric references - Check if experiment description contains links to metric documentation
- Search for experiment-related charts using
- If metric names cannot be found, report as descriptive placeholders:
- Primary metric: "Primary Goal Metric (ID: {id})"
- Secondary metrics: "Secondary Metric {index} (ID: {id})"
- Include metric IDs so users can look them up in Amplitude UI
Validation:
- Is experiment running or completed? (not draft)
- Has it run for 1+ weeks?
- Are variants and metrics clearly defined?
If incomplete, explain what's missing and stop.
Step 2: Check Data Quality (with explicit thresholds)
Use Amplitude:query_experiment (primary metric only) to assess:
Traffic Balance (SRM Check):
- Report actual traffic split per variant (e.g., 48.2% control, 51.8% treatment)
- Use
srmDetectedfield from API: Flag ifsrmDetected: true - SRM (Sample Ratio Mismatch) indicates the observed traffic split deviates significantly from the expected allocation
- If SRM detected, report the expected vs. actual allocation with specific percentages
- Severe SRM can indicate instrumentation issues or bucketing problems that may invalidate results
Sample Size Analysis:
A. Current Sample Assessment:
- Report total users per variant with specific numbers
- Flag if <100 users per variant (insufficient for any conclusion)
- Flag if 100-1000 users (directional signals only, not confident decision)
- Need 1000+ per v
Установить analyze-experiments в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл analyze-experiments?
Designs A/B tests with proper metrics and variants, analyzes running or completed experiments, and interprets results with statistical rigor. Use when setting up experiments, checking experiment status, analyzing results, or making ship decisions.
Как установить скилл analyze-experiments?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл analyze-experiments запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic