Quickstart
Install tokenmaxxing, import your current account, and pool more
Requires Bun and Claude Code, on macOS or Linux. Install with Bun, or from the flake if you already use Nix / nix-darwin — put the CLI on PATH before init (see Build and distribution):
bun add -g tokenmaxxing
# or: nix profile install github:anaclumos/tokenmaxxing
# or: enable programs.tokenmaxxing in your nix-darwin / Home Manager config
tokenmaxxing initinit does five things:
- Imports the account you are already logged in with as account #1 (there is no separate
adoptcommand). - Installs the
claudesupervisor shim. - Installs three entries in Claude Code's
settings.json: a statusLine, a Stop hook, and a SessionStart hook (plus a subagentStatusLine entry). - Appends the supervisor's bin directory to your shell rc's PATH (idempotent, marked with a
# tokenmaxxing PATHcomment). It has to sit ahead of the realclaudeon PATH to intercept it. - Installs a periodic check timer (a launchd agent on macOS, a systemd user timer on Linux) that runs
tokenmaxxing checkevery 180 seconds.
Restart your shell, then add more accounts and go:
tokenmaxxing add # logs one more account in, in isolation, and pools it
claude # use claude as alwaystokenmaxxing is also aliased as xx. Bare tokenmaxxing (or xx) runs status; switch stays explicit.