Skills
Skill 53 of 56
Read and change a LaunchDarkly project’s Automations auto-archival settings via the hosted MCP.
4 minutes · 976 words · 13 sections
Install
npx skills add launchdarkly/ai-tooling --skill launchdarkly-automations-archival-settingsnpx skills add launchdarkly/ai-tooling/plugin marketplace add launchdarkly/ai-toolingThe first command installs just this skill, by the name in its SKILL.md; the second installs the whole repository.
You’re using a skill that reads and changes a project’s auto-archival settings, from the “Automatic archival” section of the project’s Settings > Automations page. Auto-archival archives flags without a person in the loop unless approvals are required. Treat every write as production automation with a blast radius.
This skill requires the remotely hosted LaunchDarkly MCP server.
Required MCP tools:
get-automations with section: "archival" and projectKey: the project’s archival settings and automationsPage, the link to the project’s Automations page.update-automations with projectKey and an archival object: change one or more settings, or turn archival off. Omitted fields keep their stored values. Send archival on its own, without accountWide, repo, or cleanup. It cannot turn archival on (see Turn it on).Optional: get-projects to pick the project, search-members to resolve notification member IDs (team keys come from the user), get-approval-requests for pending archival approvals.
If get-automations has no section argument, or rejects section, the server has not picked up cleanup and archival yet. Ask the user to reconnect the LaunchDarkly MCP server once. If it still has none, guide the browser steps in references/browser-steps.md (opens in a new tab) instead. Do not invent REST calls.
If a call fails with “automatic archival is not available for this account yet”, the account does not have the feature. Tell the user and stop; do not retry or try other tools.
Durations are in seconds. Show them to the user in hours or days.
| Field | Meaning |
|---|---|
enabled | Whether automatic archival runs for the project |
graceSeconds | How long a flag that is ready to archive waits before it is archived: 1 hour (3600) to 30 days (2592000) |
requireApproval | true creates an approval request for each flag instead of archiving it directly |
maxArchivalsPerRun | The most flags one run archives (1 to 100) |
watchCadenceSeconds | How often watched flags are rechecked for a status change: 1 minute (60) to 7 days (604800) |
notifyMemberIds, notifyTeamKeys | Fallback members and teams notified about archival activity. They are not owners: flags with no maintainer are never archived automatically |
configuredByMemberId, riskAcknowledgedAtSeconds | Read-only: who last saved the settings, and when someone confirmed the risk to turn archival on |
requireApproval to false unless the user explicitly asked to archive without approvals. Say that flags will then be archived without review.notifyMemberIds and notifyTeamKeys replace the whole stored list. To add one recipient, read the current list and send it with the new one.graceSeconds or raising maxArchivalsPerRun archives more flags sooner. Say so in the proposal.get-automations with section: "archival" and projectKey. Report whether it is on, the grace period, whether approvals are required, the run limit, and the notification recipients.
Read the settings: get-automations with section: "archival".
Propose the change, for example:
Automatic archival in project
defaultwaits 1 day before archiving a ready flag. Change it to 7 days? Ready flags will stay unarchived for a week before they are archived.
After the user confirms, call update-automations with projectKey, confirm: true, and an archival object holding only the confirmed fields.
The response lists changed and the settings as read back. If it reports a mismatch, or says the settings changed after they were read, show the user the current values from get-automations with section: "archival" and ask again before retrying.
Settings can be changed while archival is off, so a user can set them before a person turns it on.
Propose it (“Turn off automatic archival for project default? No more flags will be archived automatically; flags already archived stay archived.”), then update-automations with projectKey, archival: { "enabled": false }, and confirm: true.
The agent cannot turn archival on. If the user asks:
get-automations with section: "archival", and set any other settings they asked for first (see Change a setting).automationsPage. In the “Automatic archival” section, they turn on Enable automatic archival and confirm the “Enable automatic archival?” dialog. Turning it on requires permission to archive every flag in the project.get-automations with section: "archival" once and report whether enabled is true. Do not poll.If update-automations returns applied: false with a nextStep, nothing changed: follow these steps.
Read-only. Ask for the flag key if the user did not give one. Then check in this order, and stop at the first cause you can show from a tool result:
get-automations with section: "archival": enabled is false, so archival is off for the project.get-flags with projectKey and flagKey: the flag has no maintainer (flags with no maintainer are never archived automatically), or it is already archived (archived true; a flag archived automatically has the auto-archived tag).get-flag-status-across-envs with allEnvs: true, and get-projects with projectKey and fullSettings: true (settings.lifecycle holds the checks and day thresholds for ready to archive): the flag is still evaluated or does not meet those checks, so it is not ready to archive.requireApproval is true: look for a pending approval request with get-approval-requests.These tools do not show when a flag became ready to archive or which flags a run picked. If none of the checks above explains it, say the likely causes without claiming either one: it became ready less than graceSeconds ago, or more flags were ready than maxArchivalsPerRun and the rest wait for a later run.
Flags archived this way get the auto-archived tag. “View auto-archived flags” on the Automations page lists them. Do not change settings to try something.
launchdarkly-automations-cleanup-settings.launchdarkly-release-autopilot-settings.Read and change a LaunchDarkly project's Automations auto-archival settings via the hosted MCP. Auto-archival archives flags that are ready to archive after a grace period, or creates approval requests for them. Use when the user wants to see or change the grace period, approval requirement, run limit, recheck cadence, or notification recipients, turn automatic archival off or on, or asks why a flag was or was not archived automatically. For first-time setup of every Release Autopilot capability, use launchdarkly-release-autopilot-onboarding.
The verbatim description from this skill’s front matter — the string an agent matches on to decide whether to load it.
skills/release-autopilot/launchdarkly-automations-archival-settings/SKILL.mdmain, last pushed 7 November 2026.SKILL.md, not by matching a directory convention. 10 distinct layouts observed: skills/agentcontrol/*/SKILL.md, skills/aws-devops-agent/*/SKILL.md, skills/experiments/*/SKILL.md, skills/feature-flags/*/SKILL.md, skills/metrics/*/SKILL.md, skills/observability/*/SKILL.md, skills/onboarding/*/SKILL.md, skills/onboarding/sdk-install/*/SKILL.md, skills/*/SKILL.md, skills/release-autopilot/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json by LaunchDarkly, declaring 1 plugin. It is read for editorial metadata only — never as the skill index, which is always the repository tree./launchdarkly/ai-tooling.md, and each skill at its own .md URL.3 files · 3 KB
Everything this skill ships beside its prose. All of it is set here, as subchapters of skill 53.
Documentation the agent loads on demand, rather than up front.
Everything else published alongside the skill.