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

ai-coding-coach

v0.1.1

Published

Score your AI coding sessions. Reduce spend by coaching the habits that waste credits.

Readme

ai-coding-coach

Score your AI coding sessions. Reduce spend by coaching the habits that waste credits.

What it does

Reads your Claude Code transcripts and scores your interaction quality across 8 axes using an LLM-as-judge rubric. Tracks improvement over time. Surfaces the single biggest thing you can change to get more value from AI coding tools.

Install

npm install -g ai-coding-coach

Or run without installing:

npx ai-coding-coach score

Usage

# Score your most recent session
ai-coding-coach score

# Score a specific transcript
ai-coding-coach score --path ~/.claude/projects/my-project/abc123.jsonl

# View history
ai-coding-coach history

# Open the dashboard
ai-coding-coach dashboard

# Run eval harness (rubric stability testing)
ai-coding-coach eval --provider bedrock

Claude Code skill

A /coach skill is included for direct integration with Claude Code. To install:

mkdir -p ~/.claude/skills/coach
cp $(npm root -g)/ai-coding-coach/skill/coach.md ~/.claude/skills/coach/SKILL.md

Then use /coach in any Claude Code session to score your last session inline.

Provider setup

The scoring engine needs an LLM. Pick one:

| Provider | Setup | Cost | |----------|-------|------| | Anthropic API | export ANTHROPIC_API_KEY=sk-ant-... | ~$0.05/score | | AWS Bedrock | aws configure | ~$0.03/score | | Claude Code CLI | Install Claude Code (free with Max) | $0 |

Auto-detection tries them in that order. Override with --provider <name>.

Scoring rubric

8 axes, scored 1-10:

  1. Task Decomposition - Do you break work into steps?
  2. Context Discipline - Do you scope context appropriately?
  3. Verification Behaviour - Do you define pass/fail criteria?
  4. Evidence-Seeking - Do you demand proof?
  5. Plan-Before-Code - Do you plan before implementing?
  6. Trust Calibration - Do you critically review AI output?
  7. Session Hygiene - Do you manage context window effectively?
  8. Yegge Level - Where are you on the AI adoption ladder (L1-L8)?

Each score comes with a confidence level, evidence citation, and actionable suggestion.

Example output

Session Score: 7.8/10 (L6 - AI-first)

 Task Decomposition    ████████░░  8/10  high
 Context Discipline    ███████░░░  7/10  high
 Verification          ████████░░  8/10  high
 Evidence-Seeking      ████████░░  8/10  medium
 Plan-Before-Code      ███████░░░  7/10  medium
 Trust Calibration     █████████░  9/10  high
 Session Hygiene       ███████░░░  7/10  high
 Yegge Level           ██████░░░░  L6    high

Top suggestion: Define acceptance criteria before implementation.
When you say "add X", also say "it passes when Y".

Eval harness

Validates rubric stability across transcripts:

# Create eval-manifest.json with paths to 20 transcripts
ai-coding-coach eval --provider bedrock --runs 3

# Save baseline for regression detection
ai-coding-coach eval --provider bedrock --save-baseline

Pass criteria:

  • Score std dev < 1.5 per axis across 3 runs of same transcript
  • No axis consistently scores 1 or 10 (floor/ceiling problem)

License

GNU Affero General Public License v3.0 (AGPLv3) with commercial exemption option.

Open source projects are free to use under AGPLv3. Organizations requiring proprietary use can obtain a commercial license exemption. See LICENSE for details.