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.
UtilitiesIntermediate★ 93,027⑂ 8,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
platformSourceascursororgrok-boton 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
- "How did we fix the duplicate payment webhook last time?" → only the relevant observation records are expanded.
- "Remind me of the DB migration plan we agreed on last sprint" → timeline pulls the surrounding discussion.
- "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)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the 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.
- Open a terminal.
- Clone the repo:
git clone https://github.com/thedotmack/claude-mem.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r claude-mem/claude-mem-grok-bot/skills/mem-search ~/.claude/skills/ - Install the claude-mem MCP server:
npx claude-mem install --ide cursor(swap in your host). - Restart Claude Code, then ask something like "how did we solve this last time?" to trigger it.
View source on GitHub ↗License: Apache-2.0