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

@botaoxyz/claude-statusline

v1.0.0

Published

My Claude Code Status Line

Readme

@botaoxyz/claude-statusline

A custom status line for Claude Code, displaying model info, working directory, git status, and context window usage — all in your terminal.

 Opus |  my-project |  main ⇡2 [+!?] |  █████░░░░░░░░░░ 32.5%

Prerequisites

Nerd Fonts

This status line uses Nerd Fonts icons. You must install a Nerd Font and configure your terminal to use it, otherwise icons will not render correctly.

  1. Download a patched font from nerdfonts.com (recommended: JetBrainsMono Nerd Font, FiraCode Nerd Font, or MesloLGS Nerd Font)
  2. Install the font on your system
  3. Set your terminal emulator's font to the installed Nerd Font

Node.js

Requires Node.js >= 18.

Installation & Usage

Option 1: Global Install

npm install -g @botaoxyz/claude-statusline

Then add to your Claude Code configuration (~/.claude/settings.json):

{
  "statusLine": {
    "type": "command",
    "command": "claude-statusline"
  }
}

Option 2: npx / bunx (No Install)

No global installation needed — just reference the package directly:

{
  "statusLine": {
    "type": "command",
    "command": "npx @botaoxyz/claude-statusline"
  }
}

Or with Bun:

{
  "statusLine": {
    "type": "command",
    "command": "bunx @botaoxyz/claude-statusline"
  }
}

What It Shows

| Section | Icon | Description | | ------- | ---- | ----------- | | Model | | Current Claude model name (e.g. Opus, Sonnet) | | Directory | | Basename of the working directory | | Git | | Branch name + file status + ahead/behind | | Context | | Context window usage bar with percentage |

Git Status Symbols

The git status section follows Starship conventions:

Ahead / Behind

| Symbol | Meaning | | ------ | ------- | | ⇡N | Ahead of remote by N commits | | ⇣N | Behind remote by N commits | | ⇕N/M | Diverged — ahead by N, behind by M |

File Status

Displayed inside [...] brackets. Multiple symbols can appear simultaneously.

| Symbol | Meaning | | ------ | ------- | | = | Merge conflicts exist | | + | Staged changes (added to index) | | ! | Modified files (unstaged) | | » | Renamed files | | | Deleted files | | ? | Untracked files | | $ | Stashed changes |

Examples

| Output | Meaning | | ------ | ------- | | main | Clean, up to date | | main ⇡2 | 2 commits ahead of remote | | main ⇣1 | 1 commit behind remote | | main ⇕3/1 | 3 ahead, 1 behind (diverged) | | main [!?] | Has modified and untracked files | | main ⇡1 [+!?$] | 1 ahead, with staged, modified, untracked, and stashed changes | | main [=+!»✘?$] | All status types present |

License

ISC