4 ms·
Doesn’t Claude Code allow to just dump entire conversations, with everything that happened in them?
by stellalo 10mo ago
Doesn’t Claude Code allow to just dump entire conversations, with everything that happened in them?
- joemazerino 10mo agoAll sessions are located in the `~/.claude/projects/foldername` subdirectory.
- ukuina 10mo agoDoesn't it lose prompts prior to the latest compaction?
- onedognight 10mo agoIt’s loses them in the current context (say 200k tokens), not in its SQLite history db (limited by your local storage).
- neomantra 10mo 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 10mo 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 10mo agoIt doesn't lose the prompt but slowly drains out of context. Use the PreCompact hook to write a summary.