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

@coo-quack/do-not-compact

v1.1.0

Published

Claude Code plugin that reloads CLAUDE.md files into context after conversation compaction

Downloads

160

Readme

Don't Compact CLAUDE.md

Claude Code plugin that reloads CLAUDE.md files into context after conversation compaction.

Problem

When Claude Code compacts the conversation to stay within context limits, the contents of CLAUDE.md files (user instructions, project rules, git conventions, etc.) may be lost or summarized. This can cause Claude to forget important rules like commit message conventions or coding standards.

Solution

This plugin hooks into the SessionStart event with a compact matcher. After compaction, it collects all CLAUDE.md files from the directory hierarchy and injects them back into context as additionalContext.

Files collected (in order):

  1. ~/.claude/CLAUDE.md (user global instructions)
  2. ~/CLAUDE.md and parent directories up to cwd (project hierarchy)

Installation

Plugin install (recommended)

Install in two commands from inside a Claude Code session:

1. Register the marketplace

/plugin marketplace add coo-quack/claude-code-marketplace

2. Install the plugin

/plugin install do-not-compact@coo-quack

Done. The hooks are enabled automatically.

Keeping up to date: Third-party marketplaces have auto-update disabled by default. To receive automatic updates, run /pluginMarketplaces tab → select the marketplace → Enable auto-update. You can also update manually from the same tab. See Discover and install plugins for details.

Install globally via npm and configure hooks manually:

npm install -g @coo-quack/do-not-compact

Update to the latest version:

npm update -g @coo-quack/do-not-compact

Then add to ~/.claude/settings.json:

{
  "hooks": {
    "SessionStart": [
      {
        "matcher": "compact",
        "hooks": [
          {
            "type": "command",
            "command": "\"$(npm root -g)/@coo-quack/do-not-compact/hooks/reload-claude-md.sh\"",
            "timeout": 10
          }
        ]
      }
    ]
  }
}

Clone the repository and configure hooks manually:

git clone https://github.com/coo-quack/do-not-compact.git ~/do-not-compact

Update to the latest version:

cd ~/do-not-compact && git pull

Then add to ~/.claude/settings.json:

{
  "hooks": {
    "SessionStart": [
      {
        "matcher": "compact",
        "hooks": [
          {
            "type": "command",
            "command": "~/do-not-compact/hooks/reload-claude-md.sh",
            "timeout": 10
          }
        ]
      }
    ]
  }
}

Requirements

  • jq must be installed and available in PATH