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

agent-limit

v0.7.2

Published

Terminal dashboard to monitor Claude Code, Codex, and other agent usage limits

Downloads

1,110

Readme

agent-limit

Terminal dashboard to monitor Claude Code and Codex usage limits.

Quickstart

npm install -g agent-limit
agent-limit usage

Example

[███████░░░░|░░░░░░░░░] 30% ↓12%
            ^ you should be at 42%, but you're at 30% (12% under pace)
  • ↓X% (green) = under pace, you have headroom
  • ↑X% (red) = over pace, might hit limits early

Features

  • Real-time usage tracking for Claude Code and Codex
  • Trajectory markers showing if you're ahead or behind your usage pace
  • Auto-refresh every 60 seconds
  • Color-coded usage indicators

CLI Reference

| Command | Description | |---------|-------------| | agent-limit usage | Show usage dashboard | | agent-limit version | Show version | | agent-limit help | Show help message |

Dashboard Controls

| Key | Action | |-----|--------| | q | Quit | | r | Refresh |

Supported Providers

| Provider | Status | Data Source | |----------|--------|-------------| | Claude Code | Full support | macOS Keychain + Anthropic API | | Codex | Full support | ~/.codex/auth.json + OpenAI API |

How It Works

agent-limit reads credentials from standard locations:

  • Claude Code: macOS Keychain (Claude Code-credentials)
  • Codex: ~/.codex/auth.json

It then fetches usage data from each provider's API and displays it in a unified dashboard.

Installation Options

Via npm

npm install -g agent-limit

Standalone Binary (no dependencies)

Download from GitHub Releases:

# Apple Silicon
curl -L https://github.com/AgentWorkforce/limit/releases/latest/download/agent-limit-darwin-arm64 -o /usr/local/bin/agent-limit
chmod +x /usr/local/bin/agent-limit

# Intel Mac
curl -L https://github.com/AgentWorkforce/limit/releases/latest/download/agent-limit-darwin-x64 -o /usr/local/bin/agent-limit
chmod +x /usr/local/bin/agent-limit

Requirements

  • macOS (uses Keychain for credential storage)
  • Active CLI authentication for providers you want to monitor

Development

git clone https://github.com/AgentWorkforce/limit.git
cd monitor
bun install

Run in development mode with hot reload:

bun run dev

Run directly:

bun run start

Note: In dev mode, use q to quit cleanly. If you Ctrl-C and see garbled output, run reset to restore your terminal.

Building Standalone Binaries

Build binaries that don't require Bun:

# Build for all macOS architectures
bun run build

# Build for specific architecture
bun run build:arm64   # Apple Silicon
bun run build:x64     # Intel

Binaries are output to dist/.

License

MIT