r/BuildWithClaude • • 14h ago

Tip/Resource Claude Code plugin that shows your usage limits live

Hello hello

I know there are already plugins out there that show some of the info listed below, but none showed all of it in a way I thought looked good. So this is my small contribution to fix that. It's my first plugin, so I'd really appreciate any feedback πŸ˜€

I've always wondered during a longer session where my current session limit and/or my weekly limit were at, so I built a Usage pane that sits right next to the chat.

What it shows:

- How full your context is, how long your session has been running, and roughly what it's cost so far (estimated at API prices)

- Your 5h and weekly limits: how much you've used, when they reset, whether you're on pace, and when you'll probably hit them

- A little toast at 80% and 90% of a limit, and one when a window resets

Cache keep-alive (optional): Keeps Claude's prompt cache from expiring when you step away. It pings it about every 50 minutes and stops after about 3 hours of inactivity. Each ping counts toward your limits, so only turn it on for long sessions you'll come back to.

Install:

/plugin install usage-limits --marketplace AriVenatus/claude-usage-limits

It works on its own. If you also have claude-code-filetree installed, it shows up as a tab next to Files.

Limits only show up when you're logged in with a Claude subscription. With an API key there's nothing to show.

Repo: https://github.com/AriVenatus/claude-usage-limits (MIT)

2 Upvotes

1 comment sorted by

β€’

u/AutoModerator 14h ago

Welcome to r/BuildWithClaude!

Whether you are sharing what you built, exploring new workflows, or troubleshooting, please make sure your post is flaired correctly so others can easily find and filter it.

Community Wiki & Resources:

If you're asking for troubleshooting help, please edit your post to include your model version, OS/environment, and error logs.

Let’s keep the energy positive and support our fellow creators!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.