aiconfig-targeting

Installation
SKILL.md

AI Config Targeting

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

Prerequisites

  • LaunchDarkly account with AI Configs enabled
  • API access token with write permissions
  • Project key and environment key
  • Existing AI Config with variations (use aiconfig-create skill)

API Key Detection

  1. Check environment variables - LAUNCHDARKLY_API_KEY, LAUNCHDARKLY_API_TOKEN, LD_API_KEY
  2. Check MCP config - Claude: ~/.claude/config.json -> mcpServers.launchdarkly.env.LAUNCHDARKLY_API_KEY
  3. Prompt user - Only if detection fails

Core Concepts

Related skills

More from launchdarkly/agent-skills

Installs
623
GitHub Stars
10
First Seen
Mar 26, 2026