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

howvibe

v0.1.9

Published

CLI tool to track AI coding tool token usage and costs

Downloads

812

Readme

howvibe

Track AI coding tool token usage and costs from the command line.

Install

Requirements:

  • Node.js >= 20

Install from npm:

npm i -g howvibe@latest
howvibe --version

Install from source (local dev):

npm ci
npm run build
npm link
howvibe --version

Quick Start

Show today usage:

howvibe today

Show grouped daily usage in a date range:

howvibe daily --since 2026-03-01 --until 2026-03-07

Show grouped monthly usage:

howvibe monthly

Machine-readable output:

howvibe today --json
howvibe monthly --plain

Common Sync Commands

Enable cross-machine sync (GitHub Gist):

howvibe sync enable

Disable sync:

howvibe sync disable

Check sync state and remote machine coverage:

howvibe sync status

Audit synced data in GitHub:

# first get gist id from "howvibe sync status"
gh gist view <gist-id>
# or open in browser:
https://gist.github.com/<gist-id>

Non-interactive mode (no prompts/login flow):

howvibe --no-input sync enable

Notes:

  • sync enable may open GitHub login if gh auth token is unavailable.
  • In --no-input mode, you must already have a valid GitHub token from gh auth login --web --scopes gist.
  • gh CLI is required for sync.
  • Sync storage uses only your private GitHub Gist plus local cache under ~/.howvibe/sync (no third-party sync backend).
  • Uploaded snapshots contain daily provider/model token and cost aggregates only.
  • Prompts, responses, and source files are never uploaded by sync.
  • Query commands (today, daily, monthly) always print a sync status line in human-readable output.
  • --json and --plain include sync_meta for scripting.

CLI Usage

howvibe [options] [command]

Commands:
  today
  daily
  monthly
  sync enable
  sync disable
  sync status

Global options:

  • --json: JSON output
  • --plain: line-based plain text output (TSV)
  • -q, --quiet: suppress non-essential output
  • --no-input: disable prompts/login flow
  • --no-color: disable colored output
  • --provider <name>: claude-code, codex, cursor, openrouter
  • --source <source>: auto, web, cli, oauth
  • --since <YYYY-MM-DD>
  • --until <YYYY-MM-DD>

Version update reminder:

  • howvibe checks npm latest version periodically and prints a reminder when a newer version is available.
  • install update with npm i -g howvibe@latest

Providers and Sources

Supported source matrix:

  • claude-code: cli
  • codex: cli
  • cursor: web, oauth
  • openrouter: web, oauth

Use --source auto (default) to let howvibe choose all compatible providers.

Environment Variables

  • HOWVIBE_SOURCE
  • CURSOR_SESSION_TOKEN
  • OPENROUTER_MANAGEMENT_KEY
  • CLAUDE_ORGANIZATION_UUID
  • CLAUDE_CONFIG_DIR
  • CODEX_HOME

Releasing

See release guide: