opik: Skill for Claude Code

.agents/skills/write-docs/SKILL.md

write-docs is a skill for Claude Code, Codex from comet-ml/opik. It costs 55 tokens per session (3,150 once invoked), scanned A, original, Apache-2.0.

A writing guide for creating Fern documentation pages from MDX files, plus release notes and changelogs for the Opik project. Fern is the tool that builds the documentation website.

In plain words
What is it for?
Use it when writing or updating Opik documentation, drafting pull-request descriptions, or deciding whether a change belongs in release notes or a changelog.
Why use it?
It removes uncertainty about where pages belong, how to format them, and how to add them to the site's navigation. It also helps keep old documentation links routed to current pages.

Skill for Claude CodeCodex

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

This is comet-ml/opik's own configuration. It tells Claude Code and Codex how to work on opik 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 opik configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is path: ./docs-v2/section/page-name.mdx.

About the project

Opik is an open-source platform for tracing, evaluating, and monitoring applications that use large language models, retrieval systems, or AI agents. Teams use it to inspect agent activity, manage prompts, run evaluations, and monitor these applications in production.

comet-ml/opik · 22,998 stars · on GitHub · comet.com

Reuse

Borrowing it

Nothing to install: this file belongs to comet-ml/opik. 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/comet-ml/opik/main/.agents/skills/write-docs/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/comet-ml/opik

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 write-docs

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/comet-ml/opik/write-docs"><img src="https://agentmods.dev/badge/skills/comet-ml/opik/write-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,150 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
  • Snyk pass 7 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 80
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00055 $0.03150
Opus 5.5 $0.00022 $0.01260
Sonnet 5.5 $0.00011 $0.00630
Haiku 4.5 $0.00006 $0.00315

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

Security

Grade A, and why

write-docs 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/write-docs/SKILL.md · 305 lines

How it starts

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

Write Docs

The Opik docs site is built with Fern from MDX sources under apps/opik-documentation/documentation/fern/. There is one content surface: fern/docs-v2/. The old v1 surface (fern/docs/) was removed; every v1 URL now redirects to its Opik 2 equivalent through the redirects: list in fern/docs.yml.

Where new pages live

  • Create the file at apps/opik-documentation/documentation/fern/docs-v2/<section>/<page-name>.mdx.
  • Register it in fern/docs.yml under the right section: block in navigation:.
  • Routing is not implied by folder layout. Always check navigation: in fern/docs.yml.

Frontmatter template

Every page uses YAML frontmatter. title and headline are required; the og:* fields are strongly recommended for SEO/social sharing and are present on every page. Do not repeat title as an inline # H1 in the body — Fern renders it from frontmatter.

---
title: Page Title
headline: Page Title | Opik Documentation
og:title: Page Title — Opik
og:description: One-line summary used for social sharing and previews
og:site_name: Opik Documentation
---

subtitle: ... is an optional field used on concept/overview pages to add a secondary line. Landing/overview pages may also set layout: overview.

Style and voice

Pull examples from existing pages when unsure — fern/docs-v2/tracing/advanced/log_traces.mdx, fern/docs-v2/tracing/concepts.mdx, and fern/docs-v2/quickstart.mdx are good anchors.

  • Person: "you" and imperative voice. Professional but approachable.
  • Opening: one or two intro sentences before the first ## heading. No inline H1.
  • Headings: ## for top-level sections, ### for subsections. Never introduce an inline # — that collides with the frontmatter title.
  • Paragraphs: keep them short (2–4 sentences). Mix prose with bullet lists for features, options, and prerequisites.
  • Page shape:
    • Concept pages start with the why, then definitions.
    • How-to pages start with brief context, then the task steps.
    • Overview/landing pages lead with a short pitch and a <CardGroup> of links.
  • End with "## Next steps" linking to 2–4 related pages when useful.

Read the full file on GitHub · 305 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 Changed · +18 lines 2f677b7543f7
  2. 2mo ago First seen · 287 lines · 55 tokens per session scan A 29a98d451e75

Subscribe to this mod's changes

write-docs is a skill published in the GitHub repository comet-ml/opik (22,998 stars, last pushed today), licensed Apache-2.0. It adds 55 tokens to every session and 3,150 once invoked, about $0.0002 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.