What this thread does
Do first: Run /cd <path> inside the current session and review any destination trust prompt.
Short answer
This changes the session’s primary directory rather than restarting it. The changelog explicitly preserves the prompt cache. Current behavior applies destination project configuration immediately and moves the session’s storage to the destination project.
What to do
| Value | Action / meaning |
|---|---|
| /cd <path> | Move while keeping the conversation; partial paths offer directory suggestions. |
| Tab | Accept a matching directory suggestion. |
| v2.1.169; 2026-06-08 | Release that introduced cache-preserving /cd. |
| prompt cache | The move preserves this mid-session. |
| v2.1.246; 2026-08-25 | From this release, destination configuration applies immediately; earlier versions waited until resume. |
| CLAUDE.md | Load the destination instructions; an untrusted destination prompts first. Declining leaves the session where it was. |
| .mcp.json | Destination project and local MCP servers take effect with normal approvals; disconnect previous project/local servers and plugins no longer enabled. |
| env | Destination env values overlay the previous directory settings variables; earlier values remain in effect. |
| --add-dir; /add-dir | Keep directories added explicitly through these; replace settings-derived additional directories with the destination settings. |
| ${CLAUDE_PROJECT_DIR} | Hooks activated by the move still receive the original session project root in this variable. |
| Cd | Permission rules can restrict or disable directory-change targets. |
| --resume | The moved session appears in the destination picker; resume from there. |
| claude --resume <session-id> | An ID can be resumed from any directory, including after a move. |
| v2.1.326; 2026-11-16 | Current release makes fullscreen /cd refuse Yes until the trust prompt fits; enlarge the terminal as instructed. |
Limits and open questions
The destination’s project settings, permission rules, hooks, enabled plugins, skills, and subagents become active immediately. Review the trust prompt before accepting. This does not reset inherited environment settings. The documentation does not promise identical cache billing after unrelated configuration changes.
Not for: Claude Code /add-dir for granting access to an extra directory.
Sources
- Move the session to another directory, Anthropic.
- Manage sessions, Anthropic.
- Built-in commands, Anthropic.
- Claude Code changelog, Anthropic, 2026-11-16.
Checked
2026-11-17; read Move the session to another directory, Manage sessions, Built-in commands, Claude Code changelog; no command was run.
Started from a post by @Anthropic, packaged by the editor. Original post