T0prakss

Tokentop — AI skill for Claude Code

AI community

htop for your AI coding agents — live tokens, cost and tool calls for every Claude Code session.

How to install Tokentop

This entry records only its repository, not the path inside it, so there is no exact command to give. Open T0prakss/tokentop and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Tokentop does

htop for your AI coding agents — live tokens, cost and tool calls for every Claude Code session. Zero dependencies.

Alternatives in AI

  • Usage — macOS menu bar & Windows tray app pinning Claude Code, Codex & Antigravity quota, burn rate, and cost to your 301 ★
  • Single File Wbs — 単一HTMLで動く WBS/ガント+イナズマ線ビューア 123 ★
  • Sidekick Agent Hub — See what your AI coding agent is doing 80 ★

README

tokentop

**`htop` for your AI coding agents.** Live tokens, cost and tool calls for every Claude Code session on your machine — in one terminal screen.

npx tokentop

Zero dependencies · 100% local · works with logs you already have

tokentop dashboard

Your agent spent $40 while you were getting coffee. Which session? Which loop? How fast is it burning right now? Claude Code already writes everything it does to `~/.claude/projects`. **tokentop** reads those logs and shows you, live:

  • Every session at a glance: live, idle or done, plus project, model, turns, tokens, cost and last activity
  • Burn rate: a per-minute cost sparkline and $/hour across all sessions
  • Session drill-down: the cost split per model, cache hit rate, the tools it uses most, and a live activity feed (every Bash, Edit and Read it runs)
  • Reports: daily / per-model / per-project / top-session breakdowns, with --json for scripts
  • Status line: a one-liner ($12.40 today · $3.10/h · 2 live) for your shell prompt or Claude Code's status line

Install

npx tokentop            # run without installing
npm install -g tokentop # or install globally

Requires Node.js 18+. Works on macOS, Linux and Windows.

No logs yet? See it in action with simulated sessions:

npx tokentop --demo

Usage

tokentop                 live dashboard of every agent session
tokentop report          daily / model / project cost report
tokentop status          one-line summary (for shell prompts & status lines)

  -d, --days      how many days of history to load (default 30, 0 = all)
  --json             machine-readable output (report, status)
  --interval     dashboard refresh interval (default 1000)
  --demo             try the dashboard with simulated sessions

**Dashboard keys:** `↑/↓` or `j/k` select · `enter` details · `esc` back · `s` cycle sort (rece