AI Agent Instrumentation — AI skill for Claude Code
OpenTelemetry instrumentation and pre-built Coralogix dashboards for AI coding agents.
How to install AI Agent Instrumentation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open coralogix/ai-agent-instrumentation and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What AI Agent Instrumentation does
OpenTelemetry instrumentation and pre-built Coralogix dashboards for AI coding agents. Monitor token usage, costs, session activity, tool behaviour and more
Alternatives in AI
- Manifest — Real-time cost observability for OpenClaw agents — track tokens, costs, messages, and model usage 4.1k ★
- Jcodemunch MCP — Cut AI token costs 95%+ on code exploration 2.6k ★
- Token Monitor — Local-first desktop widget for tracking token usage, costs, and limits across 32+ AI coding tools—including Cl 1.8k ★
README
Coralogix AI Agents Instrumentation
A collection of instrumentation integrations for AI agents, enabling observability through [Coralogix](https://coralogix.com).
Overview
This repository provides ready-to-use instrumentation setups that forward telemetry from AI agent tools to Coralogix via OpenTelemetry (OTLP).
Integrations
| Agent | Description |
|---|---|
| Claude Code | Forward token usage, costs, code changes, and prompt logs to Coralogix via OTLP |
| Codex CLI | Forward API requests, tool calls, SSE events, and session activity to Coralogix via OTLP |
| Cursor | Forward agent hooks (prompts, tools, shell, MCP, session lifecycle) to Coralogix as OTLP traces |
| Gemini CLI | Forward token usage, tool calls, API requests, model routing, agent runs, and prompt logs to Coralogix via OTLP |
| Grok (xAI) | Forward Grok API token usage, model names, finish reasons, and prompt/response content to Coralogix via OTLP |
| OpenClaw | Forward gateway sessions, token usage, costs, model runs, message flow, and webhook activity to Coralogix via OTLP |
Contributing
Please read [CONTRIBUTING.md](CONTRIBUTING.md) before submitting a pull request. All contributors are required to sign the [Coralogix CLA](https://cla-assistant.io/coralogix/ai-agent-instrumentation).
Security
To report a vulnerability, see [SECURITY.md](SECURITY.md).
License
[Apache 2.0](LICENSE) — Copyright 2026 Coralogix Ltd.
Related Skills
AI CLI Observability
Self-hosted OpenTelemetry observability stack for Codex, Claude Code, and Gemini CLI, with Grafana dashboards
Firetv Agent Monitor
Your AI coding agents on a Fire TV: Claude Code, Codex, Muse Code and GoodVibes sessions with live status, act
Tokenmeter
htop for AI Agents — monitor token usage, costs & tool calls across Claude Code and Codex in real time
Loongsuite JS
OpenTelemetry instrumentation plugins for JavaScript-based AI coding agents. Collect traces, tool calls, and L
Plasma AI Usage Monitor
KDE Plasma 6 widget for local AI provider usage, spend, limits, and coding-tool activity
CodeBarPro
Native macOS menu bar usage monitor for local AI coding assistant activity
Related Agents
Stats Analyzer
Analyzes ~/.claude/stats-cache.json and history.jsonl to produce a concise usage report with model token break
API Cost Scanner
Scans codebase for AI/API cost optimization opportunities including model usage, token estimates, caching stra
Performance Monitor
Monitor agent execution, track token usage, measure response quality, and optimize workflows