5 ms·
Doesn’t Claude Code allow to just dump entire conversations, with everything that happened in them?
by stellalo 8mo ago
Doesn’t Claude Code allow to just dump entire conversations, with everything that happened in them?
- joemazerino 8mo agoAll sessions are located in the `~/.claude/projects/foldername` subdirectory.
- ukuina 8mo agoDoesn't it lose prompts prior to the latest compaction?
- onedognight 8mo agoIt’s loses them in the current context (say 200k tokens), not in its SQLite history db (limited by your local storage).
- neomantra 8mo agoI did not know it was SQLite, thx for noting. That gives the idea to make an MCP server or Skill or classical script which can slurp those and make a PROMPTS.md or answer other questions via SQL. Will try that this week.
- jitl 8mo agoI’ve sent Claude back to look at the transcript file from before compaction. It was pretty bad at it but did eventually recover the prompt and solution from the jsonl file.
- joemazerino 8mo agoIt doesn't lose the prompt but slowly drains out of context. Use the PreCompact hook to write a summary.