
Launchdarkly Metric Instrument
launchdarkly/ai-toolingOfficial
Instrument LaunchDarkly metric events by adding track() calls and verifying they reach LaunchDarkly.
- skills.sh installs
- 2.3K
- GitHub stars
- 32
- last updated
- Jul 14, 2026
What it does
- Covers SDK detection, call placement,
track()writing for server-side and client-side SDKs, and event verification - Includes per-language reference patterns (
references/sdk-track-patterns.md) and a troubleshooting table for events that never appear - Enforces matching the codebase's existing context object, exact event key casing, and wrapper utilities over direct
ldClientcalls - Designed for developers who need a metric event wired into code and confirmed through the
get-metric-eventsMCP tool
Install
$ npx -y skills add launchdarkly/ai-tooling --skill launchdarkly-metric-instrument -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
LaunchDarkly Metric Instrument
You're using a skill that will guide you through adding a track() call to a codebase so a LaunchDarkly metric can measure it. Your job is to detect the SDK in use, find the right place in code to add the call, write it correctly, and verify that events are reaching LaunchDarkly.
Prerequisites
This skill requires the remotely hosted LaunchDarkly MCP server to be configured in your environment.
Required MCP tools:
get-metric-events— verify events are flowing after instrumentation
Optional MCP tools (enhance workflow):
get-sdk-key— retrieve the server-side SDK key for the right environment when SDK initialization is needed (get-environmentfor a client-side ID or mobile key)
Workflow
Step 1: Detect the SDK
Before writing any code, understand the LaunchDarkly setup already in this codebase.
- Search for existing
track()calls. This is the fastest signal:- Look for
ldClient.track(,.track(,ld.track( - If any exist, they tell you the SDK type, call signature, and context pattern in one shot — mirror those exactly.
- Look for
Details
- Repository
- github.com/launchdarkly/ai-tooling
- Categories
- DevOps & Cloud, Backend & APIs
- First seen
- May 16, 2026
More from launchdarkly/ai-tooling
All 40- Aiconfig Online Evals2.2K
- Aiconfig Targeting2.2K
- Aiconfig Ai Metrics2K
- Aiconfig Custom Metrics2K
- Aiconfig Migrate2K
- Apply2K
- Detect2K
- Launchdarkly Experiment Setup2K
- Launchdarkly Guarded Rollout2K
- Mcp Configure2K
- Plan2K
- Sdk Install2K
- Aiconfig Agent Graphs1.8K
- Aiconfig Snippets1.8K
- Agent Graphs1.3K
- Built In Metrics1.3K
- Configs Create1.3K
- Configs Targeting1.3K
- Configs Update1.3K
- Configs Variations1.3K
- Custom Metrics1.3K
- Migrate1.3K
- Online Evals1.3K
- Projects1.3K
Similar to Launchdarkly Metric Instrument
More DevOps & Cloud
launchdarkly-metric-createSkilllaunchdarkly/ai-tooling2.3K installsCreate a LaunchDarkly metric for experiments, instrumenting missing events and verifying the result first.
built-in-metricsSkilllaunchdarkly/ai-tooling1.3K installsInstrument existing provider calls so LaunchDarkly records duration, tokens, success/error, and tool-call metrics automatically.
discover-analytics-patternsSkillamplitude/mcp-marketplace61.6K installsDiscovers how analytics tracking calls are written here, plus event and property naming conventions.
dash0Pluginanthropics/claude-plugins-official47.9K starsOpenTelemetry observability for Claude Code sessions. Captures tool calls, LLM invocations, token usage, and errors as OTel traces. Send telemetry to Dash0 or a
arize-instrumentationSkillgithub/awesome-copilot1.1K installsGuided two-phase flow that adds Arize AX tracing to an LLM app from scratch after user confirmation.