Gojiberry AI
AI agents that find and contact high-intent leads for you
Try Gojiberry free →
Hermes Agent
Run your Hermes agent, fully managed
Launch on Hostinger →
Hostinger VPS
Spin up a VPS in one click, 20% off
Launch on Hostinger →
Firecrawl
Crawl and scrape any site into clean data
Try Firecrawl free →
Runable
One AI agent to build, run, and grow your business
Try Runable free →
Context.dev
One API to scrape, enrich, and extract the web
Start building free →
Jotform
Forms, workflows, and AI Agents for your team
Try Jotform free →
Runable
One AI agent to build, run, and grow your business
Try Runable free →
OpenClaw
Deploy a managed OpenClaw agent in 60 seconds
Launch on Hostinger →
Sponsor here
9/10 sponsor slots taken — 1 left
Claim it →
Claude Market
Menu
SkillsMCPPluginsMarketplacesNewsletterSubmit MCPSkillPluginMCPMCP, plugin, or skillAdvertise
Claude Market
SkillsMCPPluginsMarketplacesNewsletterSubmit MCPSkillPluginMCPMCP, plugin, or skillAdvertise
Skills/launchdarkly/ai-tooling/launchdarkly-flag-targeting
launchdarkly-flag-targeting logo

launchdarkly-flag-targeting

launchdarkly/ai-tooling
596 installs25 stars
Run it on Hostinger, 20% off →Your friend gets 20% off too, using this linkFree API →|View on GitHub|Create your own skill →

Installation

npx skills add https://github.com/launchdarkly/ai-tooling --skill launchdarkly-flag-targeting

Summary

Control LaunchDarkly feature flag targeting including toggling flags on/off, percentage rollouts, targeting rules, individual targets, and copying flag configurations between environments. Use when the user wants to change who sees a flag, roll out to a percentage, add targeting rules, or promote config between environments.

SKILL.md

LaunchDarkly Flag Targeting & Rollout

You're using a skill that will guide you through changing who sees what for a feature flag. Your job is to understand the current state of the flag, figure out the right targeting approach for what the user wants, make the changes safely, and verify the resulting state.

Prerequisites

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

Required MCP tools:

  • get-flag: understand current state before making changes
  • toggle-flag: turn targeting on or off for a flag in an environment
  • update-rollout: change the default rule (fallthrough) variation or percentage rollout
  • update-targeting-rules: add, remove, or modify custom targeting rules
  • update-individual-targets: add or remove specific users/contexts from individual targeting

Optional MCP tools:

  • copy-flag-config: copy targeting configuration from one environment to another
  • create-approval-request: create an approval request when direct changes are blocked
  • list-approval-requests: check on pending approval requests for a flag
  • apply-approval-request: apply an already-approved approval request

Core Concept: Evaluation Order

Before making any targeting changes, understand how LaunchDarkly evaluates flags. This determines what your changes actually do:

  1. Flag is OFF -> Serve the offVariation to everyone. Nothing else matters.
  2. Individual targets -> If the context matches a specific target list, serve that variation. Highest priority.
  3. Custom rules -> Evaluate rules top-to-bottom. First matching rule wins.
  4. Default rule (fallthrough) -> If nothing else matched, serve this variation or rollout.

This means: if you add a targeting rule but the flag is OFF, nobody sees the change. If you set a percentage rollout on the default rule but there's an individual target, that targeted user bypasses the rollout.

Workflow

Step 1: Understand Current State

Before changing anything, check what's already configured.

  1. Confirm the environment. "Turn it on" without specifying an environment is ambiguous. Always confirm which environment the user means. Default to asking rather than assuming.
  2. Fetch the flag. Use get-flag with the target environment to see:
  • on: Is targeting currently enabled?
  • fallthrough: What's the default rule? (variation or percentage rollout)
  • offVariation: What serves when the flag is off?
  • rules: Any custom targeting rules?
  • targets: Any individually targeted users/contexts?
  • prerequisites: Any flags this depends on?
  1. Assess complexity. A flag with no rules and no individual targets is simple. A flag with multiple rules, targets, and prerequisites needs more care.

Step 2: Determine the Right Approach

Based on what the user wants and what you found, choose the right tool and strategy. See Targeting Patterns for the full reference.

Common scenarios:

User wantsToolNotes
"Turn it on"toggle-flag with on: trueSimplest change
"Turn it off"toggle-flag with on: falseServes offVariation to everyone
"Roll out to X%"update-rollout with rolloutType: "percentage"Weights must sum to 100
"Enable for beta users"update-targeting-rules: add a rule with clauseRules are ANDed within, ORed between
"Add specific users"update-individual-targetsHighest priority, overrides all rules

Before writing a rule, individual target, or percentage rollout, confirm the context supports it. A rule that names a context kind or attribute the flag's evaluation doesn't carry silently never matches; individual targets match the context key, not an attribute like email; and a rollout can only bucket by a kind present where the flag is read. See Context Availability to pick a context that will actually fire. | "Full rollout" | update-rollout with rolloutType: "variation" | Serve one variation to everyone | | "Copy from staging" | copy-flag-config | Promote tested config to production |

Step 3: Run the Safety Checklist

Before applying changes, especially in production, run through the Safety Checklist. The key checks:

  1. Right environment? Double-check you're targeting the intended environment.
  2. Approval required? Some environments require approval workflows. If any mutation tool returns requiresApproval: true:
  • Inform the user that this environment requires approvals.
  • Share the approvalUrl if provided.
  • Offer to create an approval request using create-approval-request with the same instructions (returned in the instructions field of the response).
  • Do NOT attempt to bypass approval or auto-approve.
  • See Approval Workflows for the full process.
  1. Prerequisite flags? If this flag has prerequisites, they must be met before targeting works as expected.
  2. Rule ordering impact? If adding rules, consider where they fall in evaluation order. Rules evaluate top-to-bottom, first match wins.
  3. Include a comment. Always add an audit trail comment, especially for production changes.

Step 4: Apply Changes

Use the appropriate tool for the change. Key notes:

  • toggle-flag: Specify on: true or on: false, the env, and a comment.
  • update-rollout: Use rolloutType: "percentage" with human-friendly weights (e.g., 80 for 80%) that sum to 100, or rolloutType: "variation" with a variationIndex.
  • update-targeting-rules: Instructions support addRule, removeRule, updateRuleVariationOrRollout, addClauses, removeClauses, reorderRules.
  • update-individual-targets: Instructions support addTargets, removeTargets, addContextTargets, removeContextTargets, replaceTargets.

See Targeting Patterns for detailed instruction examples.

Step 5: Verify

After applying changes, confirm the result:

  1. Fetch the updated flag. Use get-flag again to verify the new state.
  2. Confirm what the user expects. Describe the resulting targeting in plain language:
  • "The flag is now ON in production, serving true to 25% of users and false to 75%."
  • "Beta users now see variation A. Everyone else gets the default (variation B)."
  1. Check for side effects. If there are rules or individual targets, make sure the change interacts correctly with them.

Handling Approval-Required Environments

When any mutation tool returns requiresApproval: true, the direct change was blocked because the environment requires approvals. Follow the Approval Workflows reference to:

  1. Create an approval request with create-approval-request using the instructions from the blocked response
  2. Inform the user about the pending approval and share the approval request details
  3. Check on approval status later with list-approval-requests if requested
  4. Apply the request with apply-approval-request once a reviewer has approved it (reviewStatus is "approved")
  5. Verify the result with get-flag after applying

Important Context

  • update-rollout uses human-friendly percentages. Pass 80 for 80%, not 80000. The tool handles the internal weight conversion.
  • Weights must sum to 100. For percentage rollouts, the weights across all variations must total exactly 100.
  • Rule ordering matters. Rules evaluate top-to-bottom. Reordering rules can change behavior without changing any individual rule.
  • Individual targets are highest priority. They override all rules and the default. Adding someone as an individual target means rules don't apply to them.
  • "Launched" flags are still ON. A flag with status "launched" is serving a single variation to everyone. If you want to remove the flag, use the cleanup skill, not targeting changes.

References

  • Targeting Patterns: Rollout strategies, rule construction, individual targeting, and cross-environment copying
  • Context Availability: Which context kinds/attributes a rule, target, or rollout can use — matching the kind to the surface where the flag is read, key vs attribute, and rollout bucketing
  • Safety Checklist: Pre-change verification, approval workflows, environment awareness
  • Approval Workflows: Creating, checking, and applying approval requests

Score

0–100
63/ 100

Grade

C

Popularity15/30

596 installs — growing adoption.

Completeness27/30

Documented: full SKILL.md body, description, one-line install. Missing: category/license metadata.

Trust15/25

Community skill with a public GitHub source repository you can review.

Freshness6/15

No update timestamp is tracked for this skill in our catalog.

Scored automatically from popularity, completeness, trust, and freshness — computed only from data in our catalog, never fabricated.

Proud of your score? Add this badge to your README.

Paste a snippet into your GitHub README. The badge updates automatically and links back to this page.

Launchdarkly Flag Targeting skill score badge previewScore badge

Markdown

[![Launchdarkly Flag Targeting skill](https://www.claudemarket.ai/skills/launchdarkly/ai-tooling/launchdarkly-flag-targeting/badges/score.svg)](https://www.claudemarket.ai/skills/launchdarkly/ai-tooling/launchdarkly-flag-targeting)

HTML

<a href="https://www.claudemarket.ai/skills/launchdarkly/ai-tooling/launchdarkly-flag-targeting"><img src="https://www.claudemarket.ai/skills/launchdarkly/ai-tooling/launchdarkly-flag-targeting/badges/score.svg" alt="Launchdarkly Flag Targeting skill"/></a>

Launchdarkly Flag Targeting FAQ

How do I install the Launchdarkly Flag Targeting skill?

Run “npx skills add https://github.com/launchdarkly/ai-tooling --skill launchdarkly-flag-targeting” in your terminal. The skill is added to your agent's skills directory and picked up automatically on the next run — no restart or extra configuration needed.

What does the Launchdarkly Flag Targeting skill do?

Control LaunchDarkly feature flag targeting including toggling flags on/off, percentage rollouts, targeting rules, individual targets, and copying flag configurations between environments. Use when the user wants to change who sees a flag, roll out to a percentage, add targeting rules, or promote config between environments. The full SKILL.md on this page shows the exact instructions the skill gives your agent.

Is the Launchdarkly Flag Targeting skill free?

Yes. Launchdarkly Flag Targeting is a free, open-source skill published from launchdarkly/ai-tooling. As with any third-party skill, review the source repository before installing it into an agent with sensitive access.

Does Launchdarkly Flag Targeting work with Claude Code and OpenClaw?

Yes. Skills use the portable SKILL.md format, so Launchdarkly Flag Targeting works with Claude Code, OpenClaw, Codex, Hermes, and any other agent that reads SKILL.md skills.

Recommended skills

Browse all →
find-skills logo

find-skills

vercel-labs/skills

2.9M installsInstall
grill-me logo

grill-me

mattpocock/skills

817K installsInstall
frontend-design logo

frontend-design

anthropics/skills

762K installsInstall
grill-with-docs logo

grill-with-docs

mattpocock/skills

696K installsInstall
improve-codebase-architecture logo

improve-codebase-architecture

mattpocock/skills

671K installsInstall
agent-browser logo

agent-browser

vercel-labs/agent-browser

652K installsInstall

Related guides

Hand-picked reading to help you choose, install, and use agent skills.

GuideBest Openclaw Skills 2026GuideHow To Evaluate Openclaw Skill Before InstallingGuideOpenclaw Skills Complete Guide

Skills by category

FrontendBackend & APIsTesting & QASecurityDevOps & CI/CDMCP & ToolingAutomationData & Analysis+27 more

MCP servers by category

MCP & ToolingBackend & APIsData & AnalysisDevOps & CI/CDAutomationSecurityDocsTesting & QA+24 more

Plugins by category

AutomationDevOps & CI/CDData & AnalysisDesign & CreativeSecurityBackend & APIsFrontendTesting & QA+16 more

Marketplaces by category

AutomationData & AnalysisDevOps & CI/CDDesign & CreativeFrontendBackend & APIsTesting & QASecurity+21 more

The Agent Stack

Weekly Claude Code, Agent SDK, and MCP moves worth your time — free.

Claude Market

AI agent skills directory, marketplace, and workflow hub for OpenClaw, Hermes Agent, Claude Code, Codex, and MCP-powered operator stacks.

Independent project, not affiliated with Anthropic.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Plugins
  • Browse Marketplaces
  • Newsletter

More

  • Submit a Tool
  • Create a Skill
  • Advertise
  • Free Tools
  • API
  • Shipping
  • Contact
  • Terms
  • Privacy
© 2026 Claude Market · Not affiliated with Anthropic
Fazier badgeFeatured on Twelve ToolsFeatured on Wired BusinessRemote OpenClaw - Featured on AI Agents DirectoryListed on Turbo0Featured on Uneed