Agentlens — AI skill for Claude Code
Agentic AI monitoring and observability — OTEL traces and local log files from Copilot, Claude Code, Codex, and OpenCode.
How to install Agentlens
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open RogerReed/agentlens and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agentlens does
Agentic AI monitoring and observability — OTEL traces and local log files from Copilot, Claude Code, Codex, and OpenCode. Token usage, cost, summaries, and efficiency insights. VS Code extension, npx, and Docker.
Alternatives in AI
- Codeburn — Free, local tool to track AI coding token usage and cost across 37 tools and agents (Claude Code, Cursor, Code 9.7k ★
- Manifest — Real-time cost observability for OpenClaw agents — track tokens, costs, messages, and model usage 4.1k ★
- Openclaw Dashboard — 🔐 Secure, real-time monitoring dashboard for OpenClaw AI agents 654 ★
README
AgentLens
[](https://github.com/RogerReed/agentlens/actions/workflows/ci.yml) [](LICENSE)

Local monitoring and observability for agentic AI coding tools — see what's actually happening inside each run. Nothing leaves your machine.
AgentLens receives **OpenTelemetry traces** from Copilot, Claude Code, and Codex in real time, giving you span timing, time-to-first-token, per-tool latency, and file diffs. It also reads the **local session files** each agent writes automatically — including OpenCode's **SQLite database** — as a zero-config fallback that backfills history from before you set anything up. Both sources appear in one dashboard; OTEL takes precedence when available.
Two things it does that a usage dashboard doesn't:
- Catches agents that are stuck. Five named loop and malfunction patterns — identical tool calls repeated, edits oscillating between two states, the same error recurring, runaway scope, context accumulating while progress collapses — each with a correction prompt you can paste straight into the session. See the full list →
- Tells you what to fix in your instructions file. The Advisor reads across sessions and suggests concrete additions to your CLAUDE.md or AGENTS.md — including hot files the agent rediscovers from scratch on every run. More →
Getting Started
Local (OTEL and log files)
The fastest way to get started — run directly on your machine with no install required. Because it runs natively it has full access to your local session log files.
# One-off — always uses the latest published version
npx agentlens-dashb
Related Skills
Core
Agentic AI monitoring and observability — OTEL traces and local log files from Copilot, Claude Code, Codex, an
Agent Observability Stack
Self-hostable observability for LLM agents + a Linux host (Intel iGPU/NPU + NVIDIA RTX 3090 eGPU aware): Prome
Codetape
The flight recorder for AI coding — auto-records semantic traces and syncs README, CHANGELOG, CLAUDE.md. Zero
Langsmith Fetch Skill
🔍 AI observability skill for Claude Code. Debug LangChain/LangGraph agents by fetching execution traces from
Eval From Trace
Build an LLM-as-a-Judge eval grounded in real traces from the Progress Observability Platform.
Spoor
Local-first LLM observability. Inspect agent traces, token usage, latency and estimated costs with one binary
Related Agents
CLI Engineer
Ingénieur du CLI Hookstack (packages/cli/, package npm hookstack-cli). Utiliser pour toute évolution du CLI in
Developer Overview
code-container (container) creates isolated Docker environments for AI coding harnesses (Claude Code, OpenCode
Consult Agent
Execute cross-tool AI consultations via Task spawning. Use when agents or workflows need a second opinion from