openinference: Skill for Claude Code

.claude/skills/genai-conformance/SKILL.md

genai-conformance is a skill for Claude Code from Arize-ai/openinference. It costs 95 tokens per session (2,776 once invoked), scanned A, original, Apache-2.0.

A test harness for checking whether OpenInference instrumentation follows OpenTelemetry conventions for generative-AI data. OpenInference records information about AI model calls, while OpenTelemetry is a standard for collecting system traces.

In plain words
What is it for?
Use it to run conformance tests, check registry coverage, improve attribute conversion, or add providers, test cases, and mock endpoints.
Why use it?
It reveals which standard AI-trace fields are present, missing, or only partly supported, so instrumentation problems can be found and corrected.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is Arize-ai/openinference's own configuration. It tells Claude Code how to work on openinference itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything openinference configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run python/openinference-instrumentation/scripts/conformance/run.py.

About the project

OpenInference is a set of conventions and instrumentation plugins for tracing AI applications with OpenTelemetry. It helps developers record language-model calls, retrieval from vector stores, and external tool use for analysis in compatible observability backends. The catalogue entries support instrumentation and use of these tracing conventions.

Arize-ai/openinference · 1,197 stars · on GitHub · arize-ai.github.io

Reuse

Borrowing it

Nothing to install: this file belongs to Arize-ai/openinference. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Arize-ai/openinference/main/.claude/skills/genai-conformance/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Arize-ai/openinference

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for genai-conformance

README.md
[![agentmods](https://agentmods.dev/badge/skills/arize-ai/openinference/genai-conformance.svg)](https://agentmods.dev/skills/arize-ai/openinference/genai-conformance)
Your own site
<a href="https://agentmods.dev/skills/arize-ai/openinference/genai-conformance"><img src="https://agentmods.dev/badge/skills/arize-ai/openinference/genai-conformance.svg" alt="Measured on agentmods" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,776 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00095 $0.02776
Opus 5 $0.00048 $0.01388
Sonnet 5 $0.00019 $0.00555
Haiku 4.5 $0.00010 $0.00278

Measured 7d ago against content hash fa477b415d8a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

genai-conformance scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/genai-conformance/SKILL.md · 101 lines

How it starts

The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GenAI Conformance

The repo ships a self-contained conformance harness at python/openinference-instrumentation/scripts/conformance/ that exercises OpenInference instrumentors against deterministic mock provider APIs, exports OTLP traces to weaver registry live-check, and prints a console summary of registry attributes seen / missing / advice-level counts. It validates the dual-write logic in _genai_conversion.py that translates OpenInference's native attributes (llm.*, input.*, output.*, openinference.*) into the OTel GenAI semantic conventions (gen_ai.*).

When to Use

  • User asks to run the conformance harness, "test conformance", or "run weaver".
  • User asks to maximize / improve gen_ai.* registry coverage.
  • User wants to extend the dual-write conversion in _genai_conversion.py.
  • User wants to add a new provider, a new test scenario, or a new mock endpoint.
  • User mentions specific gen_ai.* attributes (response.id, system_instructions, tool.call., retrieval., etc.) and whether they're being emitted.

Layout

scripts/conformance/
├── run.py                 # orchestrator (PEP 723, stdlib only)
├── mock_server.py         # Flask mock with all providers' endpoints
├── anthropic_conformance.py      # PEP 723 + editable [tool.uv.sources]
├── openai_conformance.py         # PEP 723 + editable [tool.uv.sources]
├── google_genai_conformance.py   # PEP 723 + editable [tool.uv.sources]
├── README.md
└── results/                      # gitignored Weaver output

Each provider script declares its deps as PEP 723 inline metadata and pins the local OpenInference packages via [tool.uv.sources.<pkg>] blocks (multi-section dotted-key form — single-line inline tables exceed ruff's 100-char limit). run.py invokes everything via uv run. Filenames avoid the bare provider name (openai.py, anthropic.py) because that would shadow the SDK package on sys.path[0].

Read the full file on GitHub · 101 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 101 lines · 95 tokens per session scan A fa477b415d8a

Subscribe to this mod's changes

genai-conformance is a skill published in the GitHub repository Arize-ai/openinference (1,197 stars, last pushed yesterday), licensed Apache-2.0. It adds 95 tokens to every session and 2,776 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

trulens-instrumentation

Instrument LLM apps with TruLens OTEL-based tracing - from setup to debugging and optimization.

truera/trulens · 25 tokens

trulens-evaluation-workflow

Systematically evaluate your LLM application with TruLens.

truera/trulens · 18 tokens

neuron-test-engineer

Write tests for Neuron AI agents, RAG systems, workflows, and tools using the built-in testing utilities. Use this skill when the user mentions testing agents, writing unit tests, mocking AI providers, testing tool execution, verifying RAG retrieval, testing workflow behavior, or creating test cases for Neuron AI…

neuron-core/neuron-ai · 94 tokens

neuron-evaluation-engineer

Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…

neuron-core/neuron-ai · 77 tokens

Langfuse LLM Observability Testing

Instrument LLM apps with Langfuse tracing, then use traces, scores, and datasets to test in production, run evaluations on real traffic, catch regressions, and close the loop from incident to golden dataset.

PramodDutta/qaskills · 52 tokens

frontmcp-observability

Use when adding tracing, structured logging, metrics, or monitoring to a FrontMCP server. Covers zero-config OpenTelemetry distributed tracing across all flows; the this.telemetry API for custom spans, events, and attributes in tools, plugins, agents, and skills; structured JSON logging with trace correlation and…

agentfront/frontmcp · 177 tokens