Skip to main content
ClaudeWave
Slash Command502 repo starsupdated 4mo ago

search

The search command queries Claude's persistent memory system to locate specific stored information using keywords or phrases. Use this command when retrieving previously saved memories about topics like authentication, database schemas, or API errors, with results ranked by relevance and displayed with timestamps and contextual highlighting.

Install in Claude Code
Copy
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/memvid/claude-brain/HEAD/commands/search.md -o ~/.claude/commands/search.md
Then start a new Claude Code session; the slash command loads automatically.

search.md

# Memory Search

Search through Claude's persistent memories for specific content, patterns, or keywords.

**Usage**: `/mind:search <query> [limit]`

Execute the search script with user's query:

```bash
node "${CLAUDE_PLUGIN_ROOT}/dist/scripts/find.js" "$ARGUMENTS" 10
```

## Examples
- `/mind:search authentication` - Find memories related to authentication
- `/mind:search "database schema"` - Search for exact phrase
- `/mind:search API errors` - Find memories about API errors

## Response Format
- Show matching memories with relevance scores
- Include timestamps (convert to human-readable format)
- Highlight matched keywords in context