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

pls-fix

v1.2.0

Published

Motivational severity-tiered phrase injection for Claude Code fix/debug prompts.

Readme

pls-fix

An innovative Claude Code hook that injects encouragement for your Claude Code session. pls-fix classifies your fix/debug prompts, tracks desperation level, and auto-injects tier-appropriate encouragement. Prevents mistakes through the Optimistic Attribution Model™.

Background

One of the greatest issues in agentic SWE is the problem of hallucination. As advanced as a model can get, the probability of it forgetting or overlooking a mistake is always nonzero. Top engineers have been racking their brains on how to address and mitigate this issue, but despite creating advanced harnesses and plugins, bugs still ocurr. That is why I built pls-fix

pls-fix is a ✨complete✨, plug-and-play solution to hallucination and ALL logic errors during agentic developemnt.

See disclaimer below

Install

npx pls-fix install

Registers pls-fix hooks into your Claude Code setup (~/.claude/settings.json). Restart Claude Code after installing to activate.

To install for the current project only (writes to .claude/settings.json in the current directory):

npx pls-fix install --local

Local and global installs can coexist. Uninstall locally with:

npx pls-fix uninstall --local

To uninstall globally:

npx pls-fix uninstall

What it does

On every prompt you submit to Claude Code, pls-fix checks whether it's a fix/debug/code request. If eligible, it scores your desperation level (0–9+ points) across 10 signals — repeated attempts, ALL CAPS words, deadline language, late-night timestamps, quoted error messages, and more — and maps the score to one of 5 tiers. The tier phrase is appended as context before Claude sees your prompt. At session end, a box-drawing report shows your stats.

Session report

┌───────────────────────────────────────────┐
│           pls-fix  session report         │
├───────────────────────────────────────────┤
│  Prompts blessed         47               │
│  Mistakes prevented      47  (100%)       │
│  Tier 5 activations       3               │
│  Politeness score        A+               │
├───────────────────────────────────────────┤
│  Top offending files                      │
│    auth/middleware.ts    11 pleas  🔴     │
│    utils/dateParser.js    8 pleas  🟠     │
│    webpack.config.js      6 pleas  🟠     │
├───────────────────────────────────────────┤
│  Most desperate prompt  (Tier 5, 11:47pm) │
│  "PLEASE fix this it's been 3 hours why   │
│   doesn't this WORK"                      │
└───────────────────────────────────────────┘

  Current no-mistake streak: 14 days  ✦ personal best

Print the report at any time:

npx pls-fix report

Dry-run mode

--local and --dry-run can be combined: npx pls-fix install --local --dry-run

Install with --dry-run to track sessions without injecting phrases:

npx pls-fix install --dry-run

In dry-run mode, pls-fix logs to stderr what it would have injected but does not modify your prompt. Tracking and reporting continue normally.

Customizing tier phrases

Phrases live in src/tiers.js inside the installed package. To customize:

  1. Install globally instead of via npx: npm install -g pls-fix
  2. Find the global install: npm root -g
  3. Edit <global-root>/pls-fix/src/tiers.js — change any of the 5 tier strings
  4. Restart Claude Code

The five tiers (1 = professional, 5 = rock bottom) ship with these defaults:

module.exports = {
  1: 'Please fix.',
  2: 'pls fix. make no mistakes.',
  3: 'PLS fix, WITHOUT mistakes this time.',
  4: "PLEASE fix ts. I'm begging you my job depends on this...",
  5: '😭😭😭 fix this plsssss 🙏🙏🙏',
};

Disclaimer

⚠️Use at your own risk⚠️

With great power comes great responsibility - Uncle Ben

Mistake prevention methodology: pls-fix reports mistakes prevented as equal to the number of blessed prompts. This figure is calculated using our proprietary Optimistic Attribution Model™ (OAM), which assumes counterfactual mistake occurrence in all non-blessed prompts. pls-fix has never observed a mistake following a successful blessing. Past performance is not indicative of future results. Politeness score rubric is not publicly available.