Install
openclaw skills install meili-memoryLocal full-text search for OpenClaw memory recall using MeiliSearch. Self-hosted.
openclaw skills install meili-memoryLocal full-text search for memory recall. Self-hosted.
Note: This skill does more than passive search. It also indexes content, distills facts into MEMORY.md, and manages background cron jobs. See Capabilities and Security Model below.
~/.openclaw/workspace/.env — never hardcoded in scripts--dry-run; destructive operations require --forcemktemp with chmod 600 and are cleaned up on exitMEMORY.md, memory/*.md (daily notes)core, working, archive), MEMORY.md (distillation only with --apply)curl to localhost MeiliSearch, python3 for document processingThree-tier indexing system that mimics human memory:
Search queries hit all tiers in order: core → working → archive. Results are ranked by tier priority and importance score.
--apply)Requires ~/.openclaw/workspace/.env:
MEILI_HOST=http://127.0.0.1:7700
MEILI_KEY=your-master-key-here
See .env.example for all options.
bash scripts/search.sh "your query" [limit] [tier]
Examples:
bash scripts/search.sh "your query" # Search all tiers, top 5
bash scripts/search.sh "projects" 3 # Top 3 from all tiers
bash scripts/search.sh "setup" 5 core # Core only (fast)
bash scripts/indexer.sh # Incremental update (safe)
bash scripts/indexer.sh --full --force # Full reindex (destructive, requires --force)
bash scripts/distill.sh --dry-run # Preview what would be added (default)
bash scripts/distill.sh --apply # Actually write to MEMORY.md
Note: Distillation skips any content containing passwords, API keys, tokens, private keys, or credentials.
systemctl status meilisearch
journalctl -u meilisearch -f