agentsclimarketplace

Otel semantic conventions

Skill ollygarden/opentelemetry-agent-skills/skills/otel-semantic-conventions

OpenTelemetry semantic convention lookup and naming guidance. Use when selecting released semantic convention groups, attributes, or span naming rules, or when checking semantic convention compliance.From its SKILL.md

Install
npx -y skills add ollygarden/opentelemetry-agent-skills --skill otel-semantic-conventions

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • reads credentialsReads from 1 credential source: `OTEL_SEMCONV_REPO`.
  • runs commandsInstructs the agent to run 4 commands, including `./scripts/query-otel-semantic-conventions.sh --groups` and 3 more.

SKILL.md

2.4 KB, 463 tokens by cl100k_base, as published. Nobody here has run it

OpenTelemetry Semantic Conventions

Use this skill when you need released semantic convention guidance for naming, attributes, or compliance checks.

Workflow

  1. Start with released semantic conventions, not model memory.
  • do not load the full semantic convention spec into context
  • use the bundled lookup script to query only the needed released group or attribute
  • for local verification against a checked-out upstream repo, set OTEL_SEMCONV_REPO=/path/to/semantic-conventions
  1. Choose the closest released group before inventing custom keys.
  • identify the boundary type such as http, db, messaging, rpc, or network
  • pick one primary group first, then add related groups only when they add needed context
  • for gen_ai.*, OpenAI, or MCP conventions, use the dedicated OpenTelemetry GenAI semantic conventions repository; the core repository keeps only deprecated GenAI-era stubs after v1.42.0
  • see references/semconv-selection.md
  1. Query only the released guidance you need.
  • list groups: ./scripts/query-otel-semantic-conventions.sh --groups
  • inspect one group: ./scripts/query-otel-semantic-conventions.sh http
  • inspect one kind: ./scripts/query-otel-semantic-conventions.sh http spans
  • inspect one exact attribute or entry: ./scripts/query-otel-semantic-conventions.sh http http.request.method
  • see references/otel-semantic-conventions.md
  1. Apply the released naming and attribute rules directly.
  • use required and recommended attributes before optional ones
  • derive semconv-governed span names directly from the released naming rule
  • do not prepend or append protocol labels, hostnames, product names, business hints, or other custom prose to semconv-governed span names
  • if the released naming rule does not provide a low-cardinality target, use the simpler fallback allowed by that convention
  • if no released key exists, use a stable custom namespace and keep values bounded
  1. Return the result with exact source context.
  • include the group name, released version, and source URL from the script output
  • call out any concrete compatibility limitation if the implementation cannot fully match the released guidance

What ships with it: 3 files

17.6 KB alongside SKILL.md, 1 of them executable

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.