Move a Claude Code conversation to another folder so claude --resume finds it there
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Marc-Etienne Barrut 56aebdaed8 [master] chore(release): 0.1.1
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-10 13:39:22 +07:00
.github/workflows [chore/python-3.11] build: support Python 3.11 2026-11-10 13:39:06 +07:00
resumove [master] chore(release): 0.1.1 2026-11-10 13:39:22 +07:00
tests [master] fix(mover): roll back the new transcript when moving the companion directory fails 2026-09-25 20:02:38 +02:00
.gitignore [master] build: scaffold the claude-mv-session package 2026-09-25 14:37:12 +02:00
.mise.toml [master] refactor: rename the project to resumove 2026-09-25 14:55:30 +02:00
CHANGELOG.md [master] chore(release): 0.1.1 2026-11-10 13:39:22 +07:00
icon.svg [chore/project-icons] chore: add the project icon 2026-11-07 00:29:15 +01:00
LICENSE [master] chore: license the project under MIT 2026-09-25 14:40:20 +02:00
pyproject.toml [chore/python-3.11] build: support Python 3.11 2026-11-10 13:39:06 +07:00
README.md [master] docs: add the changelog for 0.1.0 and document releasing 2026-09-25 18:25:49 +02:00
uv.lock [chore/python-3.11] build: support Python 3.11 2026-11-10 13:39:06 +07:00

resumove

Move a Claude Code conversation to another folder, so claude --resume <id> finds it when run from there.

Claude Code files each conversation under ~/.claude/projects/<folder>/, where <folder> is the working directory with every non-alphanumeric character turned into -. claude --resume only lists conversations of the current folder. This tool moves the transcript (<id>.jsonl) and its companion directory (tool results, subagent logs) to the target folder's project, and rewrites the recorded cwd and the paths into that companion directory.

Usage

resumove <session-id> <target-dir>
cd <target-dir> && claude --resume <session-id>

It refuses to move a conversation that is still open in a running claude (read from ~/.claude/sessions/), to overwrite anything at the destination, or to encode a target path longer than 200 characters. CLAUDE_CONFIG_DIR is honoured.

File paths mentioned inside the conversation itself are left untouched.

Install

uv tool install git+https://github.com/Arzaroth/[email protected]

Or, from a clone:

mise run install-tool    # uv tool install --editable, so edits to the repo apply immediately

Development

mise run install     # uv sync
mise run test        # fails under 100% line and branch coverage
mise run check       # ty + ruff
mise run fmt

Releasing

Bump __version__ in resumove/__init__.py, move the Unreleased entries of CHANGELOG.md under the new version, then push a v<version> tag. The release workflow checks the tag against the built version and publishes the wheel and sdist to a GitHub release, with that version's changelog section as its notes.

License

MIT, see LICENSE.