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

clancey

v2.0.0

Published

A memory for your AI coding sessions: map a branch or file to the conversations that produced it across Claude Code, Grok Build, OpenCode, and Codex

Readme

Clancey

CI Publish to npm

Clancey is a memory for your AI coding sessions. As you work it quietly records what each session did, the decisions you made, and the things you learned along the way.

Later you just ask your agent things like "which conversation produced this PR, and why did we build it this way?", and it uses Clancey to find the session behind a branch or file, recall the reasoning, and read back what you actually said.

Supported tools

| Tool | MCP | History import | Live tool events | |------|-----|----------------|------------------| | Claude Code | yes | yes | hooks | | Grok Build | yes | yes | hooks | | OpenCode | yes | yes | plugin | | Codex | yes | yes | poller while MCP runs |

Decision and learning recording is driven by Clancey's MCP tool descriptions — call record_decision / record_learning as you work. Live hooks capture file edits and shell commands for search and branch mapping.

Prerequisites

  • Node 18+
  • At least one of the supported coding tools above

Install and set up

npx -y clancey setup

Setup asks which tools to enable Clancey for, then imports your existing history from each so you can ask about it right away. Restart your tools when it finishes. The first run downloads a small embedding model (~30 MB), cached afterward.

Using it

You never call Clancey directly. Your agent does, whenever you ask it about past work. Try:

  • "Which conversation produced the feature/auth branch?"
  • "Why did we move auth to the edge?"
  • "What was I thinking the last time I changed GameRepository.ts?"

As you work, the agent records the decisions it makes and the incidental things it learns about your system — gotchas, constraints, how a subsystem actually behaves — so both are searchable later, and it can revise or drop any of them when one was wrong or duplicated. You can also ask it to go back through your older sessions and fill in the decisions it finds, so even history from before you installed Clancey becomes useful.

Recall is semantic, so it finds things by meaning even when you don't remember the exact words. When something was only ever said in passing — never recorded as a decision — the agent falls back to a plain keyword search over the verbatim conversation, so an offhand remark is still findable by the words you used.

Keep your history

[!IMPORTANT] Claude Code deletes chat transcripts after 30 days by default, so do this early. Clancey snapshots the conversations it imports, so anything it has already seen survives pruning, but raising the window keeps conversations around long enough to be imported in the first place:

{
  "cleanupPeriodDays": 3650
}

Commands

You only ever run setup by hand; your agent runs everything else for you. Setup pins the hooks and MCP server to the version that installed them, so a later release won't change your setup until you re-run it.

npx clancey setup       Set up Clancey and import history (run once)
npx clancey backfill    Re-import existing conversations

Run npx clancey --help for the full list. Everything Clancey stores lives in ~/.clancey/.

Development

bun install
bun run typecheck
bun run test
bun run build

License

MIT