⌨️/add-dir Command
Also known as /add-dir, --add-dir, Additional working directory
It lets the session work in one more folder.
Think of it like
It is like you open one more room. You keep the first one too.
Example
Jack's app uses a library that lives in a folder next to it. He runs /add-dir ../shared-lib, and Claude fixes the bug in both places in one go.
Why it matters
Real work often spans two folders. This lets one session see both without moving.
Definition
Example code
console
/add-dir ../shared-libCommon mistake
Key takeaways
- 1One more folder. The first one stays.
- 2Read and edit. In both.
- 3Its setup stays out. Most of .claude.