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

@zynoo/claude-statusline

v1.8.1

Published

A status line for Claude Code CLI showing model, context usage, rate limits, and more (fork with progress bar styles)

Readme

claude-statusline

A custom status line for Claude Code CLI showing model, context usage, rate limits, effort level, and more. Fork of @kamranahmedse/claude-statusline with Catppuccin Mocha colors, compact mode, and session-aware effort detection.

preview

Install

Add to your Claude Code settings.json:

{
  "statusLine": {
    "type": "command",
    "command": "bunx @zynoo/claude-statusline --bar-style shade --usage-style compact"
  }
}

Requirements

  • jq — for parsing JSON
  • git — for branch info

On macOS:

brew install jq

CLI Arguments

| Argument | Values | Default | Description | |----------|--------|---------|-------------| | --bar-style | diamond, block, dot, arrow, square, shade | diamond | Progress bar character style | | --usage-style | default, compact | default | Multi-line or single-line usage | | --time-style | remaining, absolute | remaining | 1h·4m left vs 12:00am | | --minimal | flag | off | Model, context % and effort only |

Each has an environment variable equivalent (CLAUDE_STATUSLINE_BAR_STYLE, CLAUDE_STATUSLINE_USAGE_STYLE, CLAUDE_STATUSLINE_TIME_STYLE, CLAUDE_STATUSLINE_MINIMAL); CLI arguments win.

Bar Styles

| Value | Preview | |-------|---------| | diamond (default) | ▰▰▰▱▱▱▱▱▱▱ | | block | ████░░░░░░ | | shade | ▓▓▓░░░░░░░ | | dot | ●●●○○○○○○○ | | arrow | ▸▸▸▹▹▹▹▹▹▹ | | square | ■■■□□□□□□□ |

Usage Styles

default — multi-line with rate limit details:

Opus 4.6 (1M context) │ ✍️ 12% │ my-project (main) │ ⏱ 1h30m │ max
current ▓▓▓▓░░░░░░  44% (1h·4m left)
weekly  ▓▓░░░░░░░░  21% (2d·14h left)

compact — single-line usage:

Opus 4.6 (1M context) │ ✍️ 12% │ my-project (main) │ ⏱ 1h30m │ max
Usage ▓▓▓▓░░░░░░░░ 44% (1h·4m left) │ ▓▓░░░░░░░░░░ 21% (2d·14h left)

--minimal — one line, no rate limits:

Opus 4.6 (1M context) │ ✍️ 12% │ max

Minimal mode exits before touching cwd, git or rate limits, so it also skips the git status call that dominates the render time in a large repo.

Effort Level Detection

Effort level comes from the effort.level field Claude Code (2.1.263+) passes on stdin, which updates the moment /effort runs. Older versions fall back to the effort field Claude Code writes on each assistant turn in the session transcript, then to ~/.claude/settings.json. Supports ultracode, max, xhigh, high, medium, low; ultracode is picked up separately from /effort output since it reports as xhigh. The level is rendered as plain text, colored by tier:

| Level | Color | |-------|-------| | ultracode | Teal | | max | Yellow | | xhigh | Pink | | high | Mauve | | medium | Sapphire | | low | Dim |

Color Scheme

All colors use the Catppuccin Mocha palette:

| Element | Color | |---------|-------| | Model name | Peach #fab387 | | Directory | Sky #89dceb | | Git branch | Green #a6e3a1 | | 5h usage bar | Green #a6e3a1 | | 7d usage bar | Blue #89b4fa | | Empty bar | Surface 0 #313244 |

Credits

Based on claude-statusline by Kamran Ahmed. Thanks for the great work!

License

MIT — see LICENSE for details.