aiconfig-custom-metrics

Manage custom metrics for LaunchDarkly AI Configs via API and SDK.

25|8|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/launchdarkly/ai-tooling --skill aiconfig-custom-metrics-launchdarkly
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aiconfig-custom-metrics
Source: https://github.com/launchdarkly/ai-tooling/tree/main/skills/ai-configs/aiconfig-custom-metrics
Command: npx skills add https://github.com/launchdarkly/ai-tooling --skill aiconfig-custom-metrics-launchdarkly

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create, track, retrieve, update, and delete custom metrics for LaunchDarkly AI Configs to enable measurable performance and governance across AI workflows.

Core Features & Use Cases

  • Define metric definitions via the API for AI Configs.
  • Track events and metric values using the SDK.
  • Retrieve, update, and delete metrics to maintain lifecycle governance across projects.

Quick Start

Create a custom metric for your AI Config project, then emit events and query results to validate setup.

Frequently Asked Questions about aiconfig-custom-metrics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create custom metrics for AI Configs in LaunchDarkly?

You create custom metrics for LaunchDarkly AI Configs by sending API requests to define metric definitions for your project. This requires a writer-role API token to authenticate the management request.

How do I track AI Config metric values using the SDK?

You track AI Config metric values by emitting events through the LaunchDarkly server SDK. Once your custom metric definitions are established via the API, the SDK handles tracking events and recording the corresponding metric data.

Do I need a specific API token to manage AI Config metrics?

Yes, managing AI Config metrics requires a writer-role API token. This token provides the necessary permissions to create, update, and delete custom metric definitions across your LaunchDarkly projects via the API.

Can I update and delete custom metrics after they are created?

Yes, you can update and delete custom metrics after creation. The API supports the full metrics lifecycle, allowing you to update metric properties and delete definitions to maintain governance across your AI Config workflows.

What is the difference between using the API and the SDK for AI Config metrics?

The API is used for managing custom metric definitions, including creating, retrieving, updating, and deleting them. The LaunchDarkly server SDK is used for tracking events and emitting the actual metric values during your AI workflows.