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/baseclaw.ai 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)development
Security scanner for AgentSkill packages. Scan skills for credential theft, code injection, prompt manipulation, data exfiltration, and evasion techniques before installing them. Use when evaluating skills from ClawHub or any untrusted source.
development
Relationship CRM for tracking people, connections, and context. Categories: family, close_friends, church_friends, colleagues, broader_community, strangers, bad_actors, unknown. Use to add, search, list, or update people in the user's network.
tools
Personally identifiable information (PII) leak prevention for EverClaw. Scans outbound content against configurable PII patterns before git push, email, social media, ClawHub publishing, GitHub interactions, or any external data transmission. Provides git pre-push hooks, CLI scanning tools, and hard-block enforcement with user override capability. Use when checking content for PII before external actions, adding new protected patterns, configuring git pre-push hooks, or auditing data leak prevention.
testing
Automated overnight task planning and execution engine for EverClaw. Generates prioritized action lists at 9:30 PM CST for the 10 PM–6 AM window, requires human approval before execution, enforces safety boundaries on allowed task types, and updates Mission Control dashboard at shift end. Use when planning overnight autonomous work, configuring night shift cron jobs, reviewing morning progress reports, or setting task approval policies.