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

@yennqdn/ccaudit

v0.2.0

Published

Audit Claude Code setup against a 20-pattern catalog (cost-overhead + best-practice compliance).

Downloads

131

Readme

ccaudit — Claude Code Audit

Audit Claude Code setup against a 20-pattern catalog (9 cost-overhead + 11 best-practice compliance) and recommend prioritized fixes. The cost-overhead tier is grounded in a 90-day, 430-hour, $1,340 instrumentation study showing these waste patterns can consume up to 73% of input tokens before any prompt is read.

Quick start (npx)

Run the audit against the current project — no install:

npx -y @yennqdn/ccaudit

The audit reads ~/.claude/CLAUDE.md, ./CLAUDE.md, ./.claude/CLAUDE.md, and ./CLAUDE.local.md from the directory you invoke it in. Run from a project root for project-scoped findings.

Install as Claude Code plugin

For users inside Claude Code who want the skill auto-loaded:

/plugin marketplace add glassdesk-marketplace <marketplace-source>
/plugin install ccaudit@glassdesk-marketplace

Replace <marketplace-source> with the path or URL where glassdesk-marketplace is hosted (a local clone of this repo, or a remote git URL).

Then invoke directly:

/ccaudit:audit

Or trigger by natural language — the skill auto-activates on phrases like "audit claude code", "optimize claude code", "tối ưu claude code", "kiểm tra claude code", "claude code đang tốn token".

What you get

  1. A diagnostic report covering all 20 patterns with PASS / WARN / FAIL.
  2. The top 3 fixes ranked by token savings.
  3. An offer to walk through each fix interactively.

Targets after applying all fixes

| Metric | Before | After | |--------------------------|--------|-------| | Productive token share | 27% | ~65% | | CLAUDE.md combined size | 4,800 | <1,500 tokens | | UserPromptSubmit hooks | 4 | 1 | | Active skills | 11 | 4 | | Always-on MCPs | 12 | 3 | | SessionStart hooks | 9 | 2 |

System requirements

  • macOS, Linux, or WSL (Windows native not supported — no bash by default).
  • bash 3.2+ (stock macOS works).
  • Standard POSIX tools: awk, grep, sort, tr, cut, wc, mktemp.
  • For npx path only: Node.js 18+.
  • Optional: yq (mikefarah v4+) for faster YAML parsing — brew install yq. Awk fallback used if absent.
  • Optional: git for Tier 2 compliance patterns that read repo state.

Layout

plugins/ccaudit/
├── package.json                   # npm package manifest (npx entry)
├── bin/ccaudit.js                 # node wrapper that spawns audit.sh
├── .claude-plugin/plugin.json     # Claude Code plugin manifest
└── skills/audit/
    ├── SKILL.md
    ├── references/
    │   ├── patterns.md            # Index of all 20 audit patterns
    │   ├── patterns/              # 20 individual pattern files (T1-01..T1-09, T2-01..T2-11)
    │   └── fixes.md               # 30-second fix recipe per pattern
    └── scripts/
        ├── audit.sh               # Diagnostic script
        └── analyze-session.py     # Optional deep per-session log analysis

Re-audit cadence

Run weekly. Overhead creep is the default state.

Maintainers

See PUBLISHING.md for the npm release flow.