remind_search
Search past Claude Code conversations to find already-solved solutions to recurring problems, returning ranked hits with resume commands.
Instructions
Search past Claude Code sessions for solutions to recurring problems. Returns BM25-ranked hits with a snippet, a solvedHint, a messageUuid, and a ready-to-paste claude --resume <id> command.
When to use: at the start of a task to check for prior work on the same codebase; or when the user mentions an error, tool, or feature they may have already solved. One call is usually enough — only re-call with a different query if the first returned no useful hits.
Query tips: use specific concrete terms — exact error strings (ExpiredTokenException, LoginRefreshRequired), tool/lib names (BuildKit, Cognito, Tailwind), or real file paths (tailwind.config, shared_auth/jwt.py). Avoid generic words that flood the corpus (e.g. AWS, auth, docker on their own). Good: ExpiredTokenException SendSSHPublicKey. Bad: AWS auth issue.
Cost: ~1–2 KB per call at default (5 hits, 1000-char snippets). Use format: "compact" (400 chars) for cheap scans, format: "full" (2000 chars) when you need to read in place. After finding a relevant hit, call remind_message with its messageUuid to read the full content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Free-text search query. | |
| project | No | Optional. Substring match against the session's cwd (e.g. 'my-app'). | |
| limit | No | ||
| sinceDays | No | Optional. Only include sessions updated within the last N days. | |
| format | No | Snippet length: compact=400, detailed=1000, full=2000 chars. | detailed |