comet-ml

Trace Claude Code — Development skill for Claude Code

Development community

Control Opik tracing for your Claude Code sessions.

How to install Trace Claude Code

Installs to ~/.claude/skills/comet-ml-opik-claude-code-plugin-trace-claude-code/SKILL.md

Terminal
mkdir -p ~/.claude/skills/comet-ml-opik-claude-code-plugin-trace-claude-code && curl -fsSL https://raw.githubusercontent.com/comet-ml/opik-claude-code-plugin/HEAD/commands/trace-claude-code.md -o ~/.claude/skills/comet-ml-opik-claude-code-plugin-trace-claude-code/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Trace Claude Code does


description: Control Opik tracing for your Claude Code sessions argument-hint: [start|stop|status] [--global] [--debug] allowed-tools:

  • Bash
  • Read
  • Write model: haiku

Opik Claude Code Session Tracing

This command enables/disables automatic tracing of your Claude Code sessions to Opik.

Based on the user's request: **$ARGUMENTS**

Scope

Tracing can be enabled at two levels:

  • Project (default): .claude/.opik-tracing-enabled in the current project directory.
  • **Glo

Alternatives in Development

  • Root Cause Tracing — Use when errors occur deep in execution and you need to trace back to find the original trigger 102.5k ★
  • Nexting — Remote control for Claude Code, Codex, Grok, and Cursor on Mac or PC 1.3k ★
  • Opik Openclaw — 🦞 Official plugin for OpenClaw that exports agent traces to Opik 725 ★

Full documentation available on GitHub

View Source Repository