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

auto-sop

v0.1.9

Published

Make Claude Code self-improving — auto-detect recurring mistakes and write enforced CLAUDE.md directives

Readme


What It Does

auto-sop captures every Claude Code interaction, detects recurring mistakes (3+ evidence threshold), and writes enforced directives to your project's CLAUDE.md — automatically. Zero manual upkeep. Claude Code reads these directives on every session, so the same mistake never happens again.

Install

npx auto-sop install

One command. Hooks, scheduler, and managed CLAUDE.md section are configured automatically.

Or via Homebrew:

brew install auto-sop/tap/auto-sop

Quick Start

npx auto-sop install          # set up hooks + hourly learner
# ... use Claude Code normally — captures happen silently ...
auto-sop learn-now            # trigger learning now (or wait for the hourly scheduler)
cat CLAUDE.md                 # directives appear in the managed section

How It Works

  Claude Code hooks (PreToolUse / PostToolUse / Stop)
          |
          v
  +---------------+
  |   Hook Shim   |  <50ms overhead, double-fork
  |  (capture)    |
  +-------+-------+
          |  stdin JSON -> scrub secrets -> write atomically
          v
  +---------------+
  | Capture Store |  per-project, timestamped, lockfile-protected
  +-------+-------+
          |
          v
  +---------------+
  |    Learner    |  hourly (launchd/systemd) or on-demand
  |               |  rule-based detectors (N>=3 evidence)
  |               |  + LLM analysis (claude -p, $0 via Max)
  +-------+-------+
          |  validated directives
          v
  +---------------+
  |  CLAUDE.md    |  managed section: hash-checked, git-aware,
  |  Editor       |  revertible, TTL pruning, drift detection
  +---------------+
          |
          v
    Claude Code reads CLAUDE.md on every session
    -> same mistake never happens again

Pricing

Free (forever)

  • 1 project, unlimited directives
  • Anonymous usage stats (no capture content — see Privacy)
  • All CLI commands: install, uninstall, status, learn-now, stats, doctor, and more
  • Uses your Claude Max subscription ($0 cost)

Pro ($12/mo or $99/yr)

  • Unlimited projects
  • Full cloud sync
  • Web dashboard
  • Cross-machine directives
  • Priority support
  • No credit card on trial

Compatibility

| Requirement | Version | | ----------- | ------- | | Claude Code | >= 2.1.107 | | Node.js | >= 20 | | OS | macOS, Linux, Windows |

Privacy

Captures never leave your machine — all analysis runs locally via your own Claude Max subscription. Anonymous aggregate stats (error rates, CLI command counts) are synced; no capture content is included. Pro cloud sync is opt-in and encrypted client-side (AES-256) before upload.

For full details, see our Privacy Documentation.

Documentation

Full documentation is available at auto-sop.com/docs.

Star History

Star History Chart

Contributors

Contributors

License

Elastic License 2.0 (ELv2)