npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@851-labs/tokenmaxxing

v0.7.8

Published

CLI for tokenmaxxing — sync your LLM token usage to the leaderboard.

Downloads

2,615

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, Hermes, Pi, Oh My Pi, Grok Build CLI, Antigravity, ZCode, Amp, Qwen Code, Kimi CLI, Kilo Code, Goose, Droid, Codebuff, OpenClaw) via ccusage and pushes daily aggregates to your public profile.

Usage

npm install -g @851-labs/tokenmaxxing@latest
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 service

You can also install globally with bun add -g --trust @851-labs/tokenmaxxing@latest, pnpm add -g @851-labs/tokenmaxxing@latest, or yarn global add @851-labs/tokenmaxxing@latest.

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. Custom log roots (CLAUDE_CONFIG_DIR, CODEX_HOME, HERMES_HOME, the other agents' data-directory variables such as OPENCODE_DATA_DIR, GEMINI_DATA_DIR, COPILOT_HOME, PI_AGENT_DIR, GROK_HOME or AMP_DATA_DIR, and XDG_DATA_HOME/XDG_CONFIG_HOME) are captured at tokenmaxxing service install or tokenmaxxing service repair; rerun one of those after changing them. Without HERMES_HOME, Hermes usage includes every named profile under ~/.hermes/profiles/. Use tokenmaxxing service status for the last run and tokenmaxxing service doctor to inspect scheduler files, auth, auto-update, locks, and recent logs. Each doctor check is OK, INFO (fine, but worth knowing: never synced yet, a sync running right now), WARN (syncs still run, but something is off) or FAIL (scheduled syncs can't happen); every WARN and FAIL line ends with the command that fixes it. service doctor exits 1 when any check is WARN or FAIL and 0 otherwise, so scripts and CI can gate on it. With --json, the report's health is ok, warn or fail (status only says the doctor ran).

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. sync exits non-zero when no agent's usage could be collected; if only some agents fail, it still uploads the rest and exits 0 with "status": "partial" in --json output.

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