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

mindkeeper

v0.3.2

Published

Time machine for your AI's brain — auto-snapshot, diff, and rollback for AGENTS.md, SOUL.md, MEMORY.md, and more

Readme

mindkeeper

Time Machine for Your AI's Brain — version control for agent context files like AGENTS.md, SOUL.md, MEMORY.md, and skills/**/*.md.

Every personality tweak, every rule change, every memory — tracked, diffable, and reversible.

Why Use It

Use mindkeeper when you want a lightweight history system for AI context files without forcing your workspace into a normal Git workflow.

  • Automatic snapshots — capture changes in the background
  • Readable history — inspect how your prompts, rules, and memories evolved
  • Fast diffs — compare exact wording between versions
  • Safe rollback — restore earlier file versions with a preview-first flow
  • Named checkpoints — save milestones before risky experiments

Install

npm install -g mindkeeper

Quick Start

# Initialize for a workspace
mindkeeper init --dir ~/.openclaw/workspace

# View history
mindkeeper history SOUL.md --dir ~/.openclaw/workspace

# Compare versions
mindkeeper diff SOUL.md abc1234 def5678 --dir ~/.openclaw/workspace

# Roll back with preview and confirmation
mindkeeper rollback SOUL.md abc1234 --dir ~/.openclaw/workspace

# Save a named checkpoint
mindkeeper snapshot stable-v2 --dir ~/.openclaw/workspace

# Start background watching
mindkeeper watch --dir ~/.openclaw/workspace

All commands accept --dir <path>.

CLI Commands

| Command | Description | |---------|-------------| | init | Initialize mindkeeper for a directory | | status | Show tracking status and pending changes | | history [file] | View change history | | diff <file> <from> [to] | Compare two versions of a file | | rollback <file> <to> | Roll back a file with preview and confirmation | | snapshot [name] | Create a named checkpoint | | watch | Start the file watcher daemon |

Programmatic API

import { Tracker, Watcher } from "mindkeeper";

const tracker = new Tracker({ workDir: "/path/to/workspace" });
await tracker.init();

const commits = await tracker.history({ file: "SOUL.md", limit: 10 });
const diff = await tracker.diff({ file: "SOUL.md", from: "abc1234" });
await tracker.snapshot({ name: "stable-v2" });
await tracker.rollback({ file: "SOUL.md", to: "abc1234" });

How It Works

mindkeeper maintains a shadow Git repository in <workspace>/.mindkeeper/ using isomorphic-git (pure JavaScript, no system Git required).

Your files stay where they are. History is stored separately.

Configuration

  • Workspace: .mindkeeper.json in the workspace root
  • Global: ~/.config/mindkeeper/config.json for machine-local overrides

Commit Messages

The standalone CLI currently uses template-based commit messages.

OpenClaw Plugin mode is currently the only mode that supports LLM-generated commit messages. In standalone CLI mode, setting commitMessage.mode to llm still falls back to template messages.

Looking for the AI-integrated version?

See mindkeeper-openclaw if you want your AI to inspect history, show diffs, create checkpoints, and guide rollback in natural language.

Links

License

MIT