aiconfig-custom-metrics

Installation
SKILL.md

Custom Metrics for AI Configs

Full lifecycle management of custom business metrics: create metric definitions via API, track events via SDK, retrieve metric data, and manage metrics programmatically.

Prerequisites

  • LaunchDarkly SDK initialized (see aiconfig-sdk)
  • LaunchDarkly API token with writer role for metric management
  • Understanding of built-in AI metrics (see aiconfig-ai-metrics)

API Key Detection

Before prompting the user for an API key, try to detect it automatically:

  1. Check Claude MCP config - Read ~/.claude/config.json and look for mcpServers.launchdarkly.env.LAUNCHDARKLY_API_KEY
  2. Check environment variables - Look for LAUNCHDARKLY_API_KEY, LAUNCHDARKLY_API_TOKEN, or LD_API_KEY
  3. Prompt user - Only if detection fails, ask the user for their API key
Related skills

More from launchdarkly/agent-skills

Installs
496
GitHub Stars
10
First Seen
Apr 17, 2026