liorwn

liorwn / claudetop

Public

htop for your Claude Code sessions β€” real-time cost, cache efficiency, model comparison, and smart alerts

58
2
100% credibility
Found Mar 15, 2026 at 58 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Shell
AI Summary

claudetop provides real-time visibility into AI coding session costs, token usage, efficiency metrics, and alerts within the Claude Code interface, along with session history analytics.

How It Works

1
πŸ” Discover claudetop

You realize your AI coding sessions are costing more than expected without clear breakdowns of spending.

2
πŸ“₯ Add it easily

You use a quick one-click installer to bring cost tracking into your coding helper.

3
πŸš€ See it live

Restart your coding app and instantly get a colorful status bar showing costs, time, and tips right in your workspace.

4
πŸ’» Code with insights

During sessions, watch real-time costs, savings tips, model comparisons, and alerts to stay efficient and avoid waste.

5
πŸ“Š Review your history

Check simple summaries of past sessions to see total spending, best models, and patterns by project or tag.

βœ… Master your budget

You now control AI coding costs, get value from every dollar, and end sessions without billing surprises.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 58 to 58 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 claudetop?

claudetop is an htop alternative for Claude Code sessions, delivering a real-time status line dashboard that tracks costs, cache efficiency, model comparisons, and smart alerts right in your terminal. Built in Shell with jq and bc, it plugs into Claude Code as a plugin or standalone script, showing session burn rates, token breakdowns, and projected monthly spend so you avoid billing shocks from hidden compaction or inefficient caching. Think github htop dev tool tailored for AI coding workflows.

Why is it gaining traction?

Unlike generic system monitors like htop rust github or nvidia htop github, claudetop focuses on Claude-specific metrics: cache hit ratios, cost-per-line efficiency, and alerts for over-budget sessions or low cache. Developers hook in plugins for git branches, CI status, or even Spotify tracks, plus CLI commands like claudetop-stats for weekly summaries and tagging costs by feature. The dynamic pricing updates and themes (compact to full) make it a practical dashboard over claude pdf docs or manual billing checks.

Who should use this?

AI-heavy devs burning $20+ daily on Claude Opus for code refactors, or backend teams tracking model costs across projects. Ideal for solo github htop config github tinkerers optimizing haiku vs sonnet efficiency, or leads setting daily budgets with overage alerts during long sessions.

Verdict

Grab it if you're deep in Claude Codeβ€”solid docs and MIT license make setup painless, despite 57 stars and 1.0% credibility signaling early maturity. Worth the one-liner install for cost visibility; contribute pricing updates to boost reliability.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.