Help us improve
Share bugs, ideas, or general feedback.
htop for your Claude Code sessions
npx claudepluginhub liorwn/claudetophtop for your Claude Code sessions — real-time cost tracking, cache efficiency, model comparison, smart alerts, web dashboard, and session analytics
Claude Code marketplace entries for the plugin-safe Antigravity Awesome Skills library and its compatible editorial bundles.
Production-ready workflow orchestration with 80 focused plugins, 185 specialized agents, and 153 skills - optimized for granular installation and minimal token usage
Directory of popular Claude Code extensions including development tools, productivity plugins, and MCP integrations
Share bugs, ideas, or general feedback.
You're spending $20/day on Claude Code and can't see it.
claudetop shows you exactly where your tokens and dollars go — in real time.
14:32 my-project/src/app Opus 20m 0s +256/-43 #auth-refactor
152.3K in / 45.2K out ████░░░░░░ 38% $3.47 $5.10/hr ~$174/mo
cache: 66% efficiency: $0.012/line opus:~$3.20 sonnet:~$0.88 haiku:~$0.23
in:80% out:20% (fresh:15% cwrite:7% cread:76%)
$5 MARK | main* | ♫ Artist - Song | PROJ-123 | CI ✓
Claude Code doesn't show you what you're spending. You finish a session, check your billing dashboard, and discover a $65 charge for what felt like 30 minutes of work. You have no idea which session caused it, which model was wasteful, or whether your cache was even working.
I built claudetop after noticing my model estimate showed $10 but the actual bill was $65. Turns out, compaction was hiding 80% of my token usage. The cost was real — the visibility wasn't.
git clone https://github.com/liorwn/claudetop.git
cd claudetop && ./install.sh
curl -fsSL https://raw.githubusercontent.com/liorwn/claudetop/main/install.sh | bash
claude plugin marketplace add liorwn/claudetop
claude plugin install claudetop
This gives you the SessionEnd hook + all slash commands (/claudetop:stats, /claudetop:dashboard, /claudetop:branch, /claudetop:export, /claudetop:pricing) automatically.
Then restart Claude Code.
>
A blank prompt. No context. No cost. No idea.
14:32 my-project/src/app Opus 20m 0s +256/-43 #auth-refactor
152.3K in / 45.2K out ████░░░░░░ 38% $3.47 $5.10/hr ~$174/mo
cache: 66% efficiency: $0.012/line opus:~$3.20 sonnet:~$0.88 haiku:~$0.23
$5 MARK | TRY /fast | main* | CI ✓ | ♫ Bonobo - Kerala
Every response, you see:
Your actual session cost (green), burn rate per hour, and monthly forecast extrapolated from your history. No more billing surprises.
See what your session would cost on Opus, Sonnet, or Haiku — with cache-aware pricing that accounts for your actual cache hit ratio. The current model is bolded so you can instantly compare.
Pricing updates automatically from the pricing.json in this repo — when Anthropic changes prices, claudetop stays current.
Your cache hit ratio tells you if you're being efficient. Green (≥60%) means most of your input tokens are being reused. Red (<30%) means something is forcing full re-reads — maybe compaction, maybe a model switch.
Only appear when something needs your attention:
| Alert | What happened | What to do |
|---|---|---|
$5 MARK / $10 / $25 | Cost milestone crossed | Gut-check: am I getting value? |
OVER BUDGET | Daily budget exceeded | Wrap up or switch models |
CONSIDER FRESH SESSION | >2hrs + >60% context | Start fresh — diminishing returns |
LOW CACHE | <20% cache after 5min | Context was reset, tokens being re-read |
BURN RATE | >$15/hr velocity | Runaway subagents or tight loops |
SPINNING? | >$1 spent, zero code output | Stuck in a research loop |
TRY /fast | >$0.05/line on Opus | This task doesn't need the biggest model |
COMPACT SOON | Context window >80% full | Auto-compaction is imminent |
Every session is automatically logged. See where your money goes:
claudetop-stats # Today's summary
claudetop-stats week # This week
claudetop-stats month # This month
claudetop-stats all # All time
claudetop-stats tag auth # Filter by tag
claudetop-stats This Week
──────────────────────────────────────────────────────
Summary
Sessions: 12
Total cost: $47.30
Avg / session: $3.94
Daily avg: $9.46