Credentials. Refresh sends each saved account's own tokens to Anthropic's usage endpoint, so make sure those accounts are yours to query.
Who it is forA developer with several Claude Code accounts who needs to decide which one to use for a big task today.
The problemUsage limits are shown only as of the last session, so an account that is not signed in can show figures that are stale.
The outcomeEach saved account shows its current five-hour and weekly usage after Refresh, so you can pick the one with the most headroom.
What you need first
- A Mac running macOS (the README says macOS only)
- Claude Code or Codex installed and signed in to at least one account
- Homebrew, or a manual download of the latest .dmg from Releases
- Xcode Command Line Tools if you build from source
Steps
- Install Janus with
brew install --cask --no-quarantine ramitvishwakarma/tap/janus, or download the .dmg from Releases and open it. - Save each Claude Code account using Save current account, switching accounts as described in the Janus README.
- Open the Janus window and press Refresh to fetch current usage for each saved account.
- Read the line under each pair of bars to confirm whether a figure was fetched or came from the last session.
- Switch to the account with the most limit left, then restart Claude Code.
Prompt for your agent
Using the Janus repo at RamitVishwakarma/Janus, describe how to refresh usage figures for all saved Claude Code accounts in Janus. Output a table of each account with its five-hour and weekly usage and whether each figure was fetched or cached. Verify that the figures for the signed-in account match Claude Code's own limits display.
Caveat. The signed-in account's token is never renewed by Janus, so its figures depend on Claude Code keeping the session current.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for RamitVishwakarma/Janus and "Check which Claude account has room left before work"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer