Index of every page on this site: llms.txt
All skills
launchdarkly avatar

/configs-targeting

@f0ee110 official
Run it yourself

Configure config targeting rules to control which variations serve to different users. Enable percentage rollouts, attribute-based rules, segment targeting, and guarded rollouts.

Use this Skill: https://skilld.dev/gh/launchdarkly/ai-tooling/configs-targeting

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

README.md

≈339 tokens on demand. Your agent reads this file only when SKILL.md points to it.

LaunchDarkly Config Targeting Skill

An Agent Skill for configuring config targeting rules with the LaunchDarkly MCP server.

Overview

This skill teaches agents how to:

  • Turn targeting on/off for configs
  • Add attribute-based targeting rules
  • Configure percentage rollouts for A/B testing
  • Set fallthrough (default) variations
  • Target individual contexts or segments

Installation (Local)

Copy skills/agentcontrol/configs-targeting/ into your agent client's skills path.

Prerequisites

  • The LaunchDarkly MCP server (scripts without MCP need an API access token with ai-configs:write)
  • Existing config with variations (use configs-create skill)
  • Understanding of contexts (see context-basic skill)

Usage

Set up targeting rules for model-selector: route sonnet requests to the Sonnet variation, mistral to Mistral, and default to Opus
Add a percentage rollout: 60% to variation A, 40% to variation B for premium users

Structure

configs-targeting/
├── SKILL.md
└── README.md

Related

License

Apache-2.0

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts11d3 checks · Risk SAFE
  • Gen Agent Trust Hub15d

    The skill facilitates managing LaunchDarkly configuration targeting rules. It interacts exclusively with official LaunchDarkly API endpoints and includes explicit instructions to avoid scraping local credentials, requiring user confirmation for all write operations.

  • Socket11d

    No alerts

  • Snyk15d

    Risk: LOW · No issues

Signed by skilld at f0ee110. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 weeks ago
metadata
{
  "author": "launchdarkly",
  "version": "0.1.0"
}
Other metadata
compatibility
Requires the remotely hosted LaunchDarkly MCP server. Scripted setup without MCP needs an API access token with ai-configs:write permission.
  • API
  • launchdarkly
  • feature-flags
  • targeting
  • rollouts
  • segments
  • config-management
  • semantic-patch

README badge

README badge for launchdarkly/ai-tooling/configs-targeting

Configures targeting rules for LaunchDarkly AI configs to control which variations serve to different contexts via percentage rollouts, attribute-based rules, and segment targeting. Uses the LaunchDarkly semantic patch API with individual targets, custom rules, and fallthrough defaults evaluated in order.

Generated from the current SKILL.md.

Does this skill work with LaunchDarkly feature flags or only configs?
This skill targets LaunchDarkly configs (AI-specific targeting) only, not feature flags. The semantic patch API and instruction set are specific to the ai-configs endpoint.
Do I need to fetch variation IDs before setting up targeting rules?
Yes. The skill requires variation UUIDs (not keys) to configure rules. You must call the GET targeting endpoint first to retrieve the _id field for each variation.
Can I use turnTargetingOn to enable a config?
No. The turnTargetingOn instruction does not work for configs. Instead, use updateFallthroughVariationOrRollout to set the fallthrough to an enabled variation.
What permissions does my API token need?
Your LaunchDarkly API token must have ai-configs:write permission to modify targeting rules.
Does this support percentage rollouts and segment targeting?
Yes. The skill supports percentage rollouts via percentageRolloutConfig, attribute-based rules, individual context targeting, and segment targeting via segmentMatch clauses.

Generated from the current SKILL.md. These answers refresh after source changes.