launchdarkly avatar

Launchdarkly Metric Create

This one helps you create LaunchDarkly metrics the right way: events first, then the metric. It's smarter than most tools because it checks whether your event is actually flowing before letting you create a metric that measures nothing. For custom metrics, it'll instrument the track call, wire up your SDK keys, and handle the .env config. For pageview and click metrics, it skips all that since those fire automatically. The documentation is unusually careful about keeping your local codebase name separate from your LaunchDarkly project key, which is the kind of thing that trips people up constantly. It won't let you silently create a broken metric, which is refreshing.

skills.sh installs
2.3K
GitHub stars
19
last updated
Jul 14, 2026

Install

$ npx -y skills add launchdarkly/agent-skills --skill launchdarkly-metric-create --agent claude-code

Installs into .claude/skills of the current project.

Files

LaunchDarkly Metric Create

You're using a skill that will guide you through creating a LaunchDarkly metric. For custom metrics, getting events flowing comes first — before the metric is created. Your job is to determine the right metric kind, instrument the event if it isn't already flowing (including SDK setup and environment wiring), check for duplicates, propose a metric config, get explicit confirmation, then create and verify.

Prerequisites

This skill requires the remotely hosted LaunchDarkly MCP server to be configured in your environment.

Required MCP tools:

  • create-metric — create the metric
  • get-metrics — verify it after creation
  • get-environment — fetch the client-side ID when instrumenting browser or mobile code
  • get-sdk-key — fetch the server-side SDK key when instrumenting server code

Optional MCP tools (enhance workflow):

  • get-metrics — check for existing metrics with the same event key and understand naming conventions
  • get-metric-events — discover which event keys have recent activity before committing to one (custom metrics only)

Two Different "Projects" — Never Confuse Them

Sponsors

Details

Repository
github.com/launchdarkly/agent-skills
Category
AI & Agent Building
First seen
May 16, 2026

More from launchdarkly/agent-skills

All 41
1mapbox avatarmapbox-geospatial-operationsmapbox/mapbox-agent-skillsExpert guidance on choosing the right geospatial tool based on problem type, accuracy requirements, and performance needs2.3Kskills.sh installs
2coinbase avatarfundcoinbase/agentic-wallet-skillsAdd money to the wallet. Use when you or the user want to fund, deposit, top up, load, buy USDC, add funds, onramp, or get USDC. Also use when the wallet has in2.3Kskills.sh installs
3k-dense-ai avatarexploratory-data-analysisk-dense-ai/scientific-agent-skillsPerform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ,2.3Kskills.sh installs
4xtone avatarcode-reviewxtone/ai_development_toolsPRやコード変更の汎用コードレビューを実施します。コードの品質、セキュリティ、設計を共通基準で評価し、approve/rejectを判断します。「このPRをレビュー」「コードレビューして」「マージ前チェック」などの依頼や、gh pr viewコマンドの実行時に使用してください。2.3Kskills.sh installs
5lingzhi227 avatarlatex-formattinglingzhi227/agent-research-skillsHandle LaTeX formatting, templates, and styling for academic papers. Set up conference templates (ICML, ICLR, NeurIPS, AAAI, ACL), fix formatting issues, manage2.3Kskills.sh installs
6jwynia avatarrequirements-analysisjwynia/agent-skillsDiagnose requirements problems and guide discovery of real needs and constraints2.3Kskills.sh installs