/launchdarkly:configs-variationsfrom launchdarkly
Guides systematic experimentation with config variations by cloning baselines and overriding specific parameters. Useful for testing models, prompts, and settings to optimize cost, quality, or latency.
Ships in launchdarkly. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You're using a skill that will guide you through testing and optimizing configs through variations. Your job is to design experiments, create variations, and systematically find what works best.
This skill requires the remotely hosted LaunchDarkly MCP server to be configured in your environment.
Primary MCP tool:
create-agent-config with resource: "variation" and sourceVariationKey -- clone a baseline variation with selective overrides (recommended for experimentation)Alternative MCP tools (for more control):
get-agent-configs -- review existing variations before adding new onescreate-agent-config with resource: "variation" -- create new variations from scratchOptional MCP tools:
update-agent-config with resource: "variation" -- refine a variation after creationdelete-agent-config with resource: "variation" -- remove variations that didn't work outWhat's the problem? Cost, quality, speed, accuracy? How will you measure success?
| Goal | What to Vary |
|---|---|
| Reduce cost | Cheaper model (e.g., gpt-4o-mini) |
| Improve quality | Better model or more detailed prompt |
| Reduce latency | Faster model, lower max_tokens |
| Increase accuracy | Different model family (Claude vs GPT-4) |
Use create-agent-config with resource: "variation" and sourceVariationKey to duplicate the baseline and override only what you're testing. The tool reads the source variation, merges your overrides, and creates the new variation. Everything you don't pass is inherited from the source automatically.
Required fields:
sourceVariationKey -- the baseline to clone fromconfigKey -- the config that holds the variationsvariationKey and variationName -- identifiers for the new variation (e.g., gpt4o-mini-cost-test)Override ONLY the fields you are testing. Leave all other fields unset -- do not pass them even if you know their current values. The clone tool inherits them from the source. This enforces the one-variable-at-a-time principle:
modelConfigKey and modelName. Do NOT pass instructions, messages, or parameters.instructions. Do NOT pass modelConfigKey or modelName.parameters. Do NOT pass model or prompt fields.The response returns both the source and created variation, so you can immediately verify the diff.
If you need full control, use get-agent-configs first to review the current state, then create-agent-config with resource: "variation" with all fields specified manually. Always fetch before creating so you understand the existing config's mode, model, and parameters.
If you cloned with sourceVariationKey, the response includes both source and created variations for immediate comparison. Otherwise, use get-agent-configs to confirm.
Report results:
Note on API responses: After calling a creation or clone tool, treat a successful response as confirmation that the operation succeeded. The API response may not echo back every field you sent (e.g., model fields may show defaults). Do not retry or assume failure based on response field values alone -- verify with get-agent-configs if needed.
Required for models to display in the UI. Use a key from get-ai-model-configs. Global model configs use {Provider}.{model-id}:
OpenAI.gpt-4o, OpenAI.gpt-4o-miniAnthropic.claude-sonnet-4-5, Anthropic.claude-3-5-sonnetA custom model config uses its own key, which need not contain a dot.
When the user wants to try a different model, prompt, or parameters, always create a new variation alongside the baseline. Never modify or delete the existing baseline variation. This applies even if the user says "replace" or "switch" -- the correct action is to create a new variation and let targeting/rollouts control traffic, not to edit the original.
create-agent-config with resource: "variation" (optionally with sourceVariationKey to clone an existing one) to add the new variationupdate-agent-config with resource: "variation" on the baseline to change its model or instructionsdelete-agent-config with resource: "variation" on the baselineupdate-agent-config with resource: "variation" to "replace" a baseline -- create a new variation insteadTo learn more about creating and managing variations, read Create and manage config variations.
configs-create -- Create the initial configconfigs-update -- Refine based on learningsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
config-variations, a-b-testing, experimentation, launchdarkly
npx claudepluginhub launchdarkly/ai-tooling --plugin launchdarkly56 skills in this plugin
/agent-graphsCreate and manage agent graphs — directed graphs of configs connected by edges with handoff logic. Use when building multi-agent workflows where configs route to each other./aiconfig-agent-graphsDEPRECATED redirect — this skill was renamed to agent-graphs. Do not use this skill; invoke agent-graphs instead. Kept only so old references to aiconfig-agent-graphs still point users to the new name./aiconfig-ai-metricsDEPRECATED redirect — this skill was renamed to built-in-metrics. Do not use this skill; invoke built-in-metrics instead. Kept only so old references to aiconfig-ai-metrics still point users to the new name.Other plugins' skills for the same job