
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-codeInstalls 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- Launchdarkly Guarded Rollout2K
- Mcp Configure2K
- Plan2K
- Sdk Install2K
- Aiconfig Agent Graphs1.8K
- Aiconfig Snippets1.8K
- Agent Graphs1.3K
- Built In Metrics1.3K
- Configs Create1.3K
- Configs Targeting1.3K
- Configs Update1.3K
- Configs Variations1.3K
- Custom Metrics1.3K
- Migrate1.3K
- Online Evals1.3K
- Projects1.3K
- Snippets1.3K
- Tools1.3K
- Launchdarkly Flag Command1K
- Onboarding3.3K
- Launchdarkly Flag Cleanup2.5K
- Launchdarkly Flag Create2.5K
- Launchdarkly Flag Discovery2.5K
- Launchdarkly Flag Targeting2.5K