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-hook-registry

v5.6.0

Published

Search, browse, and install Claude Code hooks from the community. GitHub-based registry, no server needed.

Readme

cc-hook-registry

npm version tests

Hook package manager for Claude Code. Search, install, update, and manage 48 hooks from 7 projects.

Browse hooks in your browser — no install needed.

npx cc-hook-registry search database
  Search: "database" — 1 result(s)

  block-database-wipe [safety]
    Blocks migrate:fresh, DROP DATABASE, prisma migrate reset
    Install: npx cc-safe-setup --install-example block-database-wipe

Commands

npx cc-hook-registry search <keyword>   # Find hooks by keyword
npx cc-hook-registry browse [category]  # Browse by category
npx cc-hook-registry install <id>       # Install a hook (direct download)
npx cc-hook-registry recommend          # Recommend hooks for your project
npx cc-hook-registry info <id>          # Show hook details
npx cc-hook-registry stats              # Registry statistics

recommend

Scans your project for package.json, requirements.txt, Dockerfile, .env, Gemfile, artisan and recommends hooks based on your tech stack:

npx cc-hook-registry recommend

  ✓ destructive-guard (installed)
    Essential — prevents rm -rf disasters

  ○ auto-approve-build
    Node.js project detected
    Install: npx cc-hook-registry install auto-approve-build

  ○ block-database-wipe
    Prisma detected — protect against migrate reset

install (direct download)

Hooks are downloaded directly from GitHub — no cc-safe-setup dependency needed:

npx cc-hook-registry install block-database-wipe
# Downloads script, saves to ~/.claude/hooks/, registers in settings.json

Categories

| Category | Hooks | What They Do | |----------|-------|-------------| | safety | 14 | Block destructive commands, protect files, secrets | | quality | 4 | Syntax checks, commit quality, edit validation | | utility | 3 | Cleanup, debugging, session handoff | | monitoring | 2 | Context window, cost tracking | | ux | 2 | Desktop notifications, sound alerts | | framework | 2 | Python + TypeScript/Bun frameworks | | approve | 1 | Auto-approve safe compound commands | | security | 1 | Prompt injection defense |

29 Hooks

The registry includes hooks from:

  • cc-safe-setup (22 hooks) — npx cc-safe-setup
  • claude-code-safety-net (1,185★) — TypeScript safety hooks
  • karanb192/claude-code-hooks (298★) — JavaScript safety
  • johnlindquist/claude-hooks (329★) — TypeScript/Bun
  • claude-code-hooks-mastery (3,386★) — Python framework
  • claude-hooks by lasso-security — Prompt injection defense
  • awesome-claude-code by pascalporedda — Sound notifications

How It Works

The registry is a curated list embedded in the package. No server, no API calls, no network required. Install commands run npx cc-safe-setup --install-example for compatible hooks.

Submit Your Hook

Want to add your hook to the registry? Open a PR on GitHub adding an entry to the REGISTRY array in index.mjs.

Related

License

MIT