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

vibebreak

v0.1.5

Published

Lock your Claude Code sessions every N tokens until you move. Phone counts reps and posts a BeReal-style snap to friends.

Downloads

47

Readme

VibeBreak — Claude Code plugin

Lock your Claude Code sessions every N tokens until you move. Your phone counts reps with the accelerometer and posts a BeReal-style dual-cam snap to friends. Terminal unlocks.

Home: vibebreak.app

Install

Inside a Claude Code session, run these two slash commands:

/plugin marketplace add flipace/vibebreak-plugin
/plugin install vibebreak@vibebreak

Then open the VibeBreak mobile app and scan the QR code the plugin prints to pair your computer.

How it works

  1. SessionStart hook boots a background watcher that tails your token usage from Claude Code's transcript.
  2. At your threshold (default 250k tokens, configurable on the phone) the watcher POSTs /v1/gates to the VibeBreak API.
  3. PreToolUse hook reads a local breadcrumb the watcher writes. Every tool call exits with code 2 until the gate is resolved — your terminal hard-locks.
  4. Phone picks an exercise, counts reps, snaps, posts. WebSocket unlock clears the breadcrumb. Claude resumes.

Subcommands

| Command | What it does | |---|---| | vibebreak | Runs watch if paired, otherwise pair. | | vibebreak pair | One-time QR pairing with the phone app. | | vibebreak watch | Token meter + lock + WS unlock loop + local ingest server. | | vibebreak ingest --tokens N | Forward N tokens to the running watcher (used by the CC PostToolUse hook). | | vibebreak cc-hook | Read a CC hook event from stdin, diff token usage, forward delta to the watcher. | | vibebreak check-gate | Exit 2 if a gate is currently open (used by the PreToolUse hook). | | vibebreak config | Print the resolved config JSON. | | vibebreak logout | Clear the saved device JWT. |

Environment overrides

| Variable | Default | Purpose | |---|---|---| | VIBEBREAK_API | https://api.vibebreak.app | API base URL (REST). | | VIBEBREAK_WS | wss://api.vibebreak.app | WebSocket base URL for unlock events. |

Files on disk

| Path | Purpose | |---|---| | ~/.vibebreak/config.json | Device JWT, base URLs, threshold, optional ingestPort. | | ~/.vibebreak/sock | Unix-domain socket for the local ingest server (POSIX only). | | ~/.vibebreak/active-gate.json | Breadcrumb consumed by check-gate — present while a gate is waiting on the user. |

Layout

.claude-plugin/
├── marketplace.json   # marketplace catalog (this repo IS the catalog)
└── plugin.json        # plugin manifest
bin/vibebreak.ts       # CLI entry
src/                   # watcher, meter, WS, pair flow
  shared.ts            # vendored API contracts (zod schemas + consts)
hooks/
├── SessionStart.sh    # spawn watcher on CC session start
├── PreToolUse.sh      # read active-gate breadcrumb; exit 2 if locked
├── PostToolUse.sh     # forward token deltas into ingest
└── hooks.json         # CC hook registration

Scripts

| | | | --- | --- | | pnpm dev | tsx watch on the CLI entry | | pnpm build | tsup → dist/bin/vibebreak.js | | pnpm typecheck | tsc --noEmit |

License

UNLICENSED — personal project.