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

@clankie/memory

v0.7.0

Published

Persistent memory with TursoDB native vector search for clankie

Downloads

261

Readme

@clankie/memory

Persistent memory for clankie using TursoDB with native vector search.

Note While some @clankie extensions may work with a bare pi installation, they are crafted to be used with clankie (built on top of pi).

Features

  • Native vector search — Uses TursoDB's F8_BLOB for 75% storage savings and vector_distance_cos() for SQL-native similarity
  • Hybrid search — Combines text matching with semantic vector search
  • Memory tracking — Tracks retrieval count and last access for memory quality signals
  • Categories — Supports chunk, daily, longterm, correction, user_pref
  • Pruning — Clean up old unused memories automatically

Tools

  • memory_search — hybrid search across indexed memory content
  • memory_write — append notes to daily memory or long-term memory

Commands

  • /memory status — show memory stats and categories
  • /memory reindex — force full reindex of all files
  • /memory search <query> — quick search from command line
  • /memory prune <days> — remove unused memories older than N days

Behavior

  • Creates/uses MEMORY.md for long-term notes
  • Creates/uses memory/YYYY-MM-DD.md for daily notes
  • Watches memory files and keeps the index updated
  • Injects recent memory snippets into agent context
  • Tracks which memories are actually useful (retrieval count)

Configuration

By default, uses local CPU embeddings with no API keys required:

{
  "memory-config": {
    "enabled": true,
    "dbPath": "~/.clankie/memory.db",
    "embedding": {
      "provider": "local",  // Default! Runs on CPU, no API keys
      "model": "Xenova/all-MiniLM-L6-v2",
      "dimensions": 384
    },
    "search": {
      "vectorWeight": 0.7,
      "textWeight": 0.3,
      "maxResults": 10
    }
  }
}

Alternative providers

// OpenAI
"embedding": {
  "provider": "openai",
  "model": "text-embedding-3-small",
  "dimensions": 1536
}

// Ollama (local server)
"embedding": {
  "provider": "ollama",
  "model": "nomic-embed-text",
  "dimensions": 768
}

// Text-only (no embeddings)
"embedding": {
  "provider": null
}

Package contents

  • src/ — TypeScript source
  • skills/ — Pi skills
  • package.json
  • README.md