Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add aws/tools-for-devops-agent --skill launchdarkly-custom-metricsgit clone --depth 1 https://github.com/aws/tools-for-devops-agentWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/aws/tools-for-devops-agent/launchdarkly-custom-metrics)<a href="https://agentmods.dev/skills/aws/tools-for-devops-agent/launchdarkly-custom-metrics"><img src="https://agentmods.dev/badge/skills/aws/tools-for-devops-agent/launchdarkly-custom-metrics/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/aws/tools-for-devops-agent/launchdarkly-custom-metrics"><img src="https://agentmods.dev/badge/skills/aws/tools-for-devops-agent/launchdarkly-custom-metrics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00046 | $0.02609 |
| Opus 5.5 | $0.00018 | $0.01044 |
| Sonnet 5.5 | $0.00009 | $0.00522 |
| Haiku 4.5 | $0.00005 | $0.00261 |
Grade A, and why
launchdarkly-custom-metrics scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 20d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 301 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Custom Metrics for Configs
Full lifecycle management of custom business metrics: create metric definitions with the MCP server, track events via SDK, retrieve metric data, and update or delete metrics.
Prerequisites
- LaunchDarkly AI SDK initialized in the application that sends the events. The SDK reads
LD_SDK_KEYfrom the environment. - The remotely hosted LaunchDarkly MCP server configured in your environment
API Access
Use the LaunchDarkly MCP server tools: they authenticate with the connection the customer set up. Create metrics with create-metric, check that events are arriving with get-metric-events, read definitions with get-metrics, and change or remove them with update-metric and delete-metric. Never ask the user for an API access token.
Metrics Lifecycle Overview
| Step | Method | Purpose |
|---|---|---|
| 1. Create | MCP create-metric |
Define metric in LaunchDarkly |
| 2. Track | SDK | Send events to the metric |
| 3. Get | MCP get-metrics (with metricKey for one), get-metric-events |
Retrieve metric definition/data |
| 4. Update | MCP update-metric |
Modify metric properties |
| 5. Delete | MCP delete-metric |
Remove metric |
1. Create Metric
Call create-metric. eventKey must match the key your code passes to track():
{
"projectKey": "support-ai",
"key": "ai.task.completion",
"name": "Agent Task Completion Rate",
"kind": "custom",
"eventKey": "ai.task.completion",
"measureType": "value",
"valueAggregation": "average",
"successCriteria": "HigherThanBaseline",
"unit": "count",
"description": "Tracks successful agent task completions"
}
measureType is count (how many times the event fired), occurrence (whether each user fired it at all), or value (a number sent with the event). Then confirm with get-metrics and metricKey.
Metric Kinds:
custom- Track any event (most common for agent metrics)pageview- Track page viewsclick- Track click events
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 20d ago First seen · 301 lines · 46 tokens per session scan A 3338713d8aef
launchdarkly-custom-metrics is a skill published in the GitHub repository aws/tools-for-devops-agent (153 stars, last pushed yesterday), licensed Apache-2.0. It adds 46 tokens to every session and 2,609 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-10.
launchdarkly-custom-metrics compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| launchdarkly-custom-metricsaws/tools-for-devops-agent | Skill | 153 | yesterday | Apache-2.0 | A | 46 | Claude Code, Codex |
| aws-step-functionsawslabs/agent-plugins | Skill | 953 | today | Apache-2.0 | A | 57 | Claude Code |
| hyperpod-version-checkerawslabs/agent-plugins | Skill | 953 | today | Apache-2.0 | A | 120 | Claude Code |
| dsqlawslabs/agent-plugins | Skill | 953 | today | Apache-2.0 | A | 247 | Claude Code |
| aws-lambdaawslabs/agent-plugins | Skill | 953 | today | Apache-2.0 | A | 74 | Claude Code |
| notionArvo-AI/aurora | Skill | 470 | today | Apache-2.0 | A | 23 | Claude Code |
| datadogArvo-AI/aurora | Skill | 470 | today | Apache-2.0 | A | 28 | Claude Code |