bendechrai

Planhop — Development skill for Claude Code

Development community

Run Claude Code on whichever of your subscriptions has quota closest to expiring, with shared config and sessions.

How to install Planhop

This entry records only its repository, not the path inside it, so there is no exact command to give. Open bendechrai/planhop and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Planhop does

Run Claude Code on whichever of your subscriptions has quota closest to expiring, with shared config and sessions.

Alternatives in Development

  • Clauditor — Stop Claude Code from burning through your quota in 20 minutes 367 ★
  • Endoplexity — Agentic browser control driven by your own Claude / Cursor subscriptions 195 ★
  • Ungate — Use your Claude and ChatGPT subscriptions in Cursor instead of paying for API tokens 167 ★

README

planhop

https://bendechrai.github.io/planhop

Run [Claude Code](https://code.claude.com) on whichever of your subscriptions has quota closest to expiring, while every account shares the same config, sessions and history.

$ planhop run
[planhop] using b (b@example.com): 7d 60% resets 1d21h, 5h 25% resets 2h29m | a 7d 31% resets 5d04h

planhop is an independent project. It is not made by, affiliated with, or endorsed by Anthropic. "Claude" and "Claude Code" are trademarks of Anthropic.

Why

With more than one Claude subscription, each account's weekly and 5-hour quota expires on its own schedule. planhop checks every account's usage when you launch Claude Code and picks the one whose quota will be lost soonest if you don't use it.

How it picks

You only use one account at a time, so planhop spends quota in **earliest-deadline-first** order:

  1. Skip accounts at 100% of their 5-hour or weekly limit. If every account is at a limit, use the one that frees up soonest.
  2. Pick the account whose weekly quota resets soonest. An account whose week hasn't started goes last, since nothing on it is expiring.
  3. If other accounts' weekly resets are within 6 hours of that one, treat it as a tie and prefer the account with the most 5-hour quota about to expire unused.

The account is chosen at launch only. If a session hits a limit, quit and start again with `planhop run -c` (or `claude -c` if you installed the shim), and planhop will move you to another account with the same conversation.

Usage comes from the same endpoint Claude Code's `/usage` uses. Checking it costs no quota and doesn't start a 5-hour window.

How accounts share everything

Each account gets its own `CLAUDE_CONFIG_DIR` with its own interactive `/login`, so Chrome integration and claude.ai connectors keep working. That wouldn't be possible with `CLAUDE_CODE_OAUTH_TOKEN` (see [Chrome](#chrome)).

Your existing `~/.claude` stays as it is. Every other account's folder (for example `~/.claude