Session Search
Documentssession-searchSession Search is an Agent Skill for documents published in the companion-inc/feynman repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Recover prior Feynman work from session transcripts. Use the optional /search command only when it is installed and visible; otherwise search local session JSONL files directly.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/companion-inc/feynman/blob/HEAD/skills/session-search/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/session-search, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Session Search
Use the /search command to search prior Feynman sessions interactively only when the optional session-search package is installed and the command is visible. Otherwise, search session JSONL files directly via bash.
Interactive search
/search <query>
Opens the session search UI when the optional package is loaded. Supports resume <sessionPath> to continue a found session.
Direct file search
Session transcripts are stored as JSONL files in ~/.feynman/sessions/. Each line is a JSON record with type (session, message, model_change) and message.content fields.
grep -ril "scaling laws" ~/.feynman/sessions/
For structured search across sessions, use the interactive /search command when it is visible. If it is unavailable, direct file search is the supported fallback.