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

@r_masseater/kogane

v0.1.2

Published

Claude Code plugin that suggests existing workspaces of the current pnpm monorepo for each prompt, ranked with EmbeddingGemma 2 on the user's machine.

Readme

@r_masseater/kogane

A Claude Code plugin that tells the agent which workspaces of the current pnpm monorepo may already do what a prompt asks for. It exists because agents keep rebuilding tools that are already in the repository, or say a tool does not exist after searching only npm.

On every prompt, the UserPromptSubmit hook compares the prompt with the description of each workspace and adds the close matches to the context:

kogane: these existing workspaces may already do what this prompt needs. Read their AGENTS.md or README before building something new or saying it does not exist.
- @masseater.dev/effect2rs (<repository>/libs/effect2rs): Generates serde Rust types from Effect Schema by walking SchemaRepresentation.

Nothing leaves the machine. The prompt and the descriptions are embedded with EmbeddingGemma 2 (q4, pinned revision) on the CPU.

Install

The plugin is listed in the marketplace of masseater/masseater.dev:

claude plugin marketplace add masseater/masseater.dev
claude plugin install kogane@masseater-dev

Agent skills

The package ships agent skills in skills/. Add permissions: { "@r_masseater/kogane": { skills: true } } to pnpm-workspace.yaml and vp install links them into the skill directories of your agents.

| Skill | When to use | | -------------------- | ------------------------------------------------------------------------------------------ | | suggest-workspaces | Acting on a kogane: suggestion, installing the plugin, or writing workspace descriptions |

How it behaves

  • Workspaces come from pnpm-workspace.yaml of the monorepo that contains the session's working directory. When the working directory is not inside one, every direct subdirectory that is a pnpm monorepo is used, which covers sessions that hold several repositories.
  • Only workspaces with a non-empty description in package.json are considered.
  • At most three workspaces are suggested, and only those scoring at least 0.69 and within 0.06 of the best match. Most prompts get no suggestion.
  • The first prompt starts a background server (kogane serve) and gets no suggestion. The server keeps the model loaded, which takes about 1 GB of memory, and exits after 30 minutes without prompts. The first download of the model is about 200 MB.
  • The hook gives up after 3 seconds, so a slow answer never blocks the prompt.
  • Data and the model cache go to $CLAUDE_PLUGIN_DATA, or ~/.cache/kogane outside the plugin.

Commands

| Command | What it does | | ---------------------------------- | ---------------------------------------------------------------------- | | kogane hook | Runs as the UserPromptSubmit hook (reads the hook input from stdin). | | kogane serve --data <dir> | Runs the background server. The hook starts it. | | kogane index [--directory <dir>] | Prints every workspace with its description as Markdown. |

License

MIT