Search session notes for relevant context. Use when the user wants to review past session notes, find prior decisions, or search for context from previous work.
Search session notes for relevant context. Accepts an optional query argument: any text after /review-notes is used as the search topic.
Usage:
/review-notes — summarize recent sessions/review-notes observations performance — find notes related to observations performance/review-notes what was the cache warming issue — find notes matching a natural language questionDetermine project from ~/.claude/session-notes/ using the current working directory name.
Read index.md to get the full list of sessions with their tags and summaries.
Select sessions to search:
.current_session and exclude any file matching {timestamp}*.md — that's the live session, not archived notes.If a query argument was provided ($ARGUMENTS):
a. First pass: scan index.md tags and summaries for relevance to the query.
b. Read the full content of sessions that look relevant (up to 5).
c. If no relevant sessions found in the 5 most recent, report that and offer:
If no query argument was provided: a. Read the 5 most recent sessions. b. Present a concise digest: for each session, show date, tags, and 2-3 key bullet points (decisions, constraints, open questions).
Format output as:
## Session Notes Review
**Query:** {query or "recent sessions overview"}
**Sessions searched:** {count} of {total}
### Findings
{organized findings — group by theme if query provided, by session if overview}
### Open Questions (still unresolved)
{any open questions from matched sessions that remain relevant}
If results are thin, append:
Searched {N} of {total} sessions. Run
/review-notes {query} --allto search the full archive.
Read if needed.