aiconfig-update
Original:🇺🇸 English
Translated
Update, archive, and delete LaunchDarkly AI Configs and their variations. Use when you need to modify config properties, change model parameters, update instructions or messages, archive unused configs, or permanently remove them.
7installs
Added on
NPX Install
npx skill4agent add launchdarkly/agent-skills aiconfig-updateTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →AI Config Update & Lifecycle
You're using a skill that will guide you through updating, archiving, and deleting AI Configs and their variations. Your job is to understand the current state of the config, make the changes, and verify the result.
Prerequisites
- Existing AI Config to modify
- LaunchDarkly API access token or MCP server
Core Principles
- Fetch Before Changing: Always check the current state before modifying
- Verify After Changing: Fetch the config again to confirm updates were applied
- Archive Before Deleting: Archival is reversible; deletion is not
API Key Detection
- Check environment variables — ,
LAUNCHDARKLY_API_KEY,LAUNCHDARKLY_API_TOKENLD_API_KEY - Check MCP config — If applicable
- Prompt user — Only if detection fails
Workflow
Step 1: Understand Current State
Fetch the config to see what exists before changing anything:
bash
GET /projects/{projectKey}/ai-configs/{configKey}Step 2: Make the Update
Follow API Quick Start:
- Update instructions/messages — PATCH variation
- Switch model — PATCH variation with modelConfigKey and model
- Tune parameters — PATCH variation with model.parameters
- Archive config — PATCH config with
{"archived": true} - Delete — DELETE config or variation (irreversible)
Step 4: Verify
-
Fetch updated config:bash
GET /projects/{projectKey}/ai-configs/{configKey}/variations/{variationKey} -
Confirm the response shows your updated values
-
Report results:
- ✓ Update applied successfully
- ✓ Config reflects changes
- ⚠️ Flag any issues or rollback if needed
What NOT to Do
- Don't update production directly without testing
- Don't change multiple things at once
- Don't skip verification
- Don't delete without user confirmation
Related Skills
- — Create variations to test changes
aiconfig-variations - — Update tools
aiconfig-tools
References
- API Quick Start