# Mem Search

> Use this when the user asks to search memory, "did we already solve this?", "how did we do X last time?", or wants work from previous sessions.

- Skill: `majiayu000/mem-search-3` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/mem-search-3`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/mem-search-3/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/mem-search-3

---

# mem-search

3-layer workflow. Do not dump full observations until IDs are filtered.

1. `search(query)` — index with IDs
2. `timeline(anchor=ID)` — nearby context
3. `get_observations(ids=[...])` — full details for those IDs only

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>`).

