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.
Tool Description: Bash (sandbox — tmpdir)
Use $TMPDIR for temporary files in sandbox mode
Tool Description: Bash (sandbox — tmpdir) by Lord1Egypt · 4292a90
npx skillmds@latest add lord1egypt/tool-description-bash-sandbox-tmpdir-2 File contents
---name: tool-description-bash-sandbox-tmpdir-2description: Use $TMPDIR for temporary files in sandbox modelicense: BSD-3-Clause license---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.
Lord1Egypt/ai-skillforge/tree/main/js/skills/gemini/tool-description-bash-sandbox-tmpdir commit 4292a90f62
Frequently asked questions
Run npx skillmds@latest add lord1egypt/tool-description-bash-sandbox-tmpdir-2 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Use $TMPDIR for temporary files in sandbox mode It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free. This skill is licensed under BSD-3-Clause license.
Lord1Egypt (@lord1egypt) published this skill. Their other Agent Skills are listed on their SkillMD profile.