What problem does it solve?
Validating that OpenInference instrumentors correctly dual-write native attributes into OTel GenAI semantic conventions (gen_ai.*) requires running a complex harness with mock providers, Weaver live-check, and careful interpretation of coverage gaps. This Skill guides running, interpreting, and extending that conformance workflow.
Core Features & Use Cases
- Harness Execution: Runs the conformance harness at
python/openinference-instrumentation/scripts/conformance/ via uv run, exercising Anthropic, OpenAI, and Google GenAI instrumentors against deterministic mock APIs.
- Gap Diagnosis: Categorizes missing
gen_ai.* registry attributes into dual-write conversion gaps, test scenario gaps, mock data gaps, unsupported provider features, and application-level attributes.
- Coverage Iteration: Guides extending
_genai_conversion.py, adding unit tests in test_genai.py, and adding providers or scenarios to maximize registry coverage.
- Version Bumping: Walks the checklist for upgrading pinned Weaver and semantic-conventions versions, including refreshing vendored JSON schemas.
- Use Case: When a user asks why
gen_ai.usage.cache_read.input_tokens is missing from conformance output, the Skill identifies whether the fix belongs in the conversion layer, the mock server, or the test scenario.
Quick Start
Run the GenAI conformance harness and tell me which gen_ai registry attributes are missing and how to fix them.