Configs Update

作者 launchdarkly2fc544d3140fApache-2.026 个星标收录于 2026年10月8日更新于 2026年10月8日仓库昨天更新

Update, archive, and delete LaunchDarkly 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.

AI 生成的概览

指导通过 LaunchDarkly MCP 服务器更新、归档和删除 LaunchDarkly AI 配置及其变体。

功能
该技能引导代理完成 LaunchDarkly AI 配置的生命周期管理:先评估配置健康状况并读取当前状态,然后更新元数据、模型、提示词、消息、参数和工具挂载。它还涵盖将归档作为可逆的停用方式,以及在用户明确确认后永久删除配置或变体。每次变更后都会重新获取配置进行验证,并简要报告结果。
适用场景
当需要修改 LaunchDarkly AI 配置或其变体时使用,例如更换模型、调整参数、编辑指令或消息,或更新标签和描述。它也适用于停用不再使用的配置,此时优先选择归档而非删除。
运行要求
需要在环境中配置远程托管的 LaunchDarkly MCP 服务器,并提供读取配置健康状况和配置、更新配置与变体以及可选删除操作的工具。该技能不包含脚本,仅为说明文档。

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/ai-tooling位于skills/agentcontrol/configs-update提交2fc544d

许可证: Apache-2.0

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架