PlanSwap
A VS Code extension that shows the remaining usage of your Claude Code, Codex and Antigravity CLI accounts and switches Claude Code and Codex accounts in one click.
The problem it solves
Claude Code and Codex subscriptions limit usage within time windows. Developers who hold several accounts need to know how much each one has left, when it resets, and when to move to another account once one is used up. Signing out and back in again takes time and interrupts the work at hand. PlanSwap puts the usage of all accounts in one place and makes switching a single click in the sidebar.
Main features
- Usage at a glance: the sidebar lists each account's 5-hour and 7-day limits with what is left and when they reset, or what has been used if you prefer; the status bar sums up the remaining percentage of the current Claude and Codex accounts. Usage is updated every 15 minutes by default and can be refreshed by hand at any time.
- Low-quota alerts and recommendations: when the current account drops to 20% remaining you get a notice, and at 10% a card recommends the account with the most left, which you can switch to directly. Both thresholds are adjustable, and individual accounts can be left out of recommendations. If a Claude account's subscription cannot be used, it is marked in the list and no longer recommended.
- Account switching: switch from the sidebar without signing out. After a Claude switch, new sessions use the new account; a Codex switch takes effect after the editor or remote server restarts.
- Terminal with a chosen account: open a terminal that runs the Claude Code or Codex command-line tool as a specific account, without changing the current one.
- Shared settings: a new account can share settings, rules, skills, history and sessions with the default account, or be created as a fully independent account. If sharing runs into problems, the extension can check and repair it. Accounts can also be renamed so they are easy to tell apart.
Who it is for
Developers who use several Claude Code or Codex subscription accounts and want to move to another account quickly when one runs out.
What you need
- VS Code 1.107 or later, or a compatible VS Code-based editor. Install it from the VS Code Marketplace or Open VSX.
- Windows, WSL or Linux, in local or remote windows.
- The Claude Code or Codex command-line tool, either on the PATH or bundled with the official extension, signed in with each account.
- Before the first Codex switch, Codex switching has to be enabled once in PlanSwap; on Linux and WSL this requires Bash.
- On Windows, sharing settings with the default account requires Developer Mode; without it, the settings can be copied instead.
- The interface is available in English, Simplified Chinese, Traditional Chinese, Spanish and Japanese.
Data and privacy
Usage is read through the official command-line tools; PlanSwap makes no network requests of its own.