add-dir in AI

From the Claude Code Slash Commands cheat sheet · Project & Files · verified Jul 2026

/add-dir

Add supplementary working directories

bash
/add-dir <directory-path>
💡 Adds additional directories to Claude's workspace
⚡ Useful for monorepos and shared libraries
🔍 Claude can read/write files in added dirs
🎯 Expand scope beyond current working directory
add-dirprojectworkspace

Continue with Claude Code Slash Commands

Save the full cheat sheet or work through every related task.

More AI tasks

Back to the full Claude Code Slash Commands cheat sheet