codex-sandbox
CommunityIsolate Codex tasks with safe per-task sandboxes.
Authorregenrek
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Codex sandboxing solves the problem of cross-task contamination and Git worktree friction by giving every task its own sandbox directory and isolated branch, ensuring predictable environments and safe isolation for Codex sessions.
Core Features & Use Cases
- Create a dedicated sandbox per task, with a per-task branch and a safe upstream to the real remote.
- Install safety hooks that prevent commits or pushes on main/master to reduce the risk of accidental changes to protected branches.
- Use when running multiple Codex sessions or parallel tasks to avoid cwd/branch mixups and environment collisions.
- Works across repo-scoped and user-scoped setups, with a minimal Python CLI and wrapping Bash helper.
Quick Start
Ask the agent to create a sandbox for a task using the codex_sandbox tool.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: codex-sandbox Download link: https://github.com/regenrek/agent-skills/archive/main.zip#codex-sandbox Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.