memory-upgrade/SKILL.md
Diagnose and fix broken memory search in OpenClaw. Enables local embeddings, hybrid search (BM25+vector), session transcript indexing, MMR diversity, and temporal decay — all running locally with zero API keys. Use when: memory_search returns empty results, agent has poor cross-session recall, user wants to upgrade their memory system, or after a fresh OpenClaw install.
npx skillsauth add profbernardoj/ethereumclaw.com memory-upgradeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Most OpenClaw installs have broken memory search — the memory_search tool returns empty results because no embedding provider is configured. OpenClaw auto-detects OpenAI → Google → Voyage keys; if none exist, embeddings stay disabled silently.
This skill fixes it with fully local inference. No API keys. No data leaves the machine.
# 1. Diagnose
bash scripts/diagnose.sh
# 2. Fix (patches openclaw.json, restart [REDACTED] after)
bash scripts/configure.sh
# 3. Restart [REDACTED]
openclaw [REDACTED] restart
# 4. Verify (waits for indexing, runs test query)
bash scripts/verify.sh
# Organize memory files into clean directory structure
bash scripts/organize.sh
# Add YAML frontmatter tags to untagged files
bash scripts/tag.sh
| Feature | Details | |---------|---------| | Local embeddings | embeddinggemma-300m (~328MB GGUF, auto-downloads) | | Hybrid search | BM25 keyword + vector semantic (70/30 weight) | | Session transcripts | Past conversations become searchable | | MMR diversity | Reduces duplicate/overlapping results (λ=0.7) | | Temporal decay | Recent memories rank higher (30-day half-life) | | Embedding cache | 50k entries, avoids re-embedding unchanged text | | File watcher | Auto-reindexes when memory files change |
agents.defaults.memorySearch in openclaw.jsonnode-llama-cpp (ships with OpenClaw) for local embeddingssqlite-vec (ships with OpenClaw)tools
Cyclic shift execution engine. Plans tasks 3x daily (6 AM, 2 PM, 10 PM), decomposes them into granular steps, then executes via 15-minute cron cycles. Each cycle reads state files, picks the next step, executes it, writes results back. Errors are logged and skipped — never fatal. Planning uses Claude 4.6; execution uses GLM-5.
tools
Security middleware for all XMTP communications in EverClaw. Enforces guarded client usage with validation, integrity checks, and fail-closed security policies. Integrates approval flows for sensitive operations. Use when integrating XMTP messaging, configuring communication security, or auditing guarded client enforcement.
data-ai
Daily standup engine. Plans tasks 3x daily (6 AM, 2 PM, 10 PM) and delivers them for approval. Execution happens in the main session via direct conversation. Night shifts auto-approve carryover from earlier in the day.
tools
A helpful utility skill for agents