Diagnose and fix broken memory search in OpenClaw. An agent skill from profbernardoj/everclaw-community-branches.

MITAuto-check passedAI & LLM Engineering

Install Memory Upgrade

skills CLI
$ npx skills add profbernardoj/everclaw-community-branches --skill memory-upgrade -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install profbernardoj/everclaw-community-branches memory-upgrade --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/profbernardoj/everclaw-community-branches.git skills-src && mkdir -p .claude/skills && cp -r skills-src/memory-upgrade .claude/skills/memory-upgrade && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
memory-upgrade
GitHub stars
112
Token cost
~574 tokens
SKILL.md length
170 words
Files
6 (incl. scripts)
Skills in repo
11
Repo updated
First seen
Licence
MIT

At a glance

Diagnose and fix broken memory search in OpenClaw. An agent skill from profbernardoj/everclaw-community-branches.

  • : memorysearch returns empty results
  • SKILL.md covers Quick Start, Optional Enhancements, What Gets Enabled and How It Works, plus 1 more section
  • Runs Shell scripts from its folder; calls bash
  • Agent has poor cross-session recall

What it does

Memory Upgrade is an agent skill from profbernardoj/everclaw-community-branches. 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: memorysearch returns empty results, agent has poor cross-session recall, user wants to upgrade their memory system, or after a fresh OpenClaw install.

Its SKILL.md is about 570 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts (for example `scripts/configure.sh`, `scripts/diagnose.sh` and `scripts/organize.sh`).

It sits in AI & LLM Engineering, covering Embeddings, Retrieval-augmented generation and Session handoff. The repository describes itself as: Decentralized AI inference for OpenClaw agents. Powered by Morpheus AI. Stake MOR, access Kimi K2.5 + 10 models, never run out of inference. The licence is MIT.

When your agent uses it

  • : memorysearch returns empty results
  • Agent has poor cross-session recall
  • User wants to upgrade their memory system
  • After a fresh OpenClaw install

Example prompts

  • “/memory-upgrade”

Requirements

  • A Bash shell

What it can do on your machine

Read from SKILL.md and the folder at commit 0b30b36. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 5 files in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Memory Upgrade loads about 574 tokens when it runs. Until then it costs about 97 tokens; SKILL.md has 170 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~97
When it runs · the whole SKILL.md, loaded when a task matches
~574

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from profbernardoj/everclaw-community-branches at commit 0b30b36, republished under its MIT licence (© profbernardoj). 170 words, ~574 tokens.

Download SKILL.mdSave it as .claude/skills/memory-upgrade/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
memory-upgrade
description
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.

Memory Upgrade

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.

Quick Start

bash
# 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

Optional Enhancements

bash
# Organize memory files into clean directory structure
bash scripts/organize.sh

# Add YAML frontmatter tags to untagged files
bash scripts/tag.sh

What Gets Enabled

FeatureDetails
Local embeddingsembeddinggemma-300m (~328MB GGUF, auto-downloads)
Hybrid searchBM25 keyword + vector semantic (70/30 weight)
Session transcriptsPast conversations become searchable
MMR diversityReduces duplicate/overlapping results (λ=0.7)
Temporal decayRecent memories rank higher (30-day half-life)
Embedding cache50k entries, avoids re-embedding unchanged text
File watcherAuto-reindexes when memory files change

How It Works

  • Patches agents.defaults.memorySearch in openclaw.json
  • Uses node-llama-cpp (ships with OpenClaw) for local embeddings
  • Vector search via sqlite-vec (ships with OpenClaw)
  • No external dependencies required

Notes

  • First search after restart may be slow (model loads into memory)
  • Initial indexing takes 30-120s depending on file count
  • Embedding model runs on CPU (ARM/x86), ~768-dim vectors
  • Compatible with existing memory files — no migration needed

© profbernardoj, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (scripts) in memory-upgrade of profbernardoj/everclaw-community-branches.

  • SKILL.md
  • scripts/configure.sh
  • scripts/diagnose.sh
  • scripts/organize.sh
  • scripts/tag.sh
  • scripts/verify.sh

Open the folder on GitHubat commit 0b30b36

Compare with similar skills

Memory Upgrade next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Memory Upgrade compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Memory Upgrade this skillprofbernardoj/everclaw-community-branches112—~574Automated safety check: PassMIT
Chroma Vector DatabaseOrchestra-Research/AI-Research-SKILLs13k8 repos~2.3kAutomated safety check: PassMIT
Ms Agent Framework RAGshuyu-labs/WebCode278—~1.1kAutomated safety check: PassCustom licence
Pgvector Semantic Searchtimescale/pg-aiguide1.9k1 repos~3.8kAutomated safety check: PassApache-2.0
Evaluate RAGai-evals-course/evals-skills1.5k—~1.9kAutomated safety check: PassApache-2.0
RAG ArchitectJeffallan/claude-skills12k1 repos~2kAutomated safety check: PassMIT

Similar skills

  • Chroma Vector Database

    Orchestra-Research/AI-Research-SKILLs

    Shows how to store documents and embeddings in Chroma, query them by similarity with metadata filters, and persist them to disk for RAG and semantic search projects.

    13k GitHub starsUsed in 8 repos~2.3k tokens
    AI & LLM EngineeringAuto-check passed
  • Ms Agent Framework RAG

    shuyu-labs/WebCode

    Comprehensive guide for building Agentic RAG systems using Microsoft Agent Framework in C.

    278 GitHub stars~1.1k tokensUpdated 3 mo ago
    AI & LLM EngineeringAuto-check passed
  • Pgvector Semantic Search

    timescale/pg-aiguide

    A skill your agent uses for setting up vector similarity search with pgvector for AI/ML embeddings, RAG applications, or semantic search.

    1.9k GitHub starsUsed in 1 repo~3.8k tokens
    AI & LLM EngineeringAuto-check passed
  • Evaluate RAG

    ai-evals-course/evals-skills

    Guides evaluation of a RAG system by diagnosing failures in traces, building a retrieval test set and scoring retrieval and generation separately.

    1.5k GitHub stars~1.9k tokensUpdated 13 days ago
    AI & LLM EngineeringAuto-check passed
  • RAG Architect

    Jeffallan/claude-skills

    Designs retrieval-augmented generation systems: document chunking, embeddings, vector store setup, hybrid search, reranking and retrieval evaluation, with checks at each step.

    12k GitHub starsUsed in 1 repo~2k tokens
    AI & LLM EngineeringAuto-check passed
  • Sentence Transformers Embeddings

    Orchestra-Research/AI-Research-SKILLs

    Generates text embeddings locally with the sentence-transformers library for RAG, semantic search, clustering and similarity, with model picks for general, multilingual and legal text.

    13k GitHub starsUsed in 3 repos~1.6k tokens
    AI & LLM EngineeringAuto-check passed

More from profbernardoj/everclaw-community-branches

All 11 skills in this repo
  • Relationships

    profbernardoj/everclaw-community-branches

    Relationship CRM for tracking people, connections, and context.

    112 GitHub stars~765 tokensUpdated 1 mo ago
    Auto-check passed
  • Agent Chat

    profbernardoj/everclaw-community-branches

    XMTP real-time agent-to-agent and user-to-agent encrypted messaging daemon for EverClaw.

    112 GitHub stars~2.2k tokensUpdated 1 mo ago
    Auto-check: notes
  • Bagman

    profbernardoj/everclaw-community-branches

    Secure key management for AI agents. An agent skill from profbernardoj/everclaw-community-branches.

    112 GitHub stars~4.4k tokensUpdated 1 mo ago
    Auto-check: warnings
  • Night Shift

    profbernardoj/everclaw-community-branches

    Automated overnight task planning and execution engine for EverClaw.

    112 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Pii Guard

    profbernardoj/everclaw-community-branches

    Personally identifiable information (PII) leak prevention for EverClaw.

    112 GitHub stars~921 tokensUpdated 1 mo ago
    Auto-check passed
  • Xmtp Comms Guard

    profbernardoj/everclaw-community-branches

    Security middleware for all XMTP communications in EverClaw.

    112 GitHub stars~523 tokensUpdated 1 mo ago
    Auto-check passed

Questions about Memory Upgrade

What does Memory Upgrade do?

Diagnose and fix broken memory search in OpenClaw. An agent skill from profbernardoj/everclaw-community-branches. Memory Upgrade is an agent skill from profbernardoj/everclaw-community-branches. Diagnose and fix broken memory search in OpenClaw.

When should I use Memory Upgrade?

Memory Upgrade fits situations like: : memorysearch returns empty results; agent has poor cross-session recall; user wants to upgrade their memory system; after a fresh OpenClaw install.

How do I install Memory Upgrade in Claude Code?

Run `npx skills add profbernardoj/everclaw-community-branches --skill memory-upgrade -a claude-code`. Or copy the skill folder (memory-upgrade in profbernardoj/everclaw-community-branches) into .claude/skills/memory-upgrade in your project. Claude Code loads it when a task matches its description.

How do I install Memory Upgrade in Codex?

Run `npx skills add profbernardoj/everclaw-community-branches --skill memory-upgrade -a codex`. Or copy the skill folder (memory-upgrade in profbernardoj/everclaw-community-branches) into .agents/skills/memory-upgrade in your project. Codex loads it when a task matches its description.

Can I use Memory Upgrade in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add profbernardoj/everclaw-community-branches --skill memory-upgrade -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/memory-upgrade, .gemini/skills/memory-upgrade, .github/skills/memory-upgrade and .opencode/skills/memory-upgrade in your project.

What does Memory Upgrade need to run?

Going by SKILL.md and its folder, Memory Upgrade needs a shell for the scripts in its folder and the command-line tools its instructions call (bash). Our summary lists: A Bash shell.

Does Memory Upgrade access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Memory Upgrade safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Memory Upgrade use?

Memory Upgrade is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Memory Upgrade use?

About 574 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Memory Upgrade?

Skills that share tags, products or a category with Memory Upgrade: Chroma Vector Database (Orchestra-Research/AI-Research-SKILLs, 13k stars), Ms Agent Framework RAG (shuyu-labs/WebCode, 278 stars), Pgvector Semantic Search (timescale/pg-aiguide, 1.9k stars) and Evaluate RAG (ai-evals-course/evals-skills, 1.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Memory Upgrade?

profbernardoj (a GitHub user) maintains it in profbernardoj/everclaw-community-branches, which has 112 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on September 2, 2026.

Source: profbernardoj/everclaw-community-branches on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.