opentelemetry-genai-spec
OpenTelemetry semantic conventions for Generative AI attributes.
Skill by cedricziel
Chalk Labs
Need help deploying opentelemetry-genai-spec?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/cedricziel-opentelemetry-genai-spec
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/opentelemetry-genai-spec
What's inside
- Skill name
opentelemetry-genai-spec- Description
- OpenTelemetry semantic conventions for Generative AI attributes. Use when recording telemetry for GenAI.
- License
- MIT
- Instructions
- 103 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# opentelemetry-genai-spec Use this skill when adding or reviewing OpenTelemetry instrumentation for LLM systems. ## Goals - Emit portable `gen_ai.*` telemetry that works across backends. - Follow OTel semantic convention MUST/SHOULD guidance. - Avoid leaking prompt, tool, or retrieval-sensitive data by default. ## Minimum baseline attributes Always try to capture these first: - `gen_ai.provider.name` - `gen_ai.operation.name` - `gen_ai.request.model` - `gen_ai.response.model` - `gen_ai.response.id` - `gen_ai.response.finish_reasons` - `gen_ai.usage.input_tokens` - `gen_ai.usage.output_tokens` - `gen_ai.conversation.id` ## Add-by-capability attributes - **Agent metadata:** `gen_ai.agent.id`, `gen_ai.agent.name`, `gen_ai.agent.description`, `gen_ai.agent.version` - **Prompting/runtime controls:** `gen_ai.request.max_tokens`, `gen_ai.request.temperature`, `gen_ai.request.top_p`, `gen_ai.request.top_k`, `gen_ai.request.seed`, `gen_ai.request.stop_sequences`, `gen_ai.request.choice.count` - **Structured content:** `gen_ai.input.messages`, `gen_ai.output.messages`, `gen_ai.system_instructions`, `gen_ai.output.type` - **Tool use:** `gen_ai.tool.name`, `gen_ai.tool.type`, `gen_ai.tool.description`, `gen_ai.tool.call.id`, `gen_ai.tool.call.arguments`, `gen_ai.tool.call.result`, `gen_ai.tool.definitions` - **RAG/retrieval:** `gen_ai.data_source.id`, `gen_ai.retrieval.query.text`, `gen_ai.retrieval.documents` - **Evaluation:** `gen_ai.evaluation.name`, `gen_ai.evaluation.score.value`, `gen_ai.evaluation.score.label`, `gen_ai.evaluation.explanation` ## Normative rules to enforce - For `gen_ai.input.messages`, `gen_ai.output.messages`, `gen_ai.system_instructions`, and `gen_ai.retrieval.documents`, follow the linked OTel JSON schemas. - On **events**, record these payloads in structured form. - On **spans**, JSON string fallback is allowed only when structured attributes are not supported; prefer structured values. - Keep input messages in original send order. - Keep output mapping 1 message to 1 generated choice. - Use well-known enum values when they apply (provider, operation, output type, token type). - Keep `gen_ai.evaluation.score.label` low cardinality. - Avoid `gen_ai.tool.definitions` by default; enable only for deep debugging. ## Sensitive-data defaults Treat these as sensitive and opt-in by policy: - `gen_ai.input.messages` - `gen_ai.output.messages` - `gen_ai.system_instructions` - `gen_ai.tool.call.arguments` - `gen_ai.tool.call.result` - `gen_ai.retrieval.query.text` Implementation guidance: - Default to metadata-only telemetry in production. - Add redaction, truncation, or filtering controls before enabling content capture. - Document who can access raw traces and retention settings. ## Deprecation mapping - `gen_ai.system` -> `gen_ai.provider.name` - `gen_ai.usage.prompt_tokens` -> `gen_ai.usage.input_tokens` - `gen_ai.usage.completion_tokens` -> `gen_ai.usage.output_tokens` - `gen_ai.openai.request.response_format` -> `gen_ai.output.type` - `gen_ai.openai.request.seed` -> `gen_ai.request.seed` - `gen_ai.openai.request.service_tier` -> `openai.request.service_tier` - `gen_ai.openai.response.service_tier` -> `openai.response.service_tier` - `gen_ai.openai.response.system_fingerprint` -> `openai.response.system_fingerprint` Also deprecated with no direct replacement: - `gen_ai.prompt` - `gen_ai.completion` ## Practical rollout checklist 1. Instrument baseline attrs for every LLM call. 2. Add token usage and finish reasons. 3. Add tool and retrieval attrs where those capabilities exist. 4. Gate content attrs behind explicit config. 5. Validate event/span payload encoding rules in tests. 6. Track semconv updates because many GenAI attrs are still Development.
From cedricziel/assistant, MIT.
More from cedricziel/assistant
- 0.582score
observability
cedricziel
Practical observability guide for this workspace.
SkillBFreshness: B★ 6Claude Code +9 - 0.532score
e2e-testing
cedricziel
Playwright visual regression testing for the assistant Flutter SPA.
SkillCFreshness: C★ 6Claude Code +9 - 0.532score
ios-codesigning
cedricziel
iOS code signing and provisioning profile management via fastlane match.
SkillCFreshness: C★ 6Claude Code +9 - 0.532score
coding-agent
cedricziel
Run coding agents (Claude Code, Codex, OpenCode, or others) as background processes for programmatic control.
SkillCFreshness: C★ 6Claude Code +9 - 0.532score
agentskills-spec
cedricziel
Authoritative specification for the Agent Skills (agentskills.io) SKILL.md format.
SkillCFreshness: C★ 6Claude Code +9 - 0.532score
opentelemetry-rust-sdk
cedricziel
Best-practice guide for instrumenting Rust apps with the OpenTelemetry SDK.
SkillCFreshness: C★ 6Claude Code +9 - 0.532score
ux-principles
cedricziel
Flutter UX/UI principles for the assistant app.
SkillCFreshness: C★ 6Claude Code +9 - 0.532score
claude-code-agent
cedricziel
Run tasks on the local machine using Claude Code CLI as a background agent.
SkillCFreshness: C★ 6Claude Code +9 - 0.532score
interface-implementation
cedricziel
Checklist and architectural rules for implementing new assistant interfaces (CLI, Slack, web, etc.).
SkillCFreshness: C★ 6Claude Code +9 - 0.532score
openapi-sync
cedricziel
Enforces OpenAPI spec discipline when working on REST API endpoints in this project.
SkillCFreshness: C★ 6Claude Code +9 - 0.529score
ci-organization
cedricziel
CI organization principles and workflow structure for this project.
SkillCFreshness: C★ 6Claude Code +9 - 0.529score
rust-dependencies
cedricziel
Rust dependency management principles for this workspace.
SkillCFreshness: C★ 6Claude Code +9
Signals
- Stars
- 6
- Forks
- 1
- Open issues
- 14
- Last commit (this folder)
- Mar 23, 2026 (7 months ago)
- Last release
- May 26, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/cedricziel/assistant
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from cedricziel
- 0.582score
observability
cedricziel
Practical observability guide for this workspace.
SkillBFreshness: B★ 6Claude Code +9 - 0.567score

Aha.io
cedricziel
Search, read and update Aha.io ideas, features, epics, releases, goals and comments
ConnectorAFreshness: ALocal★ 6↓ 36/wkClaude Code +5 - 0.532score
interface-implementation
cedricziel
Checklist and architectural rules for implementing new assistant interfaces (CLI, Slack, web, etc.).
SkillCFreshness: C★ 6Claude Code +9 - 0.532score
e2e-testing
cedricziel
Playwright visual regression testing for the assistant Flutter SPA.
SkillCFreshness: C★ 6Claude Code +9 - 0.532score
ios-codesigning
cedricziel
iOS code signing and provisioning profile management via fastlane match.
SkillCFreshness: C★ 6Claude Code +9 - 0.532score
coding-agent
cedricziel
Run coding agents (Claude Code, Codex, OpenCode, or others) as background processes for programmatic control.
SkillCFreshness: C★ 6Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get opentelemetry-genai-spec running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
opentelemetry-genai-spec skill. Agent Mart. https://agentmart.dev/skills/cedricziel-opentelemetry-genai-spec (last updated 2026-10-24)