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-health-check

v1.0.0

Published

CLI diagnostic for your Claude Code setup. 20 checks across 6 dimensions.

Readme

cc-health-check

Is your Claude Code setup actually production-ready?

108 hours of autonomous AI operation taught us what breaks first. This tool checks your setup against 20 real failure patterns — in 30 seconds.

npx cc-health-check

No installation required. Nothing leaves your machine.


Why this exists

Claude Code can run autonomously for hours. But most setups aren't built for that. Files get deleted. Costs spike. The AI loops on errors. Push-to-main happens without review.

These aren't hypothetical. They're what actually happens without the right guardrails.

cc-health-check scans your .claude/settings.json and CLAUDE.md for 20 known failure patterns, gives you a score, and tells you exactly what to fix.


Quick start (no install)

Web version — paste in your CLAUDE.md, get your score instantly: 👉 https://yurukusa.github.io/cc-health-check/

CLI — scans your local setup automatically:

npx cc-health-check

What it checks

| Dimension | Checks | What it looks for | |-----------|--------|-------------------| | Safety Guards | 4 | PreToolUse hooks, secret handling, branch protection, error gates | | Code Quality | 4 | Syntax checking, error tracking, DoD checklists, output verification | | Monitoring | 3 | Context window alerts, activity logging, daily summaries | | Recovery | 3 | Backup branches, watchdog, loop detection | | Autonomy | 3 | Task queues, question blocking, persistent state | | Coordination | 3 | Decision logs, multi-agent support, lesson capture |

Sample output

  Claude Code Health Check v1.0
  ═══════════════════════════════════════

  ▸ Safety Guards
    [PASS] PreToolUse hook blocks dangerous commands
    [PASS] API keys stored in dedicated files
    [FAIL] Setup prevents pushing to main/master without review
    [PASS] Error-aware gate blocks external calls when errors exist

  Score: 63/100 — Getting There

  Top fixes:
    → Add a PreToolUse hook that blocks destructive commands.
    → Scan bash output for error patterns in PostToolUse hooks.

Scores

| Score | Grade | |-------|-------| | 80-100 | Production Ready | | 60-79 | Getting There | | 35-59 | Needs Work | | 0-34 | Critical |


Got a low score?

claude-code-hooks covers 18 of the 20 checks — drop-in hooks and templates extracted from 108 hours of real autonomous operation.

# See what you're missing
npx cc-health-check

# Fix it
git clone https://github.com/yurukusa/claude-code-hooks

How it works

  1. Reads ~/.claude/settings.json for hook configurations
  2. Scans CLAUDE.md files (global + project) for patterns
  3. Checks for common files (mission.md, proof-log/, task-queue.yaml)
  4. Scores each check (pass/fail) and calculates dimension scores
  5. Outputs actionable recommendations sorted by impact

Zero dependencies. No data sent anywhere. Runs entirely local.

JSON output

npx cc-health-check --json

Returns structured JSON with score, grade, dimensions, and per-check results. Useful for CI pipelines, dashboards, or programmatic analysis.

README badge

npx cc-health-check --badge

Generates a shields.io badge URL for your README:

Claude Code Health

CI integration

Exit code 0 if score >= 60, 1 otherwise.

# .github/workflows/health-check.yml
name: Claude Code Health Check
on:
  push:
    paths: ['.claude/**', 'CLAUDE.md']
jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: npx cc-health-check@latest

The cc-toolkit

| Tool | What it does | |------|--------------| | cc-health-check | Is your AI setup safe? (you are here) | | claude-code-hooks | Fix your score — 10 hooks + 5 templates | | cc-session-stats | How much are you using AI? | | cc-audit-log | What did your AI do? | | cc-cost-check | Cost per commit calculator | | cc-wrapped | Your AI year in review | | cc-roast | Your CLAUDE.md, brutally honest |

License

MIT