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:
- Language: Python (look for
*.py,pyproject.toml,requirements.txt) or TypeScript (look for*.ts,*.tsx,package.json) - LLM frameworks in use — search imports for these patterns: