Tokentop — AI skill for Claude Code
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
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,EditandReadit runs) - Reports: daily / per-model / per-project / top-session breakdowns, with
--jsonfor 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
Related Skills
Ctxwall
One wall for every AI session on your machine — live dashboard for Claude Code / Codex / ZCode / CodeBuddy / p
LLM Tally
Estimate tokens and API cost for OpenAI, Anthropic Claude and Google Gemini models. Zero dependencies, typed,
AI Timeline
See what AI coding agents actually do, across one session or thousands. Timelines, tool calls, tokens and cost
Shell Secrets
Catch secrets in shell commands and AI-agent tool calls (Claude Code, Codex) before they run. Zero dependencie
Tokenmeter
htop for AI Agents — monitor token usage, costs & tool calls across Claude Code and Codex in real time
Retok
Token-efficiency analyzer for AI coding agents (Claude Code, OpenAI Codex CLI): cost estimates, cache analysis
Related Agents
10x Tool Calls
Cursor and Windsurf meter usage by requests and tool calls rather than tokens, which means a finished or stall
Context Auditor
Use proactively when the user wants to cut Claude Code token cost or asks "why is this session so expensive /
Houdini Coder
Coding agent for Houdini work in the user's live Houdini session. Has file tools, a shell and the fxhoudini MC