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

hirerufus

v0.5.2

Published

Track and Manage your Claude Code costs, tokens, and sessions in real time

Readme

hirerufus

Track your Claude Code costs, tokens, and sessions in real time.

Rufus connects to Claude Code via OpenTelemetry and gives you a live dashboard showing per-session cost breakdowns, token usage, and tool invocations.

Install

npm install -g hirerufus

Quick Start

1. Register your machine

rufus

Generates a stable local identity and registers it with the Rufus API.

2. Connect Claude Code

rufus init

Configures Claude Code to emit OpenTelemetry data to Rufus, and installs the Rufus status line (if none is already configured). Opens your dashboard automatically.

3. Use Claude Code as normal

Sessions appear in real time at your dashboard on hirerufus.com.

Commands

| Command | Description | | -------------------------- | ---------------------------------------------------- | | rufus | Register your machine (run once) | | rufus init | Connect Claude Code to Rufus | | rufus disable | Disconnect Claude Code from Rufus | | rufus statusline | Install Rufus status line in Claude Code | | rufus statusline --force | Override any existing status line with the Rufus one | | rufus token | Manage your Rufus token | | rufus uninstall | Remove all Rufus config from your machine |

Flags

| Flag | Description | | ----------------- | --------------------------- | | -v, --version | Print the installed version | | -h, --help | Show all available commands |

Status line

rufus init automatically installs a status line in Claude Code that shows Rufus state at a glance:

  • Enabled🦑 Rufus is monitoring your costs with a link to your live session
  • Disabled🦑 Rufus is disabled, run \rufus init --claude``

If you already have a status line configured, it is left untouched. Use rufus statusline --force to replace it.

What gets tracked

  • Session start/end times
  • Token usage (input, output, cache)
  • Cost per session (calculated from token counts)
  • Tool invocations and durations
  • Errors and retries

All data is tied to an anonymous machine identity. No source code or prompt content is collected.

Free tier

Anonymous installs get 5 free sessions. Once the limit is reached, rufus init will show:

⚠ You've reached the free session limit (5). Signup at https://hirerufus.com/auth/sign-up

Create a free account to continue tracking sessions.

Automatic update checks

Every time you run a Rufus command (except --version and --help), the CLI checks npm for a newer version. If an update is available, it exits immediately:

Rufus v0.4.1 is outdated. v0.5.0 is available.

Run: npm install -g hirerufus@latest

Update and re-run your command to continue.

Requirements

Links