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

claude-window-keeper

v0.2.0

Published

Claude's Window Keeper — keep your Claude Code usage window ready for long sessions. Not affiliated with Anthropic.

Readme

CWK — Claude's Window Keeper

CI npm

Keep your Claude Code usage window ready for long sessions by reducing the next reset time.

[!NOTE] CWK is an independent open-source project. It is not affiliated with, endorsed by, or sponsored by Anthropic. "Claude", "Claude AI" and "Claude Code" are trademarks of Anthropic, PBC.

CWK is a small, engine-first CLI that keeps your Claude Code usage window aligned with your work schedule. It periodically sends a minimal ping through Claude Code so that whenever you sit down to work, the maximum possible window is ahead of you.

CWK does not bypass Anthropic limits, increase quotas, or exploit undocumented behavior. It only automates a single action users already perform manually.

How it works

  1. You tell CWK when the next ping should happen.
  2. CWK stores minimal state in .cwk/ and generates a GitHub Actions workflow.
  3. The workflow wakes CWK three times per hour; the Core Engine decides WAIT, WAIT_THEN_PING or PING.
  4. GitHub cron fires early, late or not at all — so when the target is close, CWK simply waits inside the run and pings at the exact scheduled time.
  5. When a ping is due, CWK runs a minimal Claude Code command and updates its state.

Quick start

npm install -g claude-window-keeper

cd your-repository
cwk init

The setup is interactive and accepts natural time expressions:

When should the NEXT ping happen?
> tomorrow 23:50

Also accepted: 23:50, 23h50, 11pm, in 2 hours, next monday 21:00, …

Then add the CLAUDE_OAUTH_TOKEN GitHub Secret (a Claude Code OAuth token), commit, and push. CWK takes care of the rest.

Commands

| Command | Description | |---------|-------------| | cwk init | Initialize a CWK project (interactive, confirms before writing) | | cwk status | Show last/next ping, remaining time, timezone | | cwk ping | Run one synchronization cycle (--force to ping now) | | cwk doctor | Check project health with actionable fixes | | cwk repair | Fix what doctor found, preserving as much as possible | | cwk update | Bring an existing project to the current CWK format | | cwk reset | Remove the CWK project |

Global options: --json, --verbose, --version, --help.

Updating an existing repository

The generated workflow installs the latest CWK on every run, so the engine updates itself. After a new CWK release, bring the files living in your repository up to date with:

npm install -g claude-window-keeper@latest
cwk update      # regenerates outdated runtime files, adds new settings
git add -A && git commit -m "chore: update cwk runtime" && git push

Development

npm install
npm test              # unit + integration
npm run test:unit
npm run test:integration

Every push and pull request to main runs the full test suite and a package sanity check (CI workflow).

Releasing

Releases are fully automated (Release workflow):

  1. Bump the version: npm version patch (or minor / major).
  2. Push to main (directly or via PR).
  3. The workflow runs the tests, publishes claude-window-keeper to npm with provenance, creates the vX.Y.Z tag and the GitHub release.

Pushes that do not change the version are skipped automatically. Publishing uses npm trusted publishing (OIDC): no npm token is stored in the repository.

Documentation

  • ARCHITECTURE.md — engine-first architecture overview
  • AGENTS.md — guidelines for AI coding agents
  • docs/ — full specification (product, CLI, engine, adapters, roadmap)

Disclaimer

CWK is an independent community project, not affiliated with, endorsed by, or sponsored by Anthropic in any way. "Claude", "Claude AI" and "Claude Code" are trademarks of Anthropic, PBC, used here only to describe compatibility. CWK does not bypass, extend, or alter any Anthropic usage limit: it only automates a minimal action any user can perform manually.

License

MIT