/launchdarkly:launchdarkly-approval-requestsfrom launchdarkly
Requests, checks, and applies LaunchDarkly approval requests for flag, segment, and AgentControl Config changes. Use when a change needs human review or to follow up on pending approvals.
Ships in launchdarkly. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You're using a skill that takes a change through LaunchDarkly approvals: request it, hand the review to a person, check the outcome when asked, and apply it once it is approved. A person approves or declines every request in LaunchDarkly. You never do either.
This skill requires the remotely hosted LaunchDarkly MCP server.
| Resource | Request | Check | Apply |
|---|---|---|---|
| Flag or segment | create-approval-request | get-approval-requests | apply-approval-request |
| AgentControl Config | create-agent-config-approval | get-agent-config-approvals | apply-agent-config-approval |
get-approval-requests with only id returns any request, including one for an AgentControl Config, so you never need to ask which kind of request an id belongs to.
notifyMemberIds and notifyTeamKeys. Never pick one yourself. If the tool rejects the reviewers, ask the user who should review, then call it again.reviewStatus is approved, and only when the user asks for it.Usually a write tool reports that the environment requires approval and returns the instructions it tried. Create the request with those same instructions and a description of what the change does.
integrationConfig instead.env, the request covers every environment, and LaunchDarkly applies the project's strictest approval settings.The create result includes approvalRequest.url. Open it in the user's browser when your client can, for example with open, xdg-open, or a browser tool. Show the link in your reply either way. Tell the user who was asked to review, and that you will check the outcome when they tell you the request has been reviewed.
Stop there. Do not call the check tool in a loop while you wait.
Call the check tool once, with the request's id. The id from the create result is enough on its own, and any key you pass with it must match the request's resource.
Each request has two states. Report both:
| Field | Meaning | Values |
|---|---|---|
reviewStatus | the reviewers' decision | pending, approved, declined |
status | the change itself | pending, scheduled, completed (applied), failed |
Each request lists its reviews with kind, comment, creationDate, and the memberId or serviceTokenId that left it. When a request is declined, give the reviewer and their reason.
For an integration-managed approval with auto-apply on, LaunchDarkly can apply the request itself once it is approved, so the one read can already show status as scheduled or completed. Do not read again to find out, and do not apply a request that is no longer pending.
When the user asks you to apply a request:
reviewStatus is approved and status is pending: apply it with confirm: true and an optional comment. The flag and segment tool takes projectKey and id. The AgentControl Config tool takes only id.reviewStatus is pending or declined: do not apply it. Tell the user where it stands.status is already completed or scheduled: nothing is left to apply. Say so.status is failed: the change did not go live. Tell the user the apply failed and give the request's description. Do not apply it again unless the user asks.An applied request with scheduled: true is not live until its executionDate. Say when it takes effect.
The apply tool reads the request back and returns applied. Report the change as live only when applied is true and you have read the resource back (get-flags, get-segments, or get-agent-configs) to confirm it.
When applied is false and there is no scheduled: true, the change is not confirmed. Say that, repeat the message, and do not call the apply tool again. Two cases return it: LaunchDarkly accepted the apply but the read-back failed, or the read-back shows a status other than completed. Call the check tool once and report the status, then leave the next step to the user.
get-approval-requests with projectKey, env, and flagKey or segmentKey (never both).get-member-self, then get-approval-requests with projectKey, assignedToMemberIds set to that id, and reviewStatus: ["pending"]. That filter finds only requests sent to the user by member id, so also list the project's pending requests without assignedToMemberIds and add each one whose notifyTeamKeys holds a team key from get-member-self's teams. Both lists are paged (20 by default, up to 200): while nextOffset is set, call again with it as offset, and read every page before you report the list as complete, because a team request on a later page is otherwise missed. Combine the two lists without repeating a request id, and say that the result includes requests sent to the user's teams.get-approval-requests with only projectKey lists what the project's Approvals page shows, across flags, segments, and AgentControl Configs, newest first. Narrow it by env, requestedByMemberId, resourceKind, status, or reviewStatus. The list is paged (20 by default, up to 200). While nextOffset is set, call again with it as offset. Read every page before you report the list as complete.get-agent-config-approvals with projectKey and configKey.Timestamps in results are UTC.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub launchdarkly/ai-tooling --plugin launchdarkly56 skills in this plugin
/agent-graphsCreate and manage agent graphs — directed graphs of configs connected by edges with handoff logic. Use when building multi-agent workflows where configs route to each other./aiconfig-agent-graphsDEPRECATED redirect — this skill was renamed to agent-graphs. Do not use this skill; invoke agent-graphs instead. Kept only so old references to aiconfig-agent-graphs still point users to the new name./aiconfig-ai-metricsDEPRECATED redirect — this skill was renamed to built-in-metrics. Do not use this skill; invoke built-in-metrics instead. Kept only so old references to aiconfig-ai-metrics still point users to the new name./aiconfig-createDEPRECATED redirect — this skill was renamed to configs-create. Do not use this skill; invoke configs-create instead. Kept only so old references to aiconfig-create still point users to the new name./aiconfig-custom-metricsDEPRECATED redirect — this skill was renamed to custom-metrics. Do not use this skill; invoke custom-metrics instead. Kept only so old references to aiconfig-custom-metrics still point users to the new name./aiconfig-migrateDEPRECATED redirect — this skill was renamed to migrate. Do not use this skill; invoke migrate instead. Kept only so old references to aiconfig-migrate still point users to the new name.Other plugins' skills for the same job