Search claude-mem's persistent cross-session memory database. Use when user asks "did we already solve this?", "how did we do X last time?", or needs work from previous sessions.
View on GitHubdanmarauda/claude-mem-deployment
claude-mem
January 21, 2026
Select agents to install to:
npx add-skill https://github.com/danmarauda/claude-mem-deployment/blob/main/plugin/skills/mem-search/SKILL.md -a claude-code --skill mem-searchInstallation paths:
.claude/skills/mem-search/# Memory Search Search past work across all sessions. Simple workflow: search → get IDs → fetch details by ID. ## When to Use Use when users ask about PREVIOUS sessions (not current conversation): - "Did we already fix this?" - "How did we solve X last time?" - "What happened last week?" ## The Workflow **ALWAYS follow this exact flow:** 1. **Search** - Get an index of results with IDs 2. **Timeline** (optional) - Get context around top results to understand what was happening 3. **Review** - Look at titles/dates/context, pick relevant IDs 4. **Fetch** - Get full details ONLY for those IDs ### Step 1: Search Everything ```bash curl "http://localhost:37777/api/search?query=authentication&format=index&limit=5" ``` **Required parameters:** - `query` - Search term - `format=index` - ALWAYS start with index (lightweight) - `limit=5` - Start small (3-5 results) **Returns:** ``` 1. [feature] Added JWT authentication Date: 11/17/2025, 3:48:45 PM ID: 11131 2. [bugfix] Fixed auth token expiration Date: 11/16/2025, 2:15:22 PM ID: 10942 ``` ### Step 2: Get Timeline Context (Optional) When you need to understand "what was happening" around a result: ```bash # Get timeline around an observation ID curl "http://localhost:37777/api/timeline?anchor=11131&depth_before=3&depth_after=3" # Or use query to find + get timeline in one step curl "http://localhost:37777/api/timeline?query=authentication&depth_before=3&depth_after=3" ``` **Returns exactly `depth_before + 1 + depth_after` items** - observations, sessions, and prompts interleaved chronologically around the anchor. **When to use:** - User asks "what was happening when..." - Need to understand sequence of events - Want broader context around a specific observation ### Step 3: Pick IDs Review the index results (and timeline if used). Identify which IDs are actually relevant. Discard the rest. ### Step 4: Fetch by ID For each relevant ID, fetch full details: ```bash # Fetch observation curl "http:/