Search rad-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.
Search past work across all sessions when users ask "did we already solve this?" or "how did we do X last time?" - uses a three-step workflow: search index, pick relevant IDs, then fetch full details only for those IDs to save tokens.
/plugin marketplace add thedotmack/rad-mem/plugin install claude-mem@thedotmackThis skill inherits all available tools. When active, it can use any tool Claude has access to.
operations/by-concept.mdoperations/by-file.mdoperations/by-type.mdoperations/common-workflows.mdoperations/formatting.mdoperations/help.mdoperations/observations.mdoperations/prompts.mdoperations/recent-context.mdoperations/sessions.mdoperations/timeline-by-query.mdoperations/timeline.mdprinciples/anti-patterns.mdprinciples/progressive-disclosure.mdSearch past work across all sessions. Simple workflow: search → get IDs → fetch details by ID.
Use when users ask about PREVIOUS sessions (not current conversation):
ALWAYS follow this exact flow:
curl "http://localhost:38888/api/search?query=authentication&format=index&limit=5"
Required parameters:
query - Search termformat=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
Review the index results. Identify which IDs are actually relevant. Discard the rest.
For each relevant ID, fetch full details:
# Fetch observation
curl "http://localhost:38888/api/observation/11131"
# Fetch session
curl "http://localhost:38888/api/session/2005"
# Fetch prompt
curl "http://localhost:38888/api/prompt/5421"
ID formats:
Basic:
query - What to search for (required)format - "index" or "full" (always use "index" first)limit - How many results (default 5, max 100)Filters (optional):
type - Filter to "observations", "sessions", or "prompts"project - Filter by project namedateRange[start] - Start date (YYYY-MM-DD)dateRange[end] - End date (YYYY-MM-DD)obs_type - Filter observations by: bugfix, feature, decision, discovery, changeFind recent bug fixes:
curl "http://localhost:38888/api/search?query=bug&type=observations&obs_type=bugfix&format=index&limit=5"
Find what happened last week:
curl "http://localhost:38888/api/search?query=&type=observations&dateRange[start]=2025-11-11&format=index&limit=10"
Search everything:
curl "http://localhost:38888/api/search?query=database+migration&format=index&limit=5"
Token efficiency:
Clarity:
If search fails, tell the user the worker isn't available and suggest:
pm2 list # Check if worker is running
Remember: ALWAYS search with format=index first. ALWAYS fetch by ID for details. The IDs are there for a reason - USE THEM.