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.6.1

Published

A customizable, real-time statusline for Claude Code

Readme

cc-pulse

npm version License: MIT

See your context usage, cost, MCP health, hooks, skills, and git status — all without leaving Claude Code.

Full mode shows names, groups, and token breakdown:

cc-pulse full mode

Compact mode shows counts only:

cc-pulse compact mode

Quick Start

npm install -g cc-pulse

Add to ~/.claude/settings.json:

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

Restart Claude Code and the statusline appears below the input area.

Features

| Feature | Description | |---------|-------------| | Context usage | Percentage used, colour shifts from green to red as you approach limits | | Token breakdown | Input, output, and cache tokens at a glance | | Model info | Model family and version, e.g. "Opus 4.6" | | Cost tracking | Session cost with colour coding | | MCP health | Live connection status for all MCP servers | | Hook monitoring | Active hooks by event type with broken path detection | | Skills display | Adapts automatically: individual names, prefix grouping, or counts only | | Git status | Branch name and file change counts | | Responsive layout | Width-aware wrapping and a compact mode for smaller screens |

What You Get

| Line | Content | |------|---------| | Identity | Project name and working directory | | Git | Branch and file changes (new, modified, deleted) | | Engine | Model, context usage, tokens, cost, session duration | | MCP | Server count and individual status | | Hooks | Hook count by event type with broken path warnings | | Skills | Names when few, prefix groups when many |

Responsive Display

The statusline adapts to your setup automatically.

Skills adapt based on count:

  • 10 or fewer: lists all names, e.g. ✦ Skills 5 beads excalidraw mermaid tmux repomix
  • More than 10 with shared prefixes: groups them, e.g. ✦ Skills 89 bmad:77 beads excalidraw ...
  • More than 10 without groups: caps at 10 names with overflow, e.g. ✦ Skills 15 a b c ... +5

Hooks adapt based on total count:

  • 6 or fewer: shows all names per event, e.g. ⚡Hooks 4 Submit:2 lint,format Post:2 test,deploy
  • More than 6: caps names to 3 per group, e.g. ⚡Hooks 12 Submit:5 lint,format,check +2

Width-aware wrapping breaks long lines at component boundaries instead of cutting them off. Items wrap at 5 per line for readability.

Compact mode collapses everything to counts only. Toggle with /pulse-compact or set in config:

{
  "compact": true
}

Configuration

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

Minimal display with counts and essential info only. Toggle with /pulse-compact or set manually:

{
  "compact": true
}

Skills, hooks, and MCP show counts only. Context hides the token breakdown. Cost hides burn rate. CWD shortens.

Shows how much of the context window is used. Colours 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 |

Colour thresholds: green below 70%, yellow at 70%, orange at 85%, red at 95%.

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

| Option | Effect | |--------|--------| | showNames: true | List each server with its status | | showOnlyProblems: true | Hide the line when all servers are healthy |

| Icon | Status | |------|--------| | ✓ | Connected | | ✗ | Disconnected | | ○ | 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 |

With more than 6 hooks, names are capped to 3 per event group with a +N overflow count.

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

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

Colour thresholds: green below $1, yellow $1 to $2, orange $2 to $5, red above $5.

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

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

The display adapts automatically based on how many skills you have. See Responsive Display above.

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

Control how the current directory is displayed:

{
  "components": {
    "cwd": {
      "style": "short",
      "maxLength": 30,
      "showIcon": true
    }
  }
}

| Style | Example | |-------|---------| | short (default) | ~/…/fix-1612 | | full | /home/user/.worktree/my-project/2026-02-13/fix-1612 | | basename | fix-1612 | | project | Project folder name |

Increase maxLength to show more of the path, or use basename if you only care about the folder name.

Add horizontal line separators between all status sections:

{
  "dividers": true
}

Off by default.

Add light --- separators after MCP, hooks, and skills sections. On by default in full mode, hidden in compact mode.

{
  "sectionSeparators": false
}

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

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

| Line | Key | Toggleable | |------|-----|------------| | Identity | n/a | No | | Git | git | Yes | | Engine | engine | Yes | | MCP | mcp | Yes | | Hooks | hooks | Yes | | Skills | skills | Yes |

| Component | Key Options | |-----------|-------------| | model | showIcon: true (default), custom icons: { opus, sonnet, haiku } | | 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.

Slash Commands

cc-pulse ships with a skill you can install to your Claude Code skills directory:

| Command | Description | |---------|-------------| | /pulse-compact | Toggle compact mode on/off |

Copy skills/pulse-compact/ to ~/.claude/skills/ or your project's .claude/skills/.

Development

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

For local testing, use the full path in settings: "command": "node /path/to/claude-pulse/dist/cli.js"

License

MIT