Skip to content
launchdarkly avatar

Configs Targeting

Configure targeting rules that control which config variations serve to different users and contexts.

CCM score
67 of 100
skills.sh installs
1.9K
GitHub stars
32
last updated
Jul 14, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers default-rule edits, percentage rollouts, attribute-based rules, segment targeting, and individual user targets, with a verify step after each change
  • Includes MCP get-agent-configs and update-agent-config calls with confirm: true on every write, plus a REST semantic-patch path for scripts
  • Enforces evaluation order of individual targets, then segments, then custom rules, then the default rule, and uses weights in thousandths
  • Designed for LaunchDarkly AgentControl users who need to roll out or split config variations without writing code

Install

$ npx -y skills add launchdarkly/ai-tooling --skill configs-targeting -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Config Targeting

Configure targeting rules for configs to control which variations serve to different contexts. Works the same for both completion and agent mode.

Prerequisites

  • LaunchDarkly account with AgentControl enabled
  • Project key and environment key
  • Existing config with variations (use configs-create skill)

API Access

Use the LaunchDarkly MCP server tools: they authenticate via OAuth and need no token. The REST examples under Scripting without MCP are for code that runs without the agent; if the user wants one run in this session, ask them to paste an API access token and substitute it for {api_token}. Do not search environment variables, .env files, or agent/MCP config files for credentials.

Core Concepts

Evaluation Order

Targeting rules evaluate in this order (same as feature flags):

  1. Individual targets - Specific context keys (highest priority)
  2. Segment rules - Pre-defined segments
  3. Custom rules - Attribute-based conditions (evaluated in order)
  4. Default rule - Fallthrough for all others
  5. Off variation - When targeting is disabled

Key Concepts

Details

Repository
github.com/launchdarkly/ai-tooling
Category
AI Agents & LLM Apps
First seen
Jul 14, 2026

Questions

What does the configs-targeting skill do?

It configures targeting rules for LaunchDarkly configs so you can control which variations serve to different users. It supports percentage rollouts, attribute-based rules, segment targeting, and guarded rollouts. It works the same for both completion and agent mode.

How do I install the configs-targeting skill?

Run npx -y skills add launchdarkly/ai-tooling --skill configs-targeting -y in your project. Once installed, the agent can set fallthrough rules, add targeting rules, and target individual users for your configs.

What do I need before using configs-targeting?

You need a LaunchDarkly account with AgentControl enabled, your project key and environment key, and an existing config with variations, which the configs-create skill can make. The remotely hosted LaunchDarkly MCP server is required, and scripted setup without MCP needs an API access token with ai-configs:write permission.

Where does configs-targeting stand in the AI Agents and LLM Apps category?

It is in the AI Agents and LLM Apps category on Claude Marketplaces, alongside skills such as microsoft-foundry, azure-ai and google-agents-cli-adk-code. What sets this skill apart is its focus on LaunchDarkly config targeting, including percentage splits, segment rules and individual targets.

More from launchdarkly/ai-tooling

All 40

Similar to Configs Targeting

More AI Agents & LLM Apps