Improve "For security, Claude Code may only change directories to child directories of the original working directory" message

Resolved 💬 4 comments Opened Aug 6, 2025 by vemv Closed Jan 5, 2026

Quick and hopefully self-explanatory one:

when showing the error message

For security, Claude Code may only change directories to child directories of the original working directory (...) for this session.

Claude doesn't tell you how to fix the problem.

It would be helpful to indicate that you can use the /add-dir command, and/or link to https://docs.anthropic.com/en/docs/claude-code/iam#working-directories

Else we are left scratching our heads.

Cheers - V

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗