LaunchKit · 2026
Back to Skills

search-memory

Local-first memory search and indexing for Openclaw.

0
1.0k downloads
by @trumppo

Setup & Installation

openclaw skills install @trumppo/search-memory

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install search-memory

What This Skill Does

Indexes local memory files and runs keyword search with a recency boost. Covers MEMORY.md and all files under memory/, with an incremental cache to avoid full re-indexing on each run. Designed for Openclaw's local-first memory layout.

Keyword scoring combined with a 30/90-day recency boost surfaces recently updated notes first, avoiding manual scanning of every memory file.

When to use it

  • Finding a past decision stored weeks ago in memory files
  • Locating notes about a specific project before resuming work
  • Searching for previously recorded config details or credentials
  • Retrieving context about a topic mid-conversation via slash command
  • Narrowing down relevant memory entries when the index has grown large

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: 'Find my notes about the auth middleware rewrite'

AGENT
  1. 1Run scripts/index-memory.py to build or update the incremental index
  2. 2Execute scripts/search-memory.py 'auth middleware rewrite' --top 5
  3. 3Apply keyword scoring and recency boost to rank results
  4. 4Return the top matching memory entries
OUTPUT

Top 5 ranked memory entries related to the auth middleware rewrite, ordered by relevance and recency