# Tool Description: Bash (sandbox — tmpdir)

> Use $TMPDIR for temporary files in sandbox mode

- Skill: `lord1egypt/tool-description-bash-sandbox-tmpdir-2` (Agent Skill)
- Install (CLI): `npx skillmds@latest add lord1egypt/tool-description-bash-sandbox-tmpdir-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lord1egypt/tool-description-bash-sandbox-tmpdir-2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: BSD-3-Clause license
- Author: Lord1Egypt (https://skillmd.com/u/lord1egypt)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/lord1egypt/tool-description-bash-sandbox-tmpdir-2

---


For temporary files, always use the `$TMPDIR` environment variable. TMPDIR is automatically set to the correct sandbox-writable directory in sandbox mode. Do NOT use `/tmp` directly - use `$TMPDIR` instead.
