configs-update

作者: launchdarkly

更新、歸檔和刪除LaunchDarkly配置及其變體。當需要修改配置屬性、更改模型參數、更新…時使用。

npx skills add https://github.com/launchdarkly/ai-tooling --skill configs-update

Config Update & Lifecycle

You're using a skill that will guide you through updating, archiving, and deleting configs and their variations. Your job is to understand the current state of the config, make the changes, and verify the result.

Prerequisites

This skill requires the remotely hosted LaunchDarkly MCP server to be configured in your environment.

Required MCP tools:

  • get-ai-config-health -- assess config health before making changes (detects missing models, orphaned tools, empty configs)
  • get-ai-config -- understand current state before making changes
  • update-ai-config -- update config metadata (name, description, tags, archive)
  • update-ai-config-variation -- update variation model, prompts, or parameters

Optional MCP tools:

  • delete-ai-config -- permanently delete a config (irreversible)
  • delete-ai-config-variation -- permanently delete a variation (irreversible)

Core Principles

  1. Fetch Before Changing: Always check the current state before modifying
  2. Verify After Changing: Fetch the config again to confirm updates were applied
  3. Archive Before Deleting: Archival is reversible; deletion is not

Workflow

Step 1: Assess Health and Understand Current State

Start with get-ai-config-health to get a structured health assessment. This detects:

  • Variations with no model (show as "NO MODEL" in the UI)
  • Variations with neither instructions nor messages
  • Orphaned tool references (tools attached that don't exist in the project)
  • Configs with no variations at all

The health verdict (healthy, warning, unhealthy) helps you prioritize what to fix.

Then use get-ai-config to review the full detail:

  • Current mode (agent or completion)
  • Existing variations and their models
  • Current instructions or messages
  • Attached tools and parameters

Step 2: Make the Update

Update config metadata -- Use update-ai-config:

  • Change name or description
  • Add or replace tags
  • Archive with archived: true (reversible)

Update a variation -- Use update-ai-config-variation:

  • Switch model (provide new modelConfigKey and modelName)
  • Change instructions or messages
  • Tune parameters (temperature, max_tokens, etc.)
  • Attach or detach tools via the parameters object

Archive a config -- Use update-ai-config with archived: true. Archiving is the preferred way to retire a config:

  • It is reversible (unarchive with archived: false)
  • The config is hidden from active lists but preserved
  • After calling the archive, treat a successful response as confirmation and proceed to verification
  • When a user says "remove", "retire", "decommission", or "no longer need", default to archiving unless they explicitly say "delete permanently"

Delete -- Use delete-ai-config or delete-ai-config-variation (irreversible, requires confirm: true). Always suggest archiving first. Only proceed with deletion if the user explicitly confirms they want permanent, irreversible removal.

Step 3: Verify

Use get-ai-config to 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 configs without testing in another variation first
  • Don't change multiple things at once -- make incremental changes
  • Don't skip verification
  • Don't delete without explicit user confirmation -- always suggest archiving first
  • Don't retry an update because the API response doesn't echo back the exact values you sent -- verify with get-ai-config instead

More resources

To learn more about creating and managing variations, read Create and manage config variations.

Related Skills

  • configs-variations -- Create variations to test changes side-by-side
  • tools -- Update tool attachments

來自 launchdarkly 的更多技能

aiconfig-online-evals
launchdarkly
已棄用的重新導向 — 此技能已重新命名為 online-evals。請勿使用此技能;請改為呼叫 online-evals。保留此項僅供舊有參考…
official
launchdarkly-experiment-setup
launchdarkly
在 LaunchDarkly 中設定並執行實驗。建立包含指標、處理方式與旗標配置的實驗,啟動迭代以收集資料,切換設計介於…
official
custom-metrics
launchdarkly
建立、追蹤、擷取、更新及刪除用於配置的自訂業務指標。涵蓋完整生命週期:透過 API 定義指標類型、透過 SDK 發送事件,以及…
official
projects
launchdarkly
在程式碼庫中設定 LaunchDarkly 專案的指南。協助您評估技術堆疊、選擇合適的方法,並整合專案管理,以…
official
aiconfig-ai-metrics
launchdarkly
已棄用的重新導向——此技能已更名為 built-in-metrics。請勿使用此技能;請改為調用 built-in-metrics。保留此項僅供舊有參考…
official
aiconfig-projects
launchdarkly
已棄用的重新導向——此技能已重新命名為 projects。請勿使用此技能,改為呼叫 projects。保留此項僅為舊有對 aiconfig-projects 的引用……
official
aiconfig-migrate
launchdarkly
已棄用的重定向——此技能已重新命名為 migrate。請勿使用此技能;請改用 migrate。保留此項僅為使舊有對 aiconfig-migrate 的引用仍能…
official
aiconfig-tools
launchdarkly
已棄用的重新導向——此技能已更名為 tools。請勿使用此技能,請改用 tools。保留此項僅為使舊有對 aiconfig-tools 的引用仍能指向……
official