About session-search
A guide for finding past Feynman sessions by searching their JSONL transcripts in the session directory. It also explains how to reopen a matching session with the `feynman` command.
Key features
- 01Search JSONL session transcripts
- 02Find sessions mentioning a topic
- 03Sort matching sessions by recency
- 04Resume a session with `feynman`
Use cases
- 01Locate a past session by topic
- 02Reopen a previously found session
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ companion-inc/ feynman --skill session-searchAfter installing, type/session-searchin Claude Code to confirm it loaded.
Details
From the project READMESession Search
Feynman stores session transcripts as JSONL files under ~/.feynman/sessions/ (or $FEYNMAN_HOME/.feynman/sessions/). Each line is a JSON record with a type (session, message, model_change) and, for messages, message.content.
grep -ril "scaling laws" ~/.feynman/sessions/ # sessions that mention a topic
grep -il "scaling laws" -r ~/.feynman/sessions/ | xargs ls -t # newest first
To continue a session you found, run feynman --session <path> or pick it with feynman --resume.
Comments
Markdown supported