Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

genai-conformance

Skill by Arize-ai

Runs and interprets the OpenInference GenAI conformance harness, which checks emitted gen_ai.* OpenTelemetry attributes against the Weaver registry. Intended for maintainers of OpenInference instrumentors working on the dual-write conversion.

  • Score 78
  • 1.3k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install genai-conformance

Built from the published package, never by AI.

git clone --depth 1 https://github.com/Arize-ai/openinference /tmp/openinference && mkdir -p ~/.claude/skills && cp -r /tmp/openinference/.claude/skills/genai-conformance ~/.claude/skills/genai-conformance

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install genai-conformance in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides an assistant through the OpenInference GenAI conformance harness in the repository's scripts/conformance directory. The harness runs instrumentors against deterministic mock provider APIs for Anthropic, OpenAI and Google GenAI, exports OTLP traces to weaver registry live-check, and prints a summary of gen_ai.* attributes seen, missing and by advice level.

The skill explains how to read that summary, sorts missing attributes into categories such as dual-write gaps, test scenario gaps and mock data gaps, and describes how to extend _genai_conversion.py, add providers or scenarios, and bump the semantic conventions and Weaver versions. It is written for contributors to the OpenInference Python instrumentation package.

Written from the project's SKILL.md and checked against it.

What it can do

  • Run the conformance harnessRuns the harness with uv against deterministic mock provider endpoints and Weaver live-check.
  • Interpret the summaryExplains registry attributes seen, missing, and the violation and improvement advice counts.
  • Triage missing attributesSorts missing gen_ai.* attributes into dual-write, test, mock data, or provider-unsupported gaps.
  • Extend dual-write conversionGuides changes to _genai_conversion.py and matching unit tests in test_genai.py.
  • Add providers and scenariosDescribes adding a provider script, a PROVIDER_SCRIPTS entry, and non-LLM spans for TOOL, RETRIEVER, and EMBEDDING.
  • Bump semconv versionLists the checklist for updating the semantic conventions and Weaver versions and vendored schemas.
  • Find genuine shape errorsShows how to filter results/live_check.json for advice whose id is not missing_attribute.

What you need

  • uv
  • Python
  • A checkout of the OpenInference repository
  • Network access on first run to download Weaver and the semantic conventions registry

Try asking

  • Run the GenAI conformance harness and summarize the missing gen_ai attributes.
  • Which missing gen_ai.* attributes are dual-write gaps I can fix in conversion?
  • Add a unit test in test_genai.py for a new gen_ai attribute mapping.

Good to know

  • The harness uses deterministic mock provider APIs, not live provider calls.
  • Non-registry OpenInference attributes show up as missing_attribute violations by design.
  • Editable installs of the local packages are required; PyPI versions lack in-progress dual-write changes.
  • The conformance directory is excluded from mypy and pytest checks, while ruff still lints it.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/genai-conformance/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to genai-conformance

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

genai-conformance: common questions

What does the GenAI conformance harness check?

It exports OTLP traces from OpenInference instrumentors to weaver registry live-check and reports which gen_ai.* registry attributes were emitted and which were missing.

Why do I see violations in the summary?

Most violations are missing_attribute advice for OpenInference native attributes, which are not in the OpenTelemetry registry. Genuine shape errors are found by filtering results/live_check.json for advice ids other than missing_attribute.

How do I add a new provider to the harness?

Append the provider script to the PROVIDER_SCRIPTS tuple in run.py, add the matching <provider>_conformance.py with a --prewarm early exit, and add any new mock endpoints.

How do I install genai-conformance?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is genai-conformance free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is genai-conformance safe to use?

It scores 78 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 genai-conformance?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

genai-conformance Install

Add to stack

Loading.