reindex-memory

Community

Rebuilds memory index from learning observations.

Authorpaulingham
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Rebuilds ~/.claude/db/memory.sqlite — a derived SQLite index with FTS5 — from the canonical learning/{project_hash}/observations.jsonl files and scratchpad findings. The JSONL files remain the source of truth; this DB is a fast, queryable read index used by Stories 3-5 (/harness:recall, MCP memory server, and embedding similarity search).

Core Features & Use Cases

  • Idempotent reindex of the memory index from learning observations and scratchpad findings.
  • Schema-aware rebuilds: when the schema version changes, data tables are recreated while embeddings are preserved when possible.
  • Lightweight, offline operation: implemented using Python standard library only, suitable for fresh installs and reproducible reindexes.

Quick Start

Run the reindex.py script to rebuild memory from the learning observations.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: reindex-memory
Download link: https://github.com/paulingham/.claude/archive/main.zip#reindex-memory

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 545,000+ vetted skills library on demand.