⌨️/cd Command
Also known as /cd, Change working directory
It moves the session to a new folder. The chat stays.
Think of it like
It is like you take your notes to a new room. Then you work there.
Example
Lucy planned a change with Claude in the web app folder. The real work is in the API, so she runs /cd ../api and goes on with the same chat.
Why it matters
You do not have to start over and explain the task again just because the work moved.
Definition
Example code
console
/cd ../apiCommon mistake
Key takeaways
- 1Moves the session. To a new folder.
- 2Keeps the chat. Nothing is lost.
- 3Not /add-dir. One folder, not two.