MCP Server Builder
anthropics/skills
Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.
Surface the Opik traces worth a developer's attention, ranked by signal — Diagnostics issues first, then errors, failed tool calls, latency, regressions, and low online-eval scores.
$ npx skills add comet-ml/opik-mcp --skill opik-diagnose -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install comet-ml/opik-mcp opik-diagnose --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/comet-ml/opik-mcp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/src/opik_mcp/skills/opik-diagnose .claude/skills/opik-diagnose && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "opik-diagnose" agent skill from https://github.com/comet-ml/opik-mcp/tree/main/src/opik_mcp/skills/opik-diagnose into .claude/skills/opik-diagnose/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "opik-diagnose", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/comet-ml/opik-mcp/tree/main/src/opik_mcp/skills/opik-diagnoseType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add comet-ml/opik-mcp --skill opik-diagnose -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install comet-ml/opik-mcp opik-diagnose --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/comet-ml/opik-mcp.git skills-src && mkdir -p .agents/skills && cp -r skills-src/src/opik_mcp/skills/opik-diagnose .agents/skills/opik-diagnose && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "opik-diagnose" agent skill from https://github.com/comet-ml/opik-mcp/tree/main/src/opik_mcp/skills/opik-diagnose into .agents/skills/opik-diagnose/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "opik-diagnose", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add comet-ml/opik-mcp --skill opik-diagnose -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install comet-ml/opik-mcp opik-diagnose --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/comet-ml/opik-mcp.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/src/opik_mcp/skills/opik-diagnose .cursor/skills/opik-diagnose && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "opik-diagnose" agent skill from https://github.com/comet-ml/opik-mcp/tree/main/src/opik_mcp/skills/opik-diagnose into .cursor/skills/opik-diagnose/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "opik-diagnose", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/comet-ml/opik-mcp.git --path src/opik_mcp/skills/opik-diagnose--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add comet-ml/opik-mcp --skill opik-diagnose -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install comet-ml/opik-mcp opik-diagnose --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/comet-ml/opik-mcp.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/src/opik_mcp/skills/opik-diagnose .gemini/skills/opik-diagnose && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "opik-diagnose" agent skill from https://github.com/comet-ml/opik-mcp/tree/main/src/opik_mcp/skills/opik-diagnose into .gemini/skills/opik-diagnose/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "opik-diagnose", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install comet-ml/opik-mcp opik-diagnoseInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add comet-ml/opik-mcp --skill opik-diagnose -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/comet-ml/opik-mcp.git skills-src && mkdir -p .github/skills && cp -r skills-src/src/opik_mcp/skills/opik-diagnose .github/skills/opik-diagnose && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "opik-diagnose" agent skill from https://github.com/comet-ml/opik-mcp/tree/main/src/opik_mcp/skills/opik-diagnose into .github/skills/opik-diagnose/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "opik-diagnose", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add comet-ml/opik-mcp --skill opik-diagnose -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install comet-ml/opik-mcp opik-diagnose --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/comet-ml/opik-mcp.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/src/opik_mcp/skills/opik-diagnose .opencode/skills/opik-diagnose && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "opik-diagnose" agent skill from https://github.com/comet-ml/opik-mcp/tree/main/src/opik_mcp/skills/opik-diagnose into .opencode/skills/opik-diagnose/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "opik-diagnose", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
opik-diagnoseSurface the Opik traces worth a developer's attention, ranked by signal — Diagnostics issues first, then errors, failed tool calls, latency, regressions, and low online-eval scores.
Opik Diagnose is an agent skill from comet-ml/opik-mcp. Surface the Opik traces worth a developer's attention, ranked by signal — Diagnostics issues first, then errors, failed tool calls, latency, regressions, and low online-eval scores. With the Opik MCP connected it lists the project's agentinsightsissue entities, offers to turn Diagnostics on when the project has it switched off, then fills the gaps with list (filters, sort, a time window); without the MCP it reads the same via the SDK (agentinsights and searchtraces), so it works with no MCP. Returns a ranked…
Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 16 other files, including reference files (for example `evals/HARNESS.md`, `evals/cases.yaml` and `evals/fixtures/seed/seed.py`). Compatibility notes: Tested with Claude Code; works with any Agent Skills-compatible host (Cursor, VS Code Copilot, Codex). Requires a Python or TypeScript project with Opik…
It sits in Agent Workflows, covering MCP servers. It works with Model Context Protocol. The repository describes itself as: Model Context Protocol (MCP) server for Opik, the open-source LLM observability and evaluation platform, built by Comet. Read traces, log scores, and manage prompts from Claude… The licence is Apache-2.0.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit e737581. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadGrepGlobBashFrom allowed-tools in the SKILL.md frontmatter.
Ships script files (Python), which the agent can run.
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
comet.comFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
OPIK_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Tested with Claude Code; works with any Agent Skills-compatible host (Cursor, VS Code Copilot, Codex). Requires a Python or TypeScript project with Opik configured and a project that has traces. Install the `opik` skill alongside this one — it holds the shared SDK and observability references; without it, this skill falls back to the public docs.
From compatibility in the SKILL.md frontmatter.
Opik Diagnose loads about 2.7k tokens when it runs, and up to ~4.6k if it reads all its reference files. Until then it costs about 213 tokens; SKILL.md has 1,350 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Read, Grep, Glob, BashAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from comet-ml/opik-mcp at commit e737581, republished under its Apache-2.0 licence (© comet-ml). 1,350 words, ~2,749 tokens.
.claude/skills/opik-diagnose/SKILL.md (or your agent's skills folder). This skill also uses 12 other files; get the full folder from GitHub.Definition of done: a ranked shortlist of the online/production traces (and Diagnostics issues) worth attention, each carrying the signal that flagged it and its trace id, scoped to a project and a recent window, and ready to hand to /opik-explain. "Worth attention" means errored, slow, regressed, or low online-eval score — not a dump of every trace, and never offline experiment results. If the project can't be read, stop at the first genuine blocker and return one next step.
Operate: rank by real signal over live data, surface the few things worth a look, hand the top one to /opik-explain — and change no code. This skill is read-only by design.
The entry point is /opik-diagnose (the current project), /opik-diagnose <project>, or /opik-diagnose <what to look for> (e.g. "slow traces", "errors today"). Infer the rest; treat these as optional overrides:
Ask only at a genuine, non-inferable blocker (see Blockers).
Project (from config/repo) + a recent window. Confirm Opik is reachable: if ~/.opik.config exists or OPIK_API_KEY is set, use it. Otherwise → Blocker ("run opik configure, then rerun").
With the Opik MCP connected, read('project', <name or id>) costs one call
and answers three things the rest of this skill would otherwise guess: whether
anything is wrong at all (error rate and latency against the previous 7 days —
a flat week is worth saying so and stopping), which score names the project
actually records (the ones worth filtering on later; guessing a name returns an
empty result that reads like good news), and what the project contains.
A rate reported as null means no traces in the window, not a healthy zero.
If the window is quiet, widen it with since="30d" before concluding anything.
Opik's Diagnostics already groups a project's recurring failures into ranked issues, each with a severity, occurrence counts, a cause, a suggested fix and example traces. Read that list first — it is the answer to "what is broken" the UI already computed, so do not rebuild it from raw traces.
With the Opik MCP connected, the agent_insights_issue entity is the primary path:
list('agent_insights_issue', project_name='<project>') # open issues, ranked as the Diagnostics page ranks them
read('agent_insights_issue', '<issue id>', project_name='<project>')
# → {issue: {name, cause, suggested_fix, severity, status, …}, example_trace_ids: [...], details: [...],
# url: '<the issue's Diagnostics page>', trace_url_template: '<…/logs?trace={trace_id}>'}Turn each open issue into one shortlist item as references/diagnostics-list.md (Issue to shortlist item) describes.
An empty list is not an all-clear, and a non-empty list is not the whole answer either. Act on the sentence the list gives you: references/diagnostics-list.md (Empty list, Coverage line) says what each one means and what to do; ask the user once before enabling Diagnostics.
Never wait or poll for a scan. Hand back the page link, finish the triage from traces, and say the grouped report will be there in a few minutes. A shortlist built while a scan you started is still running reports source=diagnostics_pending.
Say the as-of date in the report when it matters: a user who asked for a week and got issues through yesterday should learn that from you, not discover it.
Triage never changes an issue's status. agent_insights_issue.resolve,
.close and .reopen exist, and they are for when the user asks for them:
whether a failure is dealt with is their call, and an issue marked resolved
leaves the list everyone else reads. Surfacing an issue is this skill's job;
retiring one is not.
Without the MCP, the SDK REST client reads the same issues: references/diagnostics-list.md (Without the MCP).
Diagnostics reports what its last run grouped. Anything newer, or below its grouping threshold — a single latency outlier, one low online-eval score, a regression versus the prior window — still needs a scan. Skip traces already covered by an issue's example_trace_ids; they are on the shortlist under that issue.
MCP connected: one list call per signal. The backend does the filtering and ordering, so each call returns a short, already-ranked page — no SDK, no client-side sorting. since takes "1h", "24h", "7d"; filters is an OQL string; sort is "<field> [asc|desc]" (desc by default). Trace lists hide evaluator/playground/experiment traces (source = "sdk") unless you name source.
The calls, one per signal, and the fields they return: references/trace-queries.md (MCP).
No MCP: fall back to the SDK.
The call: references/trace-queries.md (SDK).
Skip traces already covered by an issue's example_trace_ids; they are on the shortlist under that issue.
Score each remaining candidate and keep the top few. Priority order:
tool span errored, returned an error-shaped result, or repeated the same call (a retry loop). Agents fail here often, so surface it as its own signal: use has_tool_spans to find candidates, then scan their tool spans for a non-empty error, an output that reads like an error/refusal, or duplicate consecutive calls.Append these after the Diagnostics items, in the signal order above. Give each shortlisted item the one signal that flagged it and a short why — one entry per trace: when a trace matches several signals (an errored tool span also errors the trace), keep the highest-priority signal and mention the rest in the why. Prefer a short, ranked list over a long one.
Online/production trace signal only. Do not surface offline experiment results — those are the output of /opik-evaluate and /opik-compare, not rediscovered here.
Return the ranked shortlist and one next step. Give each item as a clickable Opik UI link, never a bare id, so the user can open it and deep-dive. Do not invent the URL shape — a guessed link looks right and 404s, which is worse than the id. Take it from what the server gave you: an issue's trace_url_template, or the trace link template the MCP names in its session instructions (<opik>/api/v1/session/redirect/projects/?trace_id={trace_id}&path=…), which resolves the project and workspace from the id, so filling in the id is all it needs. On the SDK path, opik.url_helpers.get_project_url_by_trace_id(trace_id, url_override) builds the same link. Each item is ready for /opik-explain; the natural next step is "explain the top trace" (see Output). This skill surfaces and hands off; it does not root-cause (that is /opik-explain) and it changes no code.
Stop at the earliest blocker and return exactly one next step:
opik configure, then rerun /opik-diagnose."/opik-diagnose <project> or set it in the Opik config."User-facing: a short human message — the ranked shortlist (a clickable Opik UI link per trace + its signal + one-line why, worst first), then the single next step. Not a raw dump of every trace, not JSON.
Underneath (for composition / evals), one shape, with its invariants: references/output-shape.md.
Worked runs (MCP connected, SDK only, nothing wrong, blocked): references/examples.md.
Dumping every trace instead of a ranked shortlist; rebuilding the Diagnostics ranking from raw traces when agent_insights_issue (or the SDK agent_insights client) already lists the issues; surfacing offline experiment/evaluate results (out of scope); requiring the MCP (the SDK agent_insights path needs none); root-causing a trace here (hand it to /opik-explain); editing code (this skill only surfaces); ranking by recency instead of signal.
SDK and observability detail live in the opik skill, installed beside this one. Read the files directly — paths are relative to this file: ../opik/SKILL.md (Searching traces — the OQL filter grammar shared by the MCP list tool and search_traces), ../opik/references/production.md (search_traces, Diagnostics, online-eval scores, error/latency analysis), ../opik/references/tracing-python.md (SDK read APIs), ../opik/references/observability.md (span/score model). If your host lays skills out differently, locate the opik skill's references/ directory.
If the opik skill isn't installed, say so in the report and use https://www.comet.com/docs/opik/ rather than working from memory.
© comet-ml, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 12 other files (references) in src/opik_mcp/skills/opik-diagnose of comet-ml/opik-mcp.
Open the folder on GitHubat commit e737581
Opik Diagnose next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Opik Diagnose this skillcomet-ml/opik-mcp | 220 | — | ~2.7k | Automated safety check: Notes | Apache-2.0 | |
| MCP Server Builderanthropics/skills | 180k | 63 repos | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| MCP Server BuildershareAI-lab/learn-claude-code | 78k | 5 repos | ~1.2k | Automated safety check: Pass | MIT | |
| MCP Integration for Pluginsanthropics/claude-plugins-official | 38k | 11 repos | ~3.1k | Automated safety check: Pass | Apache-2.0 | |
| Crush Configurationcharmbracelet/crush | 29k | — | ~3.7k | Automated safety check: Pass | Custom licence | |
| Context Mode Output Sandboxmksglu/context-mode | 26k | — | ~4.1k | Automated safety check: Pass | Custom licence |
anthropics/skills
Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.
shareAI-lab/learn-claude-code
Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.
anthropics/claude-plugins-official
Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.
charmbracelet/crush
Explains how to configure the Crush coding agent with crushrc or crush.json, covering providers, models, LSPs, MCP servers, hooks, permissions and config precedence.
mksglu/context-mode
Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.
warpdotdev/warp
Migrates the compatible subset of settings and global file-based MCP servers from the Warp desktop app into Warp Agent CLI without exposing credentials or state.
comet-ml/opik-mcp
Reference for the Opik SDK — tracing, span types, framework integrations, threads, and the prompt library (Python, TypeScript, REST).
comet-ml/opik-mcp
Run a candidate against the baseline over an Opik test suite and read the numbers back — which cases broke, which got fixed, the per-metric deltas, worst rows, and whether the two runs are…
comet-ml/opik-mcp
Build an LLM evaluation and run it against the app, returning an Opik experiment with scores and its link.
comet-ml/opik-mcp
Add Opik tracing to an existing app and verify a real trace lands.
comet-ml/opik-mcp
Improve a prompt with the Opik Agent Optimizer — resolve the prompt, a dataset, and a metric, pick the algorithm, run a bounded optimization, check the gain on held-out data, and save the winner as…
comet-ml/opik-mcp
Decide ship or hold for a candidate from the compare skill's numbers, against an explicit release policy — regressions, pass rate, safety-tagged cases, subgroup consistency, latency and cost…
Works with
Categories
Surface the Opik traces worth a developer's attention, ranked by signal — Diagnostics issues first, then errors, failed tool calls, latency, regressions, and low online-eval scores. Opik Diagnose is an agent skill from comet-ml/opik-mcp. Surface the Opik traces worth a developer's attention, ranked by signal — Diagnostics issues first, then errors, failed tool calls, latency, regressions, and low online-eval scores.
Opik Diagnose fits situations like: what is broken in production; which traces need attention; which tool calls are failing; triage my agent.
Run `npx skills add comet-ml/opik-mcp --skill opik-diagnose -a claude-code`. Or copy the skill folder (src/opik_mcp/skills/opik-diagnose in comet-ml/opik-mcp) into .claude/skills/opik-diagnose in your project. Claude Code loads it when a task matches its description.
Run `npx skills add comet-ml/opik-mcp --skill opik-diagnose -a codex`. Or copy the skill folder (src/opik_mcp/skills/opik-diagnose in comet-ml/opik-mcp) into .agents/skills/opik-diagnose in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add comet-ml/opik-mcp --skill opik-diagnose -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/opik-diagnose, .gemini/skills/opik-diagnose, .github/skills/opik-diagnose and .opencode/skills/opik-diagnose in your project.
Going by SKILL.md and its folder, Opik Diagnose needs Python for the scripts in its folder and credentials named OPIK_API_KEY. Our summary lists: Python 3; A credential in OPIK_API_KEY. Its frontmatter pre-approves these tools: Read, Grep, Glob, Bash. Compatibility (from SKILL.md): Tested with Claude Code; works with any Agent Skills-compatible host (Cursor, VS Code Copilot, Codex). Requires a Python or TypeScript project with Opik configured and a project that has traces. Install the `opik` skill alongside this one — it holds the shared SDK and observability references; without it, this skill falls back to the public docs..
SKILL.md names 1 domain. As links in the text: comet.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Opik Diagnose is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.8k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Opik Diagnose: MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), MCP Integration for Plugins (anthropics/claude-plugins-official, 38k stars) and Crush Configuration (charmbracelet/crush, 29k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
comet-ml (a GitHub organization) maintains it in comet-ml/opik-mcp, which has 220 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 8, 2026.
Source: comet-ml/opik-mcp on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.