opik-evaluate

opik-evaluate is a skill for Claude Code from comet-ml/opik-claude-code-plugin. It costs 192 tokens per session (3,117 once invoked), scanned A, original, Apache-2.0.

A tool for building and running an evaluation of an AI application or prompt in Opik. It tests multiple cases, scores specific failure modes with code or a judge, and returns an experiment with results.

In plain words
What is it for?
Use it to measure things such as the quality of an AI application's answers or a particular workflow, then inspect the experiment and score summary.
Why use it?
It replaces a plan or an unscored dataset with a completed run and usable scores. The cases can come from existing tests, datasets, recent traces, or generated examples.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code; mentions Codex.

Part of the opik plugin — 10 skills, 2 commands, 1 agent, 8 hooks shipped together

Good fit Use it to measure things such as the quality of an AI application's answers or a particular workflow, then inspect the experiment and score summary.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/comet-ml/opik-claude-code-plugin/opik-evaluate
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add comet-ml/opik-claude-code-plugin --skill opik-evaluate
Clone the repo
git clone --depth 1 https://github.com/comet-ml/opik-claude-code-plugin

Made for: Claude Code.

Or install opik, the plugin that ships this one along with the rest of its 10 skills, 2 commands, 1 agent, 8 hooks.

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 opik-evaluate

README.md
[![agentmods](https://agentmods.dev/badge/skills/comet-ml/opik-claude-code-plugin/opik-evaluate/github.svg)](https://agentmods.dev/skills/comet-ml/opik-claude-code-plugin/opik-evaluate)
Your own site
<a href="https://agentmods.dev/skills/comet-ml/opik-claude-code-plugin/opik-evaluate"><img src="https://agentmods.dev/badge/skills/comet-ml/opik-claude-code-plugin/opik-evaluate/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 opik-evaluate

Your own site · 80×15
<a href="https://agentmods.dev/skills/comet-ml/opik-claude-code-plugin/opik-evaluate"><img src="https://agentmods.dev/badge/skills/comet-ml/opik-claude-code-plugin/opik-evaluate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 192 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,117 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.00192 $0.03117
Opus 5.5 $0.00077 $0.01247
Sonnet 5.5 $0.00038 $0.00623
Haiku 4.5 $0.00019 $0.00312

Measured 21d ago against content hash 439d11b53de3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

opik-evaluate 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 21d 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.

skills/opik-evaluate/SKILL.md · 151 lines

How it starts

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

Evaluate — Build an Evaluation and Run It

Definition of done: an experiment in Opik with scores, its link, and a score summary the user can act on — produced by running the user's app (or prompt) over a set of cases with scoring that targets real failure modes. If the evaluation can't be built or run, stop at the first genuine blocker and return exactly one next step. A dataset with no run, a judge prompt with no scores, or a plan in prose is not success.

Operate: ground the cases in what actually goes wrong, score with code before judges, judge one failure mode at a time, run once end to end, read the scores back from Opik — and change no application code. The only file this skill writes is a runner outside the repo.

Inputs

The entry point is /opik-evaluate (evaluate the app in this repo), /opik-evaluate <what> ("the RAG answers", "the refund flow"), or /opik-evaluate <dataset-or-suite> (run against existing cases). Infer the rest; treat these as optional overrides:

  • cases source (default: existing suite/dataset → recent traces → synthetic) · scoring (default: heuristics where an expected output exists, else one judge per failure mode) · approach (default: test suite for agents; dataset + evaluate() when you need built-in metrics or exact matching) · judge model · sample size (default: 20–50 items).

Ask only at a genuine, non-inferable blocker (see Blockers).

Activation — the only in-scope work

1. Resolve the target

Confirm Opik is reachable (~/.opik.config or OPIK_API_KEY; otherwise → Blocker). Find the entrypoint to evaluate (the function a trace's root span names, or the one the user points at). Check what already exists — client.get_test_suites(project_name=…), client.get_datasets() — and reuse before creating.

Have an eval already? Audit it first (references/eval-audit.md): unvalidated judges, no error analysis, vanity metrics. Fix the worst gap, then run.

2. Ground it in failures (error analysis)

Read real traces before writing any scorer — client.search_traces(project_name=…, max_results=100) (errors, low scores, long durations first). Categorize what goes wrong and how often (references/error-analysis.md). No traces yet → generate cases (references/generate-synthetic-data.md) and say so in the report.

Read the full file on GitHub · 151 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 21d ago Changed · +1 lines · +27 tokens per session 439d11b53de3
  2. 25d ago First seen · 150 lines · 165 tokens per session scan A 81f18c356159

Subscribe to this mod's changes

opik-evaluate is a skill published in the GitHub repository comet-ml/opik-claude-code-plugin (23 stars, last pushed 10d ago), licensed Apache-2.0. It adds 192 tokens to every session and 3,117 once invoked, about $0.0008 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-09-22.

Related

Other skills, from other repositories

huggingface_hub

Discover open machine learning models on Hugging Face Hub via the public model search API.

0xmariowu/Autosearch · 23 tokens

claude-bridge

Use when orchestrating multiple Claude Code chats, reading other chats' history, sending messages between chats, or searching across chat sessions. Triggers on phrases like "peer chat", "sister chat", "other chat", "cross-chat", "what is the other agent doing", "find in chats", "manager agent", "worker agent"…

michalekz/claude-bridge · 87 tokens

claude-bridge-role-manager

Playbook for a Claude Code agent in the role of orchestrator of 2-N worker peers over the claude-bridge MCP. Use when you have a team of peers and want to efficiently dispatch tasks, gate outputs, resolve conflicts, protect invariants, route memory, and hold the interface to the human owner. Triggers — "I'm the…

michalekz/claude-bridge · 117 tokens

claude-bridge-role-memory-keeper

Playbook for a Claude Code agent in the dedicated memory keeper role — single-writer for shared agent memory across a team of 3+ peers. Use when you are designated as the keeper (= other peers send you write candidates, you write them and watch for drift). Memory hygiene + reconciliation against the canon + drift…

michalekz/claude-bridge · 102 tokens

claude-bridge-setup

Guide the user through activating claude-bridge live-data hooks in /.claude/settings.json. Use when the user asks how to install the plugin's statusLine wrapper or PostToolUse refresh-limits hook, or when peercontextstatus / ratelimitstatus returns hasLiveData: false with a setupPointer. Triggers — "setup live data"…

michalekz/claude-bridge · 0 tokens

prompt-optimizer

Analyze raw prompts, identify intent and gaps, match ECC components (skills/commands/agents/hooks), and output a ready-to-paste optimized prompt. Advisory role only — never executes the task itself. TRIGGER when: user says "optimize prompt", "improve my prompt", "how to write a prompt for", "help me prompt", "rewrite…

SoftMissT/tudo-sobre-vibe-coding · 179 tokens