memory-config

memory-config is a skill for Claude Code, Codex from zilliztech/memsearch. It costs 52 tokens per session (2,634 once invoked), scanned A, original, MIT.

A diagnostic and setup tool for MemSearch memory configuration, covering stored context, indexing, provider routing, and related project or user files.

In plain words
What is it for?
Use it to inspect memory settings and index health, maintain configuration files, and handle provider or compatibility questions.
Why use it?
It helps find configuration problems and clarify how MemSearch stores, searches, and summarizes information.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside the plugin that ships it — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/zilliztech/memsearch/memory-config
Any agent
npx skills add zilliztech/memsearch --skill memory-config
Clone the repo
git clone --depth 1 https://github.com/zilliztech/memsearch

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for memory-config

README.md
[![agentmods](https://agentmods.dev/badge/skills/zilliztech/memsearch/memory-config.svg)](https://agentmods.dev/skills/zilliztech/memsearch/memory-config)
Your own site
<a href="https://agentmods.dev/skills/zilliztech/memsearch/memory-config"><img src="https://agentmods.dev/badge/skills/zilliztech/memsearch/memory-config.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,634 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00052 $0.02634
Opus 5 $0.00026 $0.01317
Sonnet 5 $0.00010 $0.00527
Haiku 4.5 $0.00005 $0.00263

Measured 4d ago against content hash ccdc4e83e3eb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

memory-config scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://pypi.org/pypi/memsearch/json \
plugins/_shared/skills/memory-config/SKILL.md · 219 lines

How it starts

The opening of the file, as written. The whole thing — 219 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.

Which agent am I running as?

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:

  • Claude Code → references/claude-code.md
  • Codex → references/codex.md
  • OpenClaw → references/openclaw.md
  • OpenCode → references/opencode.md
  • DeepSeek Harness → references/dsh.md

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.

Intent Routing

  • Empty request or "check": diagnose current MemSearch setup.
  • "Show/get setting": read the requested resolved/global/project value.
  • "Set/enable/disable/change": choose global vs project scope explicitly; use global config for trusted plugin automation/provider/prompt/endpoint settings and project config only for allowlisted local indexing knobs.
  • "Not capturing/search empty/no memory": troubleshoot files, config, and index health.
  • "Use OpenAI/Gemini/Anthropic/native/model": configure provider routing.
  • "PROJECT.md/USER.md/profile/review": configure advanced maintenance.
  • "skill/distill/extract a skill/memory-to-skill": procedural-memory distillation — enable or tune it here, or use the dedicated memory-to-skill skill to review and install candidates.
  • "Prompt": explain or configure prompt overrides.

Read the full file on GitHub · 219 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 219 lines · 52 tokens per session scan A ccdc4e83e3eb

Subscribe to this mod's changes

memory-config is a skill published in the GitHub repository zilliztech/memsearch (2,559 stars, last pushed 2d ago), licensed MIT. It adds 52 tokens to every session and 2,634 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.