Session memory search
Skill apappascs/claude-code-sessions/skills/session-memory-search
Searches across all Claude Code memory file contents by keyword. Use when the user asks to find something in their memories, search stored knowledge, or locate a specific memory by content rather than name. Also triggered by: "search memories for", "find in memories", "which memory mentions".From its SKILL.md
npx -y skills add apappascs/claude-code-sessions --skill session-memory-searchAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.5 KB, as published. Nobody here has run it
Step 1: Run the search
bun run ${CLAUDE_PLUGIN_ROOT}/lib/memory-scanner.ts search "<query>" --limit 20 --context 1
Replace <query> with the user's search term. Add filters based on request:
--type user|feedback|project|reference— filter by memory type--project FILTER— filter by project name--context N— lines of context around each match (default 1)--limit N— max results (default 20)
Step 2: Present the results
Output is NDJSON (one JSON object per line). Parse each line and group results by project.
For each project with matches:
Project: project-name
| File | Type | Line | Match |
|---|---|---|---|
| filename.md | type | N | matched text (trimmed) |
Show context lines (if available) indented below each match.
If no results: Suggest broadening the search or trying alternative keywords.
Step 3: Offer actions
For each matched memory file, the user might want to:
- Read the full file — use the Read tool on the
pathfield - Edit the memory — use the Edit tool on the
pathfield - Check health — suggest
/session-memory-audit