reference
Skill by open-telemetry
Adds and updates GenAI reference implementations under reference/scenarios for OpenTelemetry semantic-conventions changes. Aimed at contributors instrumenting Python libraries in the semantic conventions repository.
Install reference
Built from the published package, never by AI.
git clone --depth 1 https://github.com/open-telemetry/semantic-conventions-genai /tmp/semantic-conventions-genai && mkdir -p ~/.claude/skills && cp -r /tmp/semantic-conventions-genai/.github/skills/reference ~/.claude/skills/referenceRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/open-telemetry/semantic-conventions-genai /tmp/semantic-conventions-genai && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/semantic-conventions-genai/.github/skills/reference ~/.gemini/antigravity-cli/skills/referenceAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides work on reference implementations in the OpenTelemetry semantic conventions repository. When conventions change, it helps add or update scenario code under reference/scenarios/<library>/ for GenAI spans, attributes, entities, metrics, and events. The workflow covers finding the scenarios that support the changed operations, updating scenario.py and README.md, running the scenarios, and regenerating docs.
Attributes must come from real SDK inputs, outputs, errors, or library state. Values a library cannot provide are left unset rather than faked. Spans should wrap the specific library call for an operation, with attributes set inline next to that call. The skill is intended for contributors maintaining these Python library scenarios, not for application examples.
Written from the project's SKILL.md and checked against it.
What it can do
- Update scenario codeAdds or updates scenario.py files that wrap real library calls in spans.
- Set attributes inlineSets GenAI attributes next to the SDK call using only real values from the library.
- Maintain scenario READMEUpdates the operations table and implementation status in a library's README.md.
- Run scenariosRuns one library's scenario or all scenarios with uv run run-scenario and updates data.json.
- Update reports and docsRefreshes report tables with update-reports and regenerates docs with make generate-all.
What you need
- Python
- uv
- make
Try asking
- Add a reference scenario for a new GenAI chat operation in a Python library.
- Update the operations table and status in a library's scenario README.
- Run all reference scenarios and update the report tables.
Good to know
- Scenarios are for libraries and SDKs only, not application examples.
- Values the library cannot provide must be left unset, not faked.
- Private methods should only be called when the public API cannot instrument the library.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .github/skills/reference/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md4 KB
Alternatives to reference
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
reference: common questions
Who is this skill for?
It is for contributors who update reference implementations when GenAI semantic conventions change, for Python libraries. The source describes it as a workflow for the semantic conventions repository.
Does it add application examples?
No. The source says scenarios are for libraries and SDKs only, and application examples should not be added.
What happens if a library cannot provide an attribute value?
The source says to leave the attribute unset. Hardcoded or fake values are listed as bad patterns.
How do I install reference?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is reference free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is reference safe to use?
It scores 77 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to reference?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
