launchdarkly avatar

Launchdarkly Experiment Setup

Walks you through the full lifecycle of A/B tests in LaunchDarkly: creating experiments with metrics and treatments, starting iterations to collect data, and stopping with a declared winner. The skill handles the finicky bits like ensuring metrics exist first, grabbing the right ruleId and flagConfigVersion from your feature flag, and knowing which fields you can edit while an experiment is running versus when you need to stop and start a new iteration. If you're running experiments through LaunchDarkly rather than just toggling flags, this gives Claude the context to set them up correctly without you needing to remember the API's state machine rules.

skills.sh installs
2K
GitHub stars
19
last updated
Jul 14, 2026

Install

$ npx -y skills add launchdarkly/agent-skills --skill launchdarkly-experiment-setup --agent claude-code

Installs into .claude/skills of the current project.

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.

Sponsors

Details

Repository
github.com/launchdarkly/agent-skills
Category
AI & Agent Building
First seen
Jun 3, 2026

More from launchdarkly/agent-skills

All 41
1launchdarkly avatarlaunchdarkly-guarded-rolloutlaunchdarkly/agent-skillslaunchdarkly guarded rollout2Kskills.sh installs
2launchdarkly avatarplanlaunchdarkly/agent-skillsplan2Kskills.sh installs
3launchdarkly avatarsdk-installlaunchdarkly/agent-skillssdk install2Kskills.sh installs
4openrouterteam avataropenrouter-typescript-sdkopenrouterteam/agent-skillsopenrouter typescript sdk2Kskills.sh installs
5k-dense-ai avatarqiskitk-dense-ai/scientific-agent-skillsBuild, simulate, transpile, and execute quantum circuits with Qiskit and IBM Quantum Runtime. Use for Qiskit 2.x circuits and operators, V2 Sampler or Estimator2Kskills.sh installs
6k-dense-ai avatargtarsk-dense-ai/scientific-agent-skillsUse Gtars for local genomic interval models and set algebra, overlaps and counts, consensus and coverage, tokenization, fragment processing, and refget/BEDbase 2Kskills.sh installs