claude-code-system-prompts/system-prompts/tool-description-bash-sandbox-tmpdir.md
2026-05-28 10:25:27 -06:00

359 B

For temporary files, always use the $TMPDIR environment variable. TMPDIR is set to the same sandbox-writable directory for both sandboxed and unsandboxed commands. Do NOT use /tmp directly - use $TMPDIR instead.