opentelemetry

opentelemetry is a skill for Claude Code from bendrucker/claude. It costs 27 tokens per session (394 once invoked), scanned A, original, MIT.

A set of conventions for adding OpenTelemetry tracing to software. OpenTelemetry is a common way to record requests and operations as traces so their behavior can be inspected later.

In plain words
What is it for?
Use it when instrumenting HTTP requests, database operations, remote calls, or messaging, and when testing the spans those operations produce.
Why use it?
It prevents inconsistent trace names, attributes, error states, and tests that make recorded data hard to search or compare.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the opentelemetry plugin — 1 skill shipped together

Good fit Use it when instrumenting HTTP requests, database operations, remote calls, or messaging, and when testing the spans those operations produce.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bendrucker/claude/opentelemetry
Install

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.

Any agent
npx skills add bendrucker/claude --skill opentelemetry
Clone the repo
git clone --depth 1 https://github.com/bendrucker/claude

Made for: Claude Code.

Or install opentelemetry, the plugin that ships this one along with the rest of its 1 skill.

Wrote 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.

agentmods badge for opentelemetry

README.md
[![agentmods](https://agentmods.dev/badge/skills/bendrucker/claude/opentelemetry/github.svg)](https://agentmods.dev/skills/bendrucker/claude/opentelemetry)
Your own site
<a href="https://agentmods.dev/skills/bendrucker/claude/opentelemetry"><img src="https://agentmods.dev/badge/skills/bendrucker/claude/opentelemetry/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.

agentmods 80×15 button for opentelemetry

Your own site · 80×15
<a href="https://agentmods.dev/skills/bendrucker/claude/opentelemetry"><img src="https://agentmods.dev/badge/skills/bendrucker/claude/opentelemetry.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 394 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.00394
Opus 5.5 $0.00011 $0.00158
Sonnet 5.5 $0.00005 $0.00079
Haiku 4.5 $0.00003 $0.00039

Measured 2mo ago against content hash 56070bd5c3ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

opentelemetry 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 2mo 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.

plugins/opentelemetry/skills/opentelemetry/SKILL.md · 44 lines

What it actually says

OpenTelemetry

Span Naming

Use short, low-cardinality names from semantic conventions:

  • HTTP: GET /users/{id} (method + route template, never full URL path)
  • DB: SELECT users (operation + table)
  • RPC: grpc.health.v1.Health/Check
  • Messaging: orders process (destination + operation)

Attributes

Use semantic convention attribute names — never invent your own:

  • HTTP: http.request.method, url.full, http.response.status_code, server.address
  • DB: db.system, db.statement, db.namespace
  • General: error.type, service.name

Import from the versioned semconv package (e.g., go.opentelemetry.io/otel/semconv/v1.x).

Status

Only set status on errors: span.SetStatus(codes.Error, err.Error()). Never set Ok — unset is the success state. Call RecordError alongside SetStatus; it only adds a span event, doesn't change status.

For HTTP: 4xx is Error on client spans, Unset on server spans. 5xx is always Error.

Testing

Use in-memory exporters with SimpleSpanProcessor (not batch — batch introduces timing). Assert on exported spans' names, attributes, and status. No mocking needed.

Boundaries

Instrument network calls, I/O, and queue operations — not every function. Use span events (AddEvent) instead of separate log statements for events within a traced operation.

Changes

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.

  1. 2mo ago First seen · 44 lines · 27 tokens per session scan A 56070bd5c3ca

Subscribe to this mod's changes

opentelemetry is a skill published in the GitHub repository bendrucker/claude (18 stars, last pushed today), licensed MIT. It adds 27 tokens to every session and 394 once invoked, about $0.0001 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-09-03.

Related

opentelemetry compared with skills from other repositories

opentelemetry next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
opentelemetrybendrucker/claudeSkill18todayMITA27Claude Code
release-itwondelai/skillsSkill2.7k7d agoMITA131Claude Code, Codex
tidewave-integrationoliver-kriska/claude-elixir-phoenixSkill5743d agoMITA38Claude Code
analyzersmdt/the-startupSkill57914d agoMITA96Claude Code
anti-patternsavelikiy/great_ctoSkill113todayMITA59Claude Code
windows-compatsdsrss/code-graph-mcpSkill92todayMITA165Claude Code, Codex
vigil-instrumenttonone-ai/tononeSkill77todayMITA61Claude Code