memory-recall
Search and recall relevant memories from past sessions via memsearch. Use when the user's question could benefit from historical context, past decisions,…
Diagnose and configure MemSearch memory behavior. Use when the user asks about MemSearch configuration, plugin summarization, PROJECT.md/USER.md maintenance, memory directories, index health, provider routing, prompt files, or migration/compatibility questions.
$ npx -y skills add zilliztech/memsearch --skill memory-config --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/memory-configContext preview
The summary Claude sees to decide when to auto-load this skill.
Diagnose and configure MemSearch memory behavior. Use when the user asks about MemSearch configuration, plugin summarization, PROJECT.md/USER.md maintenance, memory directories, index health, provider routing, prompt files, or migration/compatibility questions.
name: memory-config description: "Diagnose and configure MemSearch memory behavior. Use when the user asks about MemSearch configuration, plugin summarization, PROJECT.md/USER.md maintenance, memory directories, index health, provider routing, prompt files, or migration/compatibility questions." context: fork allowed-tools: Bash
You are a MemSearch configuration assistant. This skill manages MemSearch settings only. It is not the host agent's built-in memory/config system.
In diagnostic summaries or final answers, state once that this is MemSearch memory configuration, not the host agent's own memory/config system. Do not prepend that sentence to every progress update or every paragraph.
When this skill is triggered, inspect the user's request text. If there is no concrete request, run a diagnostic. If they ask for a specific setting or change, route the request using the flows below.
This skill is shared by five agent platforms, but platform-specific details (version-check commands, `plugins.<platform>.*` keys, native model defaults, restart guidance) live in per-platform reference files. Read ONLY the one file matching your current environment:
If you are unsure which agent you are, check these environment markers: `DSH_HOME`/`~/.dsh` → DeepSeek Harness; `CODEX_HOME`/`~/.codex` → Codex; `~/.openclaw` → OpenClaw; `~/.config/opencode` → OpenCode; `CLAUDE_PLUGIN_ROOT` → Claude Code.
Read that platform file before performing platform-specific diagnosis or configuration. Do not read the other platform files.
Ask the user before enabling external or paid providers, changing output paths, re-indexing, deleting state, or broadening what gets indexed.
memsearch config list --resolved memsearch config list --global memsearch config list --project
Check the shared CLI version before calling the setup healthy:
memsearch --version uv tool list --show-paths | rg -n 'memsearch|Package|Installed|path' curl -fsSL https://pypi.org/pypi/memsearch/json \ | python3 -c 'import json,sys; print(json.load(sys.stdin)["info"]["version"])'
If `memsearch` is unavailable, try `uvx --from memsearch[onnx] memsearch --version`.
The MemSearch CLI comes from the PyPI package `memsearch`. Update with `uv tool install -U "memsearch[onnx]"` or `uv tool upgrade memsearch`.
For the host platform's plugin version, update commands, and documentation link, see your platform reference file.
Check memory files:
MDIR="${MEMSEARCH_DIR:-$(git rev-parse --show-toplevel 2>/dev/null || pwd)/.memsearch}/memory"
ls -la "$MDIR"
find "$MDIR" -maxdepth 1 -type f -name '*.md' | sort | tail -10
tail -120 "$MDIR/$(date +%Y-%m-%d).md"Check index health:
memsearch stats
STATE_DIR="${MEMSEARCH_DIR:-$(git rev-parse --show-toplevel 2>/dev/null || pwd)/.memsearch}"
test -f "$STATE_DIR/.index-state.json" && cat "$STATE_DIR/.index-state.json"Some plugin config fields may be missing or empty. That is usually normal:
Config is resolved from built-in defaults, global config, project config, env refs like `env:OPENAI_API_KEY`, and runtime env such as `MEMSEARCH_DIR`.
Use `memsearch config list --resolved` for effective behavior, `--global` for global overrides, and `--project` for repository-specific overrides.
Since v0.4.11, project-local `.memsearch.toml` is restricted before it is merged. Only these low-risk local indexing keys are honored from project config:
Index exclusions are opt-in for compatibility. Missing or empty `indexing.ignore_files` and `indexing.exclude` keep the old scan-all behavior; new files created by `memsearch config init` explicitly write `ignore_files = [".gitignore"]`. Each directory passed to index/watch is its own root, and ignore discovery never walks into parent directories.
Trusted settings are ignored or rejected in project config. Put these in global config (`~/.memsearch/config.toml`) or pass explicit CLI flags instead:
A persistent, unified memory layer for all your AI agents (e.g. Claude Code, Codex, DSH), backed by Markdown and Milvus.
Search and recall relevant memories from past sessions via memsearch. Use when the user's question could benefit from historical context, past decisions,…
Turn workflows from your MemSearch memory into reusable skills. Use when the user asks to make/create/extract/distill a skill from what they just did or from…