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