New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Layered memory search that filters observation IDs before pulling full details or raw tool outputs.

skills.sh installs
9.5K
GitHub stars
118.9K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers a four-step lookup: search, timeline, get_observations, then get_tool_uses as a last resort
  • Includes the MCP tools search, timeline, get_observations, and get_tool_uses for cross-session recall
  • Enforces staged retrieval so full observations and unsummarized tool bodies load only when summaries fall short
  • Designed for recalling prior sessions and tags writes with platformSource set to cursor or grok-bot

Install

$ npx -y skills add thedotmack/claude-mem --skill mem-search -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

mem-search

Layered workflow. Do not dump full observations until IDs are filtered, and do not reach for raw tool bodies until the summaries came up short.

  1. search(query) — index with IDs
  2. timeline(anchor=ID) — nearby context
  3. get_observations(ids=[...]) — full details for those IDs only
  4. get_tool_uses(ids=[...]) — the ORIGINAL tool_input / tool_response for specific tool calls. Last resort: these are unsummarized and can run to thousands of tokens each.

Stamp platformSource as cursor or grok-bot on writes for this host. When reading, do not drop the other host unless asked.

If MCP is missing, run the install skill first (npx claude-mem install --ide <host>).

Details

Repository
github.com/thedotmack/claude-mem
Category
Memory & Context
First seen
Apr 16, 2026

More from thedotmack/claude-mem

All 18

Similar to Mem Search

More Memory & Context