@851-labs/tokenmaxxing
v0.4.19
Published
CLI for tokenmaxxing — sync your LLM token usage to the leaderboard.
Readme
@851-labs/tokenmaxxing
CLI for tokenmaxxing — the social leaderboard for LLM token usage. Parses your local agent usage (Claude Code, Codex, OpenCode, Gemini CLI, Copilot CLI) via ccusage and pushes daily aggregates to your public profile.
Usage
npm install -g @851-labs/tokenmaxxing
tokenmaxxing login # sign in in the browser, approves this device
tokenmaxxing sync # parse local usage and push it
tokenmaxxing service install # optional: sync automatically every 5 minutes
tokenmaxxing upgrade # upgrade the global CLI and refresh the serviceYou can also install globally with bun add -g --trust, pnpm add -g, or
yarn global add.
The background service uses the global tokenmaxxing binary and syncs every
5 minutes. It auto-updates through the package manager that installed the
global binary (bun, npm, pnpm, or yarn) when that package manager can be
detected.
Use tokenmaxxing service status for the last run and tokenmaxxing service
doctor to inspect scheduler files, auth, auto-update, locks, and recent logs.
Run sync as often as you like, from as many machines as you like —
profiles aggregate across devices. Useful flags: --dry-run,
--since YYYY-MM-DD, --sources claude,codex, --json.
What gets uploaded (privacy)
Daily aggregates only: date, model name, agent name, token counts, and the
API-equivalent cost — never prompts, file paths, project names, or session
content. Revoke access anytime with tokenmaxxing logout or from
settings.
License
MIT
