Borrowing it
Nothing to install: this file belongs to comet-ml/opik-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/comet-ml/opik-mcp/main/.claude/commands/install-branch.mdgit clone --depth 1 https://github.com/comet-ml/opik-mcpWrote 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/commands/comet-ml/opik-mcp/install-branch)<a href="https://agentmods.dev/commands/comet-ml/opik-mcp/install-branch"><img src="https://agentmods.dev/badge/commands/comet-ml/opik-mcp/install-branch/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/commands/comet-ml/opik-mcp/install-branch"><img src="https://agentmods.dev/badge/commands/comet-ml/opik-mcp/install-branch.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.00021 | $0.00399 |
| Opus 5.5 | $0.00008 | $0.00160 |
| Sonnet 5.5 | $0.00004 | $0.00080 |
| Haiku 4.5 | $0.00002 | $0.00040 |
Grade A, and why
install-branch 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.
What it actually says
Install this worktree as an MCP server and tell me how to load it.
- Run
make install-branch $ARGUMENTS. The server name comes from the branch (OPIK-8480-…becomesopik-8480);NAME=andWORKSPACE=override it. Credentials come fromOPIK_*env vars, then~/.opik.config. Never pass an API key on the command line and never print one. - If it fails for missing credentials, tell me to run
opik configureor set the env vars. Don't try to find a key yourself. - Check the result with
claude mcp get opik-<name>and report the status line, URL and workspace. Don't show the environment block; it holds the key. - Say what to do next, based on the last line the target printed:
- "Registered": a new server. Restart Claude Code to load it.
- "Reinstalled": run
/mcpand reconnectopik-<name>.
The server is registered at local scope, so it loads only in sessions inside
this repo; each one adds its instructions to them (budgeted in
tests/conformance/test_tool_inventory.py). For a
one-off comparison with main, use /dogfood instead: it registers nothing.
The install is a snapshot of the tree. After changing code, run it again.
make uninstall-branch removes the server and its venv; do that when done.
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 First seen · 29 lines · 21 tokens per session scan A 13b5d086df77
install-branch is a command published in the GitHub repository comet-ml/opik-mcp (226 stars, last pushed yesterday), licensed Apache-2.0. It adds 21 tokens to every session and 399 once invoked, about $0.0001 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-25.
install-branch compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| install-branchcomet-ml/opik-mcp | Command | 226 | yesterday | Apache-2.0 | A | 21 | Claude Code |
| list_checkpointsZoeLinUTS/MagicTeX-mcp | Command | 6 | 19d ago | AGPL-3.0 | A | 14 | Claude Code |
| checklistgithub/spec-kit | Command | 154k | today | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 154k | today | MIT | A | 27 | Claude Code |
| specifygithub/spec-kit | Command | 154k | today | MIT | A | 13 | Claude Code |
| analyzegithub/spec-kit | Command | 154k | today | MIT | A | 26 | Claude Code |
| convergegithub/spec-kit | Command | 154k | today | MIT | A | 35 | Claude Code |