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.
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-conformanceRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Arize-ai/openinference /tmp/openinference && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/openinference/.claude/skills/genai-conformance ~/.gemini/antigravity-cli/skills/genai-conformanceAntigravity 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 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
ANo 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 →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
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.
