configs-targeting
Installation
SKILL.md
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-createskill)
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):