New advertisers: 50% off your first month with code FIRSTMONTHSee slots
launchdarkly avatar

Launchdarkly Experiment Setup

Set up, run, and conclude LaunchDarkly A/B experiments through the hosted MCP server, with user approval gates.

skills.sh installs
2K
GitHub stars
32
last updated
Jul 14, 2026
View on GitHub

What it does

  • Covers the experiment lifecycle: create with metrics and treatments, start iterations, swap design between iterations, and stop with a declared winner
  • Includes MCP tools for experiments, metrics, and flag targeting, such as create-experiment, save-and-start-experiment-iteration, and stop-experiment-iteration
  • Enforces approval gates: no metric or experiment is created before a full design is approved, and no iteration starts without an explicit user instruction
  • Designed for teams running feature flag experiments in LaunchDarkly that need a metric-first, one-variable-at-a-time workflow

Install

$ npx -y skills add launchdarkly/ai-tooling --skill launchdarkly-experiment-setup -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

LaunchDarkly Experiment Setup

You're using a skill that guides you through setting up and running experiments in LaunchDarkly. Your job is to design the experiment, create it with the right metrics, treatments, and flag config, start data collection, evolve the design between iterations when needed, and stop with a winner. Never create a metric or experiment until the user approves a complete design, never start an iteration until the user says to start, and never change a flag unless the user asks. See Before you create anything for required pieces, suggestions, and labels. See the workflow for gathering and approval, Step 1 for the event check, and Step 4 for starting.

Prerequisites

This skill requires the remotely hosted LaunchDarkly MCP server to be configured in your environment.

Required MCP tools:

  • create-experiment — create a new experiment with its initial iteration (hypothesis, metrics, treatments, flag config).
  • start-experiment-iteration — begin collecting data for an experiment's current draft iteration.
  • get-experiments — check experiment status, treatments, metrics, and current iteration.

Details

Repository
github.com/launchdarkly/ai-tooling
Categories
Data Science & Analytics, DevOps & Cloud
First seen
Jun 3, 2026

More from launchdarkly/ai-tooling

All 40

Similar to Launchdarkly Experiment Setup

More Data Science & Analytics