mcpField
S
session-search

session-search

github.com/companion-incProductivity10.0k121 installsUpdated 1d ago
Repository

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

  1. 01Search JSONL session transcripts
  2. 02Find sessions mentioning a topic
  3. 03Sort matching sessions by recency
  4. 04Resume a session with `feynman`

Use cases

  1. 01Locate a past session by topic
  2. 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-search

After installing, type/session-searchin Claude Code to confirm it loaded.

Details

From the project README

Session 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