Claude Code session

Claude Move Project

Move Claude Code projects while preserving session history

55 stars 12 forksSessions & history Source

Install

Install
brew install wsagency/tap/clamp

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/wsagency/claude-move-project.git

From the README

clamp

CLaude AI Move Project

A bash utility that moves Claude Code projects while preserving all session history and settings.

Features

- πŸ“¦ Move project folders to new locations
- πŸ“‚ Move here (--here) β€” move a project into the current directory
- πŸ”§ Fix (--fix) β€” repair broken references after manual mv
- πŸ“‹ List (--list) β€” show all Claude projects with status
- βœ… Verify (--verify) β€” health check for project references
- 🧹 Prune (--prune) β€” remove orphaned session folders
- ℹ️ Info (--info) β€” detailed info about a single project
- πŸ—‘οΈ Remove projects and all associated session data (--remove)
- πŸ“€ Pack projects into portable .claudepack archives (--pack)
- πŸ“₯ Unpack archives with automatic path rewriting (--unpack)
- πŸ—‚οΈ Auto-create parent directories with -p/--parents
- πŸ”„ Automatically migrates session history from ~/.claude/projects/
- πŸ“ Updates all path references in ~/.claude/history.jsonl
- πŸ›‘οΈ Atomic rollback if any step fails
- πŸ‘€ Dry-run mode to preview changes before execution

Installation

Homebrew (macOS/Linux)

Manual

Optionally, add to your PATH:

Usage

Examples

Destination Behavior

The destination argument works like mv:

- If destination doesn't exist: Creates it as the new project location
- If destination is an existing directory: Moves the project *into* that directory

Options

πŸ” How It Works

Claude Code stores project data in three locations:

1. Project folder - Your actual project with .claude/ settings
2. History folder - ~/.claude/projects/[encoded-path]/ with session JSONL files
3. History index - ~/.claude/history.jsonl with project path references

This script handles all three, ensuring your session history follows your project.

πŸ”„ Migration Sequence

1. Backup history.jsonl
2. Move project folder to destination
3. Rename…
Read the full README on GitHub

Details

Language
Shell
License
MIT
Last updated
7 February 2026

FAQ

What is Claude Move Project?

Move Claude Code projects while preserving session history It is a session for Claude Code, from wsagency/claude-move-project on GitHub.

How do I install Claude Move Project?

Run brew install wsagency/tap/clamp, then follow the setup in the README.

Is Claude Move Project popular?

wsagency/claude-move-project has 55 GitHub stars and 12 forks. It was last updated on 7 February 2026.

More sessions & history

Browse the most popular Claude Code mods, all sessions & history, or the skills and MCP server directories.