CtrlK
BlogDocsLog inGet started
Tessl Logo

metrics-instrumentation

Specification for instrumenting an opik-backend workflow with operational OpenTelemetry metrics — per-stage throughput/latency/error counters and native histograms, dimensioned per-customer (workspace). Use when a pipeline (scoring, ingestion, experiments, jobs) needs per-stage visibility. Covers metric emission only; building the Grafana dashboard from these metrics is a separate skill. Distinct from analytics-instrumentation (PostHog product events).

72

Quality

90%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

75%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A strong, genuinely normative spec: concrete code patterns, explicit MUST/SHOULD rules, cardinality constraints, and a real validation gate. Its weaknesses are moderate — placeholder-laden snippets, some OTel-basic explanation, and a monolithic single-file layout that could offload the pattern preamble and delivery process to references.

Suggestions

Trim concept primers Claude already knows (the counter/histogram/gauge definitions in §1.2 and the USE/RED method explanation) down to the project-specific selection rules, keeping the 'Rule of thumb' line.

Make the code snippets closer to copy-paste ready by resolving placeholders — e.g. show the actual Attributes construction for 'successAttrs' and where WORKSPACE_ID/TYPE_KEY constants come from — or explicitly justify the elisions.

Move the 11-bullet 'Patterns applied in this implementation' preamble and the §5 delivery/PR process detail into a one-level-deep reference file, keeping SKILL.md as a lean overview of the normative rules.

DimensionReasoningScore

Conciseness

Dense and information-rich with normative rules throughout, but includes trimmable explanations of concepts Claude already knows (counter defined as 'a monotonically increasing total, read as a rate', USE/RED method primers) and rationale asides like 'A producer that emits nothing makes downstream starvation explainable rather than mysterious'.

4 / 5

Actionability

Provides concrete Java code for meter creation, workspace-context resolution, and the reactive Mono<Void> enqueue pattern, plus the 'mvn -o compile' validation gate and explicit naming format strings — but snippets contain placeholders ('"<workflow>"', 'successAttrs', undefined 'TYPE_KEY', '…' elisions) that keep them from being copy-paste ready.

4 / 5

Workflow Clarity

Clear sectioned sequence (Model → Backend metrics → Tests → Constraints → Delivery) with validation checkpoints ('mvn -o compile MUST succeed (spotless clean) before delivery') and test-restoration guidance in §3.1, though there is no explicit validate→fix→retry feedback loop and §5 reads as requirements rather than ordered steps.

4 / 5

Progressive Disclosure

Well-organized numbered sections in a single self-contained file with no bundle files to navigate, but at ~120 lines with an 11-bullet pattern preamble and multi-PR delivery detail, some content could be split into one-level-deep references rather than inlined.

4 / 5

Total

16

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

An exemplary description: concrete capabilities, an explicit 'Use when' trigger clause with natural pipeline-type keywords, and explicit boundary fencing against two neighboring skills. Both what and when are answered clearly and in third person.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — 'per-stage throughput/latency/error counters and native histograms, dimensioned per-customer (workspace)' — with comprehensive coverage across metric types, dimensions, and scope boundaries.

5 / 5

Completeness

Explicitly answers both what ('Specification for instrumenting an opik-backend workflow with operational OpenTelemetry metrics') and when ('Use when a pipeline (scoring, ingestion, experiments, jobs) needs per-stage visibility') with concrete trigger phrases.

5 / 5

Trigger Term Quality

Comprehensive natural trigger terms: 'OpenTelemetry metrics', 'pipeline', 'scoring, ingestion, experiments, jobs', 'per-stage visibility', 'Grafana dashboard', 'workspace' — users needing metrics instrumentation would naturally say these.

5 / 5

Distinctiveness Conflict Risk

Explicitly disambiguates from sibling skills — 'Covers metric emission only; building the Grafana dashboard... is a separate skill. Distinct from analytics-instrumentation (PostHog product events)' — giving it a clear niche with minimal conflict risk.

5 / 5

Total

20

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
comet-ml/opik
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.