Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

mem-search (Claude-Mem Memory Search)

Searches your cmem.ai persistent memory with a cheap-to-expensive, three-pass method to recover context from past sessions.

UtilitiesBeginner91,9448,084AI score 8/10Last updated: Aug 26, 2026

What it does

  • Fires on phrases like "search memory", "what do you remember about X", "what did we do last session".
  • Runs the bundled CLI (cmem-hook.mjs search) against timestamped observations synthesized from past sessions across Claude Code, Cowork, Codex and more.
  • Enforces an Index → Narrow → Answer discipline: broad keyword passes first, then targeted re-search with exact IDs/phrases, then a plain-language synthesis instead of dumping raw output.
  • Includes a status diagnostic path that distinguishes a missing API key from a harmless 404 on the newer endpoint.

Who it's for

  • Existing claude-mem plugin users with a cmem.ai account.
  • People switching between multiple agents who lose thread continuity.
  • Long-running projects where "when and why did we decide that" comes up often.

Examples

  1. "Where did we leave the auth refactor last session?" → broad pass, then a summarized answer with timestamps.
  2. "Do you remember anything about this file?" → index search by filename, narrow by exact error string.
  3. "Search returns nothing" → runs status and explains whether the API key is missing or the endpoint is simply not deployed.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/thedotmack/claude-mem/HEAD/cowork/skills/mem-search/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the cowork/skills/mem-search folder from the GitHub repo thedotmack/claude-mem into my ~/.claude/skills/thedotmack-mem-search/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/thedotmack/claude-mem.git && mkdir -p ~/.claude/skills && cp -r claude-mem/cowork/skills/mem-search ~/.claude/skills/

This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repo: git clone https://github.com/thedotmack/claude-mem.git
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r claude-mem/cowork/skills/mem-search ~/.claude/skills/
  5. This skill calls the claude-mem plugin's scripts/cmem-hook.mjs, so install the plugin itself and add your cmem.ai API key to its configuration.
  6. Restart Claude Code and try: "search memory for what we did on project X last session".
  7. If results are empty, run node <plugin-path>/scripts/cmem-hook.mjs status to verify the API key.
View source on GitHubLicense: Apache-2.0