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 controlplane-com/ai-plugin --skill metrics-observabilitygit clone --depth 1 https://github.com/controlplane-com/ai-pluginWrote 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/controlplane-com/ai-plugin/metrics-observability)<a href="https://agentmods.dev/skills/controlplane-com/ai-plugin/metrics-observability"><img src="https://agentmods.dev/badge/skills/controlplane-com/ai-plugin/metrics-observability/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/controlplane-com/ai-plugin/metrics-observability"><img src="https://agentmods.dev/badge/skills/controlplane-com/ai-plugin/metrics-observability.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
SkillSpector: 1 finding, up to low
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- low Privilege Escalation · line 161 Skill requests more permissions than appear necessary for its stated functionality. Review if elevated access is justified.Fix: Request only the minimum permissions required. Document why each permission is needed. Remove broad permissions like '*' or 'all'.
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.00049 | $0.03672 |
| Opus 5.5 | $0.00020 | $0.01469 |
| Sonnet 5.5 | $0.00010 | $0.00734 |
| Haiku 4.5 | $0.00005 | $0.00367 |
Grade A, and why
metrics-observability 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 1mo 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 — 164 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Metrics, Tracing & Observability
Control Plane stores every workload's metrics as Prometheus-compatible time series in a managed backend (Mimir), queryable in PromQL through the per-org managed Grafana or the MCP tools. The org is the tenant: it comes from the endpoint path, so there is no org= label and no cross-org queries. Two traps dominate. Series names are short: memory is mem_used / mem_reserved / mem_billable, not memory_*; a memory_used query returns nothing, so ground names first with query_metrics without a query. Rate-shaped metrics are pre-rated: egress, requests_per_second, and the latency buckets are already rated by the platform's recording rules, so you query them bare; wrapping them in rate() again returns garbage. Finally, a workload's in-pod CPLN_TOKEN cannot authenticate to the metrics endpoint; querying from outside the mesh needs a user or service-account token.
Two ways to query
- MCP (primary for agents):
mcp__cpln__query_metricsruns a PromQLquery: a range query over the last1hat60sstep by default; passresolution: "instant"for a single point, orsince/from/to/stepto adjust. Without aquery, it lists the documented metric catalog, the documented and custom metric names live in the org right now, and a count ofkube_*andnode_*series (filterlists those); passmetric:to get one metric's live label values before filtering. List them whenever a query returns no series. Measure first, then change scaling settings. - Grafana: the managed per-org instance — open Metrics in the Console sidebar (or the Metrics link on any workload), use Explore for ad-hoc PromQL, and dashboards/alerting for the rest. The
grafanaAdminorg permission grants the Grafana Admin role; everyone else is Viewer.
PromQL: query the right shape
The platform pre-computes rates, so the shape decides the query form:
- Gauges — query bare:
cpu_used,mem_used,replica_count,workload_ready_replicas. - Pre-rated gauges — query bare, never
rate():egressandcross_zone_traffic(bytes per minute),requests_per_second,requests_initiated_per_second,cron_execution_rate. - Histogram —
histogram_quantile, no extrarate():request_duration_ms_bucketkeeps itslelabel and is already rated. - Cumulative counters — wrap in
increase()/rate()for velocity:container_restarts,cron_executions,workload_progress_failure,workload_rescheduled_replicas,domain_warnings.
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.
- 1mo ago Changed · +1 lines fd696b51366f
- 2mo ago Changed · -31 lines 0ec4f89853ad
- 3mo ago First seen · 194 lines · 49 tokens per session scan A 8c73105f3463
metrics-observability is a skill published in the GitHub repository controlplane-com/ai-plugin (12 stars, last pushed yesterday), licensed MIT. It adds 49 tokens to every session and 3,672 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-08-31.
metrics-observability compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| metrics-observabilitycontrolplane-com/ai-plugin | Skill | 12 | yesterday | MIT | A | 49 | Claude Code |
| ak-cloud-deployyaalalabs/agent-kernel | Skill | 195 | today | Apache-2.0 | A | 204 | Claude Code, Codex |
| huawei-cloud-cce-env-assessmenthuaweicloud/huaweicloud-skills | Skill | 59 | today | MIT | A | 69 | Claude Code, Codex |
| cloud-native-aws-serverlessj4flmao/agent-skills | Skill | 47 | 15d ago | MIT | A | 84 | Claude Code, Codex |
| cloud-native-kubernetes-masteryj4flmao/agent-skills | Skill | 47 | 15d ago | MIT | A | 85 | Claude Code, Codex |
| cloud-native-azure-functionsj4flmao/agent-skills | Skill | 47 | 15d ago | MIT | A | 82 | Claude Code, Codex |
| cloud-native-security-defensivej4flmao/agent-skills | Skill | 47 | 15d ago | MIT | A | 91 | Claude Code, Codex |