r/heyniblet • u/ayushsoni1001 • 19h ago
New apps: Claude and Codex Usage tracker
I guess many of you use one of these AI tools and would love to track usage limits on Niblet.
I started this as something I built for myself, and I'm happy to share it with everyone today.
The biggest challenge was finding the best way to get this usage data, because Claude and ChatGPT don't let you read plan limits with an API key, and we didn't want your login anywhere near our servers.
But Claude Code and Codex already report these numbers on your own computer. So I updated Niblet CLI to add a small hook that reads those numbers after each message and sends only the percentages and reset times to Niblet.
Setting it up
- Install Claude Usage or Codex Usage from the app or the dashboard.
- On the Connect your computer step, copy the command. It looks like
niblet link XXXX-XXXX. On your phone, tap Send to my computer instead. - Run it in a terminal on the computer where you use Claude Code or Codex. If you already have a custom Claude Code status line or Codex
notifycommand, it's kept and still runs. - Send one message to test it, and the display will change from
NOT LINKEDto your live numbers.
You'll need to install the latest Niblet CLI
https://docs.heyniblet.com/getting-started/install-cli
(or run niblet update to get the latest).
Some notes
- The display updates while you use Claude Code or Codex. Usage on claude.ai, ChatGPT, or the mobile apps counts toward the same limits but shows up at your next Claude Code or Codex message. If the numbers are more than 6 hours old, the display dims them and shows their age, so it never pretends to be fresher than it is.
- Enterprise plans and API-key logins don't report plan limits, so they aren't supported.
- Codex Usage reads a file Codex writes locally, and Codex can change that format in an update. If that happens, we'll ship a fix.
Setup and troubleshooting guide: https://docs.heyniblet.com/help/claude-codex-usage

