instrument

Installation
SKILL.md

Instrument — Add Opik Tracing to a Codebase

You are instrumenting an existing codebase with Opik observability. Follow these steps precisely.

Step 1 — Scope

If $ARGUMENTS is provided, scope your work to those files or directories. Otherwise, discover the project root and instrument the main application code.

Step 2 — Detect Language & Frameworks

Scan the codebase to determine:

  1. Language: Python (look for *.py, pyproject.toml, requirements.txt) or TypeScript (look for *.ts, *.tsx, package.json)
  2. LLM frameworks in use — search imports for these patterns:
Import pattern Framework Integration
from openai / import OpenAI OpenAI track_openai
import anthropic Anthropic track_anthropic
Related skills
Installs
157
GitHub Stars
2
First Seen
Apr 1, 2026