Agent skill · AI & Agents

genai:semantic-conventions

OpenTelemetry GenAI semantic conventions for agent instrumentation - the standard attributes for LLM observability

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill genai-semantic-conventions --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Path: skills/ai-llm/genai-semantic-conventions/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# OpenTelemetry GenAI Semantic Conventions Reference for instrumenting agents with OpenTelemetry GenAI semantic conventions. **Spec**: https://opentelemetry.io/docs/specs/semconv/gen-ai/ ## Architecture ``` Agent (gen_ai.* only) → OTEL Collector → Transform → Phoenix (llm.*) + MLflow (mlflow.trace.*) ``` Agents emit **only** `gen_ai.*` attributes. The OTEL Collector transforms these to: - **OpenInference format** (`llm.*`) for Phoenix - **MLflow metadata** (`mlflow.trace.*`) for MLflow session tracking ## Core Attributes ### Request Attributes (on LLM call spans) | Attribute | Type | Description | Example | |-----------|------|-------------|---------| | `gen_ai.system` | string | GenAI provider/system | `openai`, `anthropic`, `langchain` | | `gen_ai.request.model` | string | Model requested | `gpt-4`, `claude-3-opus` | | `gen_ai.request.max_tokens` | int | Max tokens to generate | `1024` | | `gen_ai.request.temperature` | float | Sampling temperature | `0.7` | | `gen_ai.request.top_p` | float | Nucleus sampling | `0.9` | ### Response Attributes | Attribute | Type | Description | Example | |-----------|------|-------------|---------| | `gen_ai.response.model` | string | Model that r

What's inside
Steps it walks through
  1. Architecture
  2. Core Attributes
  3. Request Attributes (on LLM call spans)
  4. Response Attributes
  5. Conversation/Session Attributes
  6. Agent Attributes (custom, for A2A agents)
  7. Python Usage
  8. Auto-instrumentation (Recommended)
  9. Manual Span Attributes
  10. Adding to Existing Span
  11. OTEL Collector Transforms
  12. GenAI → OpenInference (Phoenix)
  13. GenAI → MLflow
  14. Span Naming Conventions
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the genai:semantic-conventions skill do?

OpenTelemetry GenAI semantic conventions for agent instrumentation - the standard attributes for LLM observability

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill genai-semantic-conventions --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going