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

mem-search (Memory Retrieval Workflow)

A 3-layer protocol for searching claude-mem memory: get IDs, check timeline context, then fetch only the observations you need.

UtilitiesIntermediate93,0278,178AI score 7/10Last updated: Sep 2, 2026

What it does

  • Fires when you ask things like "did we already solve this?", "how did we do X last time?", or request work from earlier sessions.
  • Enforces a 3-layer workflow: ① search(query) for an ID index → ② timeline(anchor=ID) for nearby context → ③ get_observations(ids=[...]) for full details of only the filtered IDs — so full observations are never dumped prematurely.
  • Stamps platformSource as cursor or grok-bot on writes, and keeps the other host's records on reads unless told otherwise.
  • Falls back to npx claude-mem install --ide <host> if the MCP server isn't present.

Who it's for

  • Existing claude-mem users running long, multi-session projects.
  • Teams sharing one memory store across multiple hosts (Cursor, grok-bot).
  • Anyone whose context window blew up from unfiltered memory reads.

Examples

  1. "How did we fix the duplicate payment webhook last time?" → only the relevant observation records are expanded.
  2. "Remind me of the DB migration plan we agreed on last sprint" → timeline pulls the surrounding discussion.
  3. "Have we handled this bug before?" → avoids redoing work and reuses the prior fix.

· · · 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/claude-mem-grok-bot/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 claude-mem-grok-bot/skills/mem-search folder from the GitHub repo thedotmack/claude-mem into my ~/.claude/skills/thedotmack-mem-search-3/.
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/claude-mem-grok-bot/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/claude-mem-grok-bot/skills/mem-search ~/.claude/skills/
  5. Install the claude-mem MCP server: npx claude-mem install --ide cursor (swap in your host).
  6. Restart Claude Code, then ask something like "how did we solve this last time?" to trigger it.
View source on GitHubLicense: Apache-2.0