launchdarkly — Claude Code plugin: what it does, how to install
Connects LaunchDarkly flag workflows and AgentControl configurations directly to your Claude Code workspace.
/plugin marketplace add anthropics/claude-plugins-community
/plugin install launchdarkly@claude-communityWhat launchdarkly does
This plugin bundles modular skills and an MCP server to manage LaunchDarkly resources from the CLI. The agent can examine a pull request diff to check if a code change needs a feature toggle. It also crafts new flags following your existing code patterns and removes obsolete branches when flags retire.
It handles guarded rollouts with rollback mechanisms and detects drift between SDK fallback defaults and remote rules. Another dedicated set of playbooks handles AgentControl migrations, helping you extract hardcoded LLM prompts into versioned configs. The plugin modifies flags directly.
Without an API access token, the MCP server will fail to authenticate and cannot apply updates to your account.
What it helps with
- audit code to identify and remove obsolete feature flags
- evaluate pull request changes to decide if a toggle is required
- set up guarded rollouts with automatic metric-based rollback
- extract hardcoded prompts into managed AgentControl configs
Example prompts for the agent
- /launchdarkly:launchdarkly-flag-cleanup remove the old-checkout flag across the codebase
- /launchdarkly:should-flag-change inspect the current diff and check if it needs a flag
- /launchdarkly:launchdarkly-guarded-rollout roll out redesign-v2 to 25% of traffic
How to install launchdarkly
Plugin marketplace
/plugin marketplace add anthropics/claude-plugins-community/plugin install launchdarkly@claude-communityStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about launchdarkly
How to install launchdarkly in Claude Code?
Add the marketplace source using /plugin marketplace add anthropics/claude-plugins-community. Then install the plugin with /plugin install launchdarkly@claude-community and supply your LaunchDarkly API access token when prompted.
What does the launchdarkly plugin do?
It gives Claude Code automated workflows to audit, create, update, and prune feature toggles. It also manages AgentControl prompt configurations and experiment metric tracking via an MCP connection.
What is required before using this plugin?
You need an active LaunchDarkly account and an API access token. The included MCP server depends on this credential to perform read and write actions on your flags.