launchdarkly-configs-variations
Skill141 starsChanged 8 days agoApache-2.0View on GitHub
Experiment with configs by creating and managing variations. Helps you test different models, prompts, and parameters to find what works best through systematic experimentation.
In this repository102 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- agentcore-observability-setupSkill
- agentcore-ops-reviewSkill
- aiml-access-diagnosticsSkill
- aiml-gpu-training-cluster-investigationSkill
- analytics-opensearch-expertiseSkill
- aws-backup-coverage-reviewSkill
- aws-eks-healthdashboardSkill
- aws-eks-operations-reviewSkill
- aws-fsxn-operations-reviewSkill
- aws-health-eventsSkill
- aws-natgw-traffic-analysisSkill
- aws-routingSkill
- aws-vpc-dns-investigationSkill
- bedrock-adoption-readinessSkill
- bedrock-operation-reviewSkill
- bluebox-observabilitySkill
- bronto-dataset-discoverySkill
- bronto-error-investigationSkill
- bronto-log-searchSkill
- clickstack-investigationSkill
- cloudtrail-cost-optimizationSkill
- config-cost-optimizationSkill
- coralogix-ai-centerSkill
- coralogix-alertsSkill
- coralogix-case-analyticsSkill
- coralogix-case-managementSkill
- coralogix-casesSkill
- coralogix-dashboardsSkill
- coralogix-dataprimeSkill
- coralogix-datasetsSkill
- coralogix-data-usageSkill
- coralogix-docsSkill
- coralogix-infrastructureSkill
- coralogix-logsSkill
- coralogix-metrics-querySkill
- coralogix-ollySkill
- coralogix-rumSkill
- coralogix-service-catalogSkill
- coralogix-single-caseSkill
- coralogix-spansSkill
- coralogix-viewsSkill
- cribl-investigationSkill
- crm-production-investigation-guidelinesSkill
- database-migration-service-expertiseSkill
- database-rds-devopsSkill
- devops-agent-cost-insightsSkill
- dx-vif-resilienceSkill
- ecs-operation-reviewSkill
- eks-upgrade-readinessSkill
- elastic-csp-investigationSkill
- elastic-k8s-investigationSkill
- elastic-llm-obsSkill
- elastic-onboardingSkill
- elastic-service-reliabilitySkill
- elastic-sre-triageSkill
- enrich-with-aws-security-agentSkill
- eos-cost-analysisSkill
- firehose-operation-reviewSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 8 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 37
Measure Results: Use metrics to compare variations
- Very specific: line 57
Use create-agent-config with resource: "variation" and sourceVariationKey to duplicate the baseline and override only what you're testing.
- Distinctive: line 64
Override ONLY the fields you are testing: Leave all other fields unset -- do not pass them even if you know their current values.
- Very specific: line 74
If you need full control, use get-agent-configs first to review the current state, then create-agent-config with resource: "variation" with …
- Very specific: line 78
If you cloned with sourceVariationKey, the response includes both source and created variations for immediate comparison.
- Distinctive: line 82
Only the intended variable differs between variations
- Very specific: line 99
Use create-agent-config with resource: "variation" (optionally with sourceVariationKey to clone an existing one) to add the new variation
- Very specific: line 100
Do NOT use update-agent-config with resource: "variation" on the baseline to change its model or instructions
- Very specific: line 101
Do NOT use delete-agent-config with resource: "variation" on the baseline
- Distinctive: line 106
Don't test too many things at once -- change one variable per variation
- Distinctive: line 107
Don't pass unchanged fields when cloning -- let the tool inherit them from the source
- Distinctive: line 108
Don't forget modelConfigKey (variations without it show as "NO MODEL" in the UI)
- Distinctive: line 109
Don't make decisions on small sample sizes
- Distinctive: line 110
Don't modify or remove the baseline variation -- create new variations alongside it
- Very specific: line 111
Don't use update-agent-config with resource: "variation" to "replace" a baseline -- create a new variation instead
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Config Variations
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.
Prerequisites
This skill requires the remotely hosted LaunchDarkly MCP server to be configured in your environment.
Primary MCP tool:
create-agent-configwithresource: "variation"andsourceVariationKey-- clone a baseline variation with selective overrides (recommended for experimentation)
Alternative MCP tools (for more control):
get-agent-configswithconfigKey-- review existing variations before adding new onescreate-agent-configwithresource: "variation"-- create new variations from scratch
Optional MCP tools:
update-agent-configwithresource: "variation"-- refine a variation after creationdelete-agent-configwithresource: "variation"-- remove variations that didn't work out
Core Principles
- Test One Thing at a Time: Change model OR prompt OR parameters, not all at once
- Have a Hypothesis: Know what you're trying to improve
- Measure Results: Use metrics to compare variations
- Verify via Tool: The agent fetches the config to confirm variations exist
Workflow
Step 1: Identify What to Optimize
What's the problem? Cost, quality, speed, accuracy? How will you measure success?
Step 2: Design the Experiment
| 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) |
Step 3: Create Variations (Recommended: Clone with Overrides)
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 variationsvariationKeyandvariationName-- 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:
- Testing a cheaper model? Pass only
modelConfigKeyandmodelName. Do NOT passinstructions,messages, orparameters. - Testing different instructions? Pass only
instructions. Do NOT passmodelConfigKeyormodelName. - Testing a parameter? Pass only
parameters. Do NOT pass model or prompt fields.
The response returns both the source and created variation, so you can immediately verify the diff.
Step 3 (Alternative): Create from Scratch
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.
Step 4: Verify
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:
- Variations created with correct models and parameters
- Only the intended variable differs between variations
- Flag any issues
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.
modelConfigKey Format
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-sonnet
A custom model config uses its own key, which need not contain a dot.
Safety: Protect the Baseline
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.
- Use
create-agent-configwithresource: "variation"(optionally withsourceVariationKeyto clone an existing one) to add the new variation - Do NOT use
update-agent-configwithresource: "variation"on the baseline to change its model or instructions - Do NOT use
delete-agent-configwithresource: "variation"on the baseline - Explain to the user that keeping the baseline enables comparison and safe rollback
What NOT to Do
- Don't test too many things at once -- change one variable per variation
- Don't pass unchanged fields when cloning -- let the tool inherit them from the source
- Don't forget modelConfigKey (variations without it show as "NO MODEL" in the UI)
- Don't make decisions on small sample sizes
- Don't modify or remove the baseline variation -- create new variations alongside it
- Don't use
update-agent-configwithresource: "variation"to "replace" a baseline -- create a new variation instead
More resources
To learn more about creating and managing variations, read Create and manage config variations.
Related Skills
launchdarkly-configs-create-- Create the initial configlaunchdarkly-configs-update-- Refine based on learnings
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

