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

cc-pulse

v1.3.2

Published

A customizable, real-time statusline for Claude Code

Readme

cc-pulse

npm version License: MIT

A real-time statusline for Claude Code.

cc-pulse statusline

🚀 Quick Start

npm install -g cc-pulse

Add to ~/.claude/settings.json:

{
  "statusLine": {
    "type": "command",
    "command": "cc-pulse"
  }
}

Restart Claude Code — the statusline appears above the input area.

✨ Features

| Feature | Description | |---------|-------------| | Context usage | Shows % used with color-coded bar — green to red as you approach limits | | Token breakdown | Input ↓, output ↑, and cache ⟳ tokens at a glance | | Model info | Shows model with version (e.g., "Opus 4.6", "Sonnet 4.5") | | Cost tracking | Session cost with color coding ($1 yellow, $2 orange, $5+ red) | | MCP health | Live connection status for all MCP servers | | Hook monitoring | Active hooks by event type, with broken path detection | | Skills display | Shows your custom slash commands/skills | | Git status | Branch name + new/modified/deleted file counts |

📊 What You Get

Six lines of information, updated on every message:

cc-pulse statusline

| Line | Content | |------|---------| | Identity | Project name + working directory | | Git | Branch + file changes (new, modified, deleted) | | Engine | Tier, model, context used, tokens, cost, duration | | MCP | Server count + individual status (✓ connected, ✗ disconnected, ○ disabled) | | Hooks | Hook count by event type, with broken path warnings | | Skills | Custom slash commands count + names |

⚙️ Configuration

Create ~/.config/claude-pulse/config.json to customize. Only include what you want to change.

Shows how much of the context window is used. Colors shift as usage increases.

{
  "components": {
    "context": {
      "style": "bar",
      "showTokens": true,
      "thresholds": { "warn": 70, "critical": 85, "danger": 95 }
    }
  }
}

| Style | Example | |-------|---------| | bar | Used ●●●●●●○○○○ 58% | | percent (default) | Used 58% | | detailed | Used 116.0k/200.0k (58%) | | both | ●●●●●●○○○○ 116.0k / 200.0k |

Color thresholds — as used % increases:

  • Green: < 70% used (safe)
  • Yellow: 70% used (warn)
  • Orange: 85% used (critical)
  • Red + 🔴: 95% used (danger)

Set your plan manually (auto-detection isn't reliable):

{
  "components": {
    "tier": {
      "override": "max"
    }
  }
}

Options: "pro", "max", "api"

{
  "components": {
    "mcp": {
      "showNames": true,
      "showOnlyProblems": false,
      "maxDisplay": 4
    }
  }
}

| Option | Effect | |--------|--------| | showNames: true | List each server with status | | showOnlyProblems: true | Hide line when all servers healthy | | maxDisplay: 4 | Limit servers shown ("+N more" for rest) |

| Icon | Status | |------|--------| | ✓ | Connected | | ✗ | Disconnected (red) | | ○ | Disabled | | ▲ | Error |

{
  "components": {
    "hooks": {
      "showNames": true,
      "showCount": true
    }
  }
}

| Setting | Result | |---------|--------| | Both true | ⚡Hooks 8 Submit:3 timezone-context,best-practices | | showNames: false | ⚡Hooks 8 Submit:3 Post:2 End:1 | | Both false | ⚡Hooks 8 |

Broken hooks (invalid paths) show in red with ▲.

{
  "components": {
    "cost": {
      "showBurnRate": true,
      "label": "$"
    }
  }
}

Color thresholds: green < $1, yellow $1-$2, orange $2-$5, red > $5

Shows your custom slash commands from ~/.claude/skills/ and .claude/skills/.

{
  "components": {
    "skills": {
      "showNames": true,
      "showCount": true,
      "maxDisplay": 5
    }
  }
}

| Setting | Result | |---------|--------| | Both true | ✦ Skills 5 commit,pr,branch | | showNames: false | ✦ Skills 5 | | maxDisplay: 3 | Shows first 3 names + overflow count |

Broken skills (missing SKILL.md or invalid frontmatter) show in red with ▲.

The 6-line structure is fixed. You can toggle lines and change separators:

{
  "lines": {
    "hooks": { "enabled": false },
    "engine": { "separator": " | " }
  }
}

| Line | Key | Toggleable | |------|-----|------------| | Identity | — | No (branding) | | Git | git | Yes | | Engine | engine | Yes | | MCP | mcp | Yes | | Hooks | hooks | Yes | | Skills | skills | Yes |

| Component | Key Options | |-----------|-------------| | model | showIcon: true adds emoji per model | | session | showDuration: true, showId: false | | cache | Shows cache hit rate | | linesChanged | Shows +added -removed | | time | format: "12h"/"24h", showTimezone: true |

All components accept "enabled": false to hide them.

🛠️ Development

git clone https://github.com/ali-nr/claude-pulse.git
cd claude-pulse
bun install
bun run build
bun test

Use full path in settings: "command": "node /path/to/claude-pulse/dist/cli.js"

License

MIT