Help us improve
Share bugs, ideas, or general feedback.
From context-mem
Searches context-mem observations using BM25 full-text search, returning type-badged snippets of matching entries.
How this command is triggered — by the user, by Claude, or both
Slash command
/context-mem:search <query>This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
Search stored observations using context-mem's 4-layer search (BM25 + Trigram + Levenshtein + Vector). Query the database directly using BM25 full-text search: Replace `ARGUMENTS` with the user's search query. Present results clearly with type badges and snippets. If results are found, offer to show full content or `/context-mem:status` for more details.
Share bugs, ideas, or general feedback.
Search stored observations using context-mem's 4-layer search (BM25 + Trigram + Levenshtein + Vector).
Query the database directly using BM25 full-text search:
node -e "
const Database = require('better-sqlite3');
const db = new Database('.context-mem/store.db', { readonly: true });
const query = process.argv[1];
const sanitized = query.replace(/[^\w\s-]/g, '').split(/\s+/).filter(t => t).map(t => '\"' + t + '\"').join(' OR ');
const rows = db.prepare('SELECT o.id, o.type, substr(COALESCE(o.summary, o.content), 1, 200) as snippet, o.indexed_at FROM obs_fts f JOIN observations o ON o.rowid = f.rowid WHERE obs_fts MATCH ? ORDER BY bm25(obs_fts) LIMIT 10').all(sanitized);
rows.forEach((r, i) => console.log((i+1) + '. [' + r.type + '] ' + r.snippet.replace(/\n/g, ' ')));
if (!rows.length) console.log('No results found for: ' + query);
db.close();
" "ARGUMENTS"
Replace ARGUMENTS with the user's search query.
Present results clearly with type badges and snippets. If results are found, offer to show full content or /context-mem:status for more details.
npx claudepluginhub jubakitiashvili/context-mem/searchSearches CORE memory for past conversations, user preferences, project context, and decisions using a provided query. Displays relevant episodes, facts, and timestamps.
/contextSearches project and global memories by keyword with smart expansion to related terms (e.g., auth→JWT/OAuth, db→Prisma/PostgreSQL), displaying matching key-value entries.
/recallSearches persistent memories for relevant decisions, learnings, patterns, and context using semantic, hybrid, or text search with namespace, mode, format, and limit options.
/recallSearches the KongCode memory graph for past knowledge matching a query and displays results with source types, dates, and relevance scores.
/recallSearches encrypted organizational memory for past decisions and context, returning relevant excerpts with source attribution and confidence level.
/recallSearches Obsidian vault for past documents, decisions, and troubleshooting matching query. Returns file paths, excerpts, dates, categories, and types in formatted list.