logoalt Hacker News

jakobloekketoday at 2:56 PM5 repliesview on HN

Have anyone found good techniques to get a session out of Claude Code, so that I can point another tool at it and pick up there? This always seems to happen at the worst possible time, after having spent an hour getting deep into something – half finished edits across files, subagents running, etc.


Replies

jakobloekketoday at 4:09 PM

I created a porting skill, which worked fine for this session. Maybe it's useful for others: https://gist.github.com/jakobloekke/1d036e4b2a35fa5e1b309a23...

Fabricio20today at 3:06 PM

Honest suggestion - ask the agent to figure a compat shim out, the files are jsonl stored at your ~/.claude/sessions you can most likely just reshape it to work on OpenCode or similar, or have a different Claude Code config that points to OpenRouter or other API style endpoint CC supports and then you can swap accounts and it should still work!

show 2 replies
rkuskatoday at 3:41 PM

I’ve built a browser cli for that.

https://github.com/rkuska/carn

embedding-shapetoday at 3:07 PM

Copy-pasting previous plain-text conversation + a snippet of "inspect the current git changes, and resume where you left of" tends to do the trick, at least in Codex, worked with moving from CC, Gemini and a bunch of others.

FranklinMaillottoday at 3:01 PM

Maybe the /export command is what you're looking for.

'Export the current conversation to a file or clipboard'

show 1 reply