openinference: Skill for Claude Code

.agents/skills/java-code-reviewer/SKILL.md

java-code-reviewer is a skill for Claude Code, Codex from Arize-ai/openinference. It costs 101 tokens per session (1,247 once invoked), scanned A, original, Apache-2.0.

A review guide for Java packages that add OpenInference tracking to software libraries. OpenInference is a standard for recording information about AI and machine-learning operations.

In plain words
What is it for?
Use it to audit a Java instrumentor package, review a pull request, inspect its build and tests, verify behaviour against the instrumented library, and report confirmed or uncertain issues.
Why use it?
It helps catch incorrect or incomplete instrumentation by checking the code against the actual library it integrates with and the project's established patterns. Findings are reported with severity, file paths, and line numbers.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is Arize-ai/openinference's own configuration. It tells Claude Code and Codex 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 →

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,291 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/.agents/skills/java-code-reviewer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Arize-ai/openinference

Made for: Claude Code, Codex.

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 java-code-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/skills/arize-ai/openinference/java-code-reviewer/github.svg)](https://agentmods.dev/skills/arize-ai/openinference/java-code-reviewer)
Your own site
<a href="https://agentmods.dev/skills/arize-ai/openinference/java-code-reviewer"><img src="https://agentmods.dev/badge/skills/arize-ai/openinference/java-code-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for java-code-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/skills/arize-ai/openinference/java-code-reviewer"><img src="https://agentmods.dev/badge/skills/arize-ai/openinference/java-code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,247 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00101 $0.01247
Opus 5.5 $0.00040 $0.00499
Sonnet 5.5 $0.00020 $0.00249
Haiku 4.5 $0.00010 $0.00125

Measured 1mo ago against content hash d025ea3376b6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

java-code-reviewer 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 1mo 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.

.agents/skills/java-code-reviewer/SKILL.md · 131 lines

How it starts

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

Java Code Reviewer for OpenInference Instrumentors

Review a Java OpenInference instrumentation package against the project's established patterns and conventions. Report findings with file paths and line numbers, organized by severity (Critical / High / Medium / Low).

Workflow

Step 1: Identify the package to review

  • Ask the user which instrumentor to review if not already clear from context
  • The package lives under java/instrumentation/openinference-instrumentation-<name>/
  • Read the instrumentor source, build.gradle, and src/test/ directory

Step 2: Use the instrumented library source as ground truth

Before flagging any finding, verify it against the actual library code. Do NOT assume how the instrumented library works — read it. Do NOT present findings without having read the library source first.

  • Find the library version from java/build.gradle ext block
  • Check ~/.gradle/caches/modules-2/files-2.1/ for cached sources
  • If not cached, download the sources jar from Maven Central (repo1.maven.org). Some libraries split across multiple artifacts — check build.gradle dependency declarations and fetch all relevant ones.
  • If you cannot obtain the source through any means, explicitly tell the user you were unable to verify against the library source before presenting findings.
  • Calibrate severity by what the library actually does: a bug on a common code path is High/Critical; an edge case for a type that can't appear at runtime is Low

Step 3: Run all review sections below

Step 4: Present findings in a severity table, list what's working well, then ask the user: fix issues, run tests (./gradlew :instrumentation:...:test), or done.


Section 1: Gradle Setup

Read the instrumentor's build.gradle and the root java/build.gradle.

  • Instrumented library must be compileOnly (not implementation) — High
  • openinference-instrumentation must be api
  • Version constants should be in root ext block, not hardcoded — Medium
  • Module must be in java/settings.gradle — Critical if missing
  • Run cd java && ./gradlew spotlessCheck (Palantir Java Format)

Read the full file on GitHub · 131 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. 1mo ago First seen · 131 lines · 101 tokens per session scan A d025ea3376b6

Subscribe to this mod's changes

java-code-reviewer is a skill published in the GitHub repository Arize-ai/openinference (1,291 stars, last pushed today), licensed Apache-2.0. It adds 101 tokens to every session and 1,247 once invoked, about $0.0004 per session on Opus 5.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

opentelemetry-net-instrumentation

Provides guidance for implementing OpenTelemetry instrumentation in .NET codebases, covering tracing (Activities/Spans), metrics, logs, naming conventions, error handling, performance, SDK setup, resources, context propagation, and API design best practices.

Aaronontheweb/dotnet-skills · 56 tokens

814-regulations-iso-25010

Use when reviewing, designing, or modifying Java enterprise systems and need a structured, repeatable ISO/IEC 25010:2023 quality-attribute review covering Functional Suitability, Performance Efficiency, Compatibility, Interaction Capability, Reliability, Security, Maintainability, Flexibility, and Safety, producing an…

jabrena/plinth · 83 tokens

121-java-object-oriented-design

Use when reviewing, improving, or refactoring Java object-oriented design, including applying SOLID, DRY, or YAGNI; improving classes and interfaces; correcting encapsulation, inheritance, or polymorphism; resolving God Class, Feature Envy, or Data Clumps; and improving object creation, methods, or exception…

jabrena/plinth · 107 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

053-design-simple-rules

Use when Java design, refactoring, or implementation tradeoffs should be evaluated with Kent Beck's simple design rules, including passes the tests, reveals intention, has no duplication, and has the fewest elements. This should trigger for requests such as Apply simple design rules; Review this design with Beck's…

jabrena/plinth · 86 tokens