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.
npx skills add comet-ml/opik-claude-code-plugin --skill opikgit clone --depth 1 https://github.com/comet-ml/opik-claude-code-pluginWrote 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.
[](https://agentmods.dev/skills/comet-ml/opik-claude-code-plugin/opik)<a href="https://agentmods.dev/skills/comet-ml/opik-claude-code-plugin/opik"><img src="https://agentmods.dev/badge/skills/comet-ml/opik-claude-code-plugin/opik/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.
<a href="https://agentmods.dev/skills/comet-ml/opik-claude-code-plugin/opik"><img src="https://agentmods.dev/badge/skills/comet-ml/opik-claude-code-plugin/opik.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00080 | $0.02198 |
| Opus 5.5 | $0.00032 | $0.00879 |
| Sonnet 5.5 | $0.00016 | $0.00440 |
| Haiku 4.5 | $0.00008 | $0.00220 |
Grade A, and why
opik 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 222 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Opik SDK Reference
Opik is an open-source LLM observability platform. This skill is a reference
for the SDK. To instrument a codebase step by step (detect frameworks, add
config, emit and verify a trace), use the task-shaped opik-instrument skill.
Core concepts
A trace is one execution path (one request → one response). Spans are the operations inside it and form a hierarchy.
Span types — the ONLY valid values
| Type | Use for |
|---|---|
general |
orchestration, agent entry points |
llm |
model calls |
tool |
tools, retrieval, API / DB calls |
guardrail |
safety / validation checks |
Do NOT use retrieval or any other value.
Python — tracing
import opik
@opik.track(name="agent", type="general")
def agent(query: str) -> str:
return generate(retrieve(query))
@opik.track(type="tool")
def retrieve(query): ...
@opik.track(type="llm")
def generate(ctx): ...
opik.flush_tracker() # required in scripts
TypeScript — tracing
import { Opik } from "opik";
const client = new Opik({ projectName: "my-project" });
const trace = client.trace({ name: "agent", input: { query } });
const span = trace.span({ name: "llm-call", type: "llm" });
span.end({ output });
trace.end({ output });
await client.flush();
Framework integrations
Prefer an integration over manual @opik.track — integrations capture tokens,
model, and cost automatically. Patterns (full list in
references/integrations.md):
- wrap-the-client —
track_openai(OpenAI()),track_anthropic(...) - global-enable —
track_crewai(crew=crew) - callback —
dspy.configure(callbacks=[OpikCallback()]) - tracer —
OpikTracer()for LangChain / LangGraph / LlamaIndex - agent-specific —
track_adk_agent_recursive(agent, OpikTracer())
LiteLLM inside @opik.track (common trap)
If code uses litellm and you add @opik.track, pass current_span_data
via metadata on every completion call — otherwise OpikLogger emits orphaned
top-level traces instead of nesting under your span.
What ships with it
10 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.
- references/agent-patterns.md 17 KB
- references/best-practices.md 4.8 KB
- references/evaluation-datasets.md 17 KB
- references/evaluation-test-suites.md 17 KB
- references/integrations.md 15 KB
- references/observability.md 2.3 KB
- references/production.md 11 KB
- references/tracing-python.md 23 KB
- references/tracing-rest-api.md 9.3 KB
- references/tracing-typescript.md 11 KB
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.
- 2mo ago Changed · +5 lines ee94038ec263
- 2mo ago Changed · +100 lines · -4 tokens per session 449ebc365b10
- 3mo ago First seen · 117 lines · 84 tokens per session scan A 3ced4b395153
opik is a skill published in the GitHub repository comet-ml/opik-claude-code-plugin (9 stars, last pushed yesterday), licensed Apache-2.0. It adds 80 tokens to every session and 2,198 once invoked, about $0.0003 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.
opik compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| opikcomet-ml/opik-claude-code-plugin | Skill | 9 | yesterday | Apache-2.0 | A | 80 | Claude Code |
| huggingface_hub0xmariowu/Autosearch | Skill | 57 | 8d ago | MIT | A | 23 | Claude Code |
| claude-bridgemichalekz/claude-bridge | Skill | 3 | 2mo ago | MIT | A | 87 | Claude Code |
| AgentDB Learning Pluginsspencermarx/open-code-review | Skill | 398 | 21d ago | Apache-2.0 | A | 56 | Claude Code |
| AgentDB Performance Optimizationspencermarx/open-code-review | Skill | 398 | 21d ago | Apache-2.0 | A | 53 | Claude Code |
| AgentDB Memory Patternsspencermarx/open-code-review | Skill | 398 | 21d ago | Apache-2.0 | A | 45 | Claude Code |
| AgentDB Vector Searchspencermarx/open-code-review | Skill | 398 | 21d ago | Apache-2.0 | A | 41 | Claude Code |