Agentic Metric — AI skill for Claude Code
Local-only usage monitor for Claude Code and Codex CLI sessions.
How to install Agentic Metric
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open xihuai18/agentic-metric and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agentic Metric does
Local-only usage monitor for Claude Code and Codex CLI sessions. Live TUI dashboard, per-agent and per-model cost reports, and heatmaps — nothing leaves your machine.
Alternatives in AI
- Usage — macOS menu bar & Windows tray app pinning Claude Code, Codex & Antigravity quota, burn rate, and cost to your 301 ★
- Add New Provider — Add a new AI provider "$ARGUMENTS" to the OpenUsage TUI dashboard 180 ★
- Openclaw Claude Bridge — HTTP bridge powering OpenClaw's AI agents via Claude Code CLI — manages persistent sessions, auto-resume, exte 143 ★
README
Agentic Metric X
[](https://pypi.org/project/agentic-metric-x/) [](https://pypi.org/project/agentic-metric-x/) [](https://pepy.tech/project/agentic-metric-x) [](https://pypi.org/project/agentic-metric-x/)
[中文文档](README-CN.md)
A local and SSH remote monitoring tool for AI coding agents — like `top`, but for your coding agents. Track token usage and costs across **Claude Code** and **Codex** — with a TUI dashboard and CLI.
**Supported platforms: Linux, macOS, and Windows.**
**All data stays under your control. No telemetry is sent anywhere.** By default the tool only reads local agent data files (`~/.claude/`, `~/.codex/`). If SSH remotes are configured, it reads those remote agent data files over SSH and caches a local copy for aggregation.

Features
- Cost estimation — Per-model pricing table with CLI management, calculates API-equivalent costs; supports long-context and cache-duration pricing
- Unified report — One
reportcommand for today / week / month / custom date range, with agent × provider × model breakdown, top projects, and hourly/daily heatmaps - TUI dashboard — Terminal UI with auto-refresh, stacked summary cells, heatmap strip, adaptive 14-day / 12-week / 12-month cost trends, and agent → provider → model breakdown
- Multi-agent — Plugin architecture; supports Claude Code and Codex today, extensible
Agent Data Coverage
| Field | Claude Code | Codex |
|---|---|---|
| Session ID | ✓ | ✓ |
| Project path | ✓ | ✓ |
| Git branch | ✓ | ✓ |
| Model | ✓ | ✓ |
| Input tokens | ✓ | ✓ |
| Output tokens | ✓ | ✓ |
| Cache tokens | ✓ | ✓¹ |
| User turns | ✓ | ✓ |
| Message count | ✓ | ✓ |
| First/last prompt | ✓ | ✓ |
Related Skills
Claude Usage Dashboard
Skill do Claude Code: dashboard HTML local e privado do seu consumo de tokens. Dashboard of your own Claude Co
Sidekick Agent Hub
See what your AI coding agent is doing. Multi-provider assistant & session monitor for VS Code and the termina
Agent Lookout
A local dashboard for the AI agent sessions already running on your machine. Starts nothing, sends nothing.
Agenthud
Claude Code TUI dashboard: live monitor for parallel sessions and sub-agents, with LLM-generated daily/weekly
Agentic Session Explorer
Explore, archive, move, and safely delete the chat sessions AI coding agents (Claude Code, Codex, Gemini, Pi,
Lydia CLI
Lydia is a local AI coding agent for the terminal. It reads and edits your code, runs commands, and drives git
Related Agents
Ade
Agent sessions routinely outlast the machine that started them, and checking a Claude Code or Codex run from a
Junction Tui
STUB (activates at increment 9). Reviews junction's OpenTUI dashboard for OpenTUI patterns, keyboard/focus han
Review UI
gleanery の端末の画面(gleanery dashboard、server/src/tui/)と CLI の出力の変更を、機械で判定できない面から確かめる独立レビュアー。server/src/tui/ か ser