a2d2-dev

a2d2-dev / claude-top

Public

Terminal UI for monitoring Claude Code token and cost usage

12
0
100% credibility
Found Apr 11, 2026 at 12 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Go
AI Summary

claude-top is a terminal dashboard that monitors real-time token usage and costs for Claude Code and Codex CLI, with session history, daily graphs, and optional global leaderboard sharing.

How It Works

1
🔍 Discover claude-top

You hear about a fun terminal tool that shows your AI coding assistant's token use and costs live, helping you stay on budget.

2
🚀 Launch the dashboard

Run one easy command to start it up and see your usage dashboard appear right in your terminal.

3
📈 Watch live tracking

Marvel at the real-time progress bars for your current session, burn rate, time left, and total spend updating as you code.

4
📋 Explore your history

Switch tabs to browse past sessions, daily graphs, and detailed breakdowns of messages and models.

5
Share on leaderboard?
Yes, upload!

Press u to share stats, get your rank, and a shareable profile page.

No thanks

Skip sharing and keep tracking your private stats.

🎉 Track like a pro

You now effortlessly monitor AI costs, spot trends, optimize spending, and optionally flex your rankings worldwide.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 12 to 12 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is claude-top?

Claude-top is a Go-built terminal UI that tracks real-time token and cost usage from Claude Code projects and Codex CLI sessions. Fire it up with `npx @a2d2/claude-top` or `go install`, and it scans your local dirs for burn rate, session history, and daily graphs—no network needed for monitoring. Tabs show active progress bars, per-message breakdowns, and 52-week contribution charts, with auto-refresh every 10s.

Why is it gaining traction?

It combines linux terminal monitoring tools precision with claude top global leaderboards, letting you upload monthly stats via `u` key to compete on Claude or Codex tracks. Multi-source support (toggle `--source all|claude|codex`) and keyboard nav (`1-3` tabs, `Enter` drill-down) beat basic CLI counters, plus binaries for terminal github linux, mac, and Windows make it dead simple. Leaderboard ranks and per-model costs hook competitive devs watching AI bills.

Who should use this?

Heavy Claude Code users hitting Pro/Max rate limits, or Codex CLI power users tracking OpenAI cache hits. Ideal for AI engineers optimizing spend across projects, or teams sharing claude top up stats without prompt leaks. Skip if you're casual—it's for those grinding sessions and eyeing global ranks.

Verdict

Grab it if you're deep in Claude/Codex workflows; the TUI shines for quick insights and leaderboard flex. At 12 stars and 1.0% credibility, it's early but polished with solid docs and MIT license—watch for more polish as adoption grows. (187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.