Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
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.
User asks: 'Find my notes about the auth middleware rewrite'
- 1Run scripts/index-memory.py to build or update the incremental index
- 2Execute scripts/search-memory.py 'auth middleware rewrite' --top 5
- 3Apply keyword scoring and recency boost to rank results
- 4Return the top matching memory entries
Top 5 ranked memory entries related to the auth middleware rewrite, ordered by relevance and recency