# exec-command > Execute a Codex task non-interactively. Use when the user wants to run a specific task using Codex. - Author: yxhpy - Repository: yxhpy/claude-plus - Version: 20260204151542 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-08 - Source: https://github.com/yxhpy/claude-plus - Web: https://mule.run/skillshub/@@yxhpy/claude-plus~exec-command:20260204151542 --- --- name: exec-command description: Execute a Codex task non-interactively. Use when the user wants to run a specific task using Codex. --- # Codex Execute Run a Codex task non-interactively with the provided prompt. ## Usage The user provides a task description via `$ARGUMENTS`. Execute it using Codex in non-interactive mode. ## Task: $ARGUMENTS ## Execution Strategy 1. **Analyze the task**: Understand what needs to be done 2. **Choose sandbox mode**: - Use `read-only` for analysis and exploration - Use `workspace-write` for tasks that modify files - Use `full-auto` for trusted operations 3. **Execute**: Run the codex command 4. **Report**: Provide clear feedback on results ## Command Template ```bash codex exec [OPTIONS] "$ARGUMENTS" ``` Choose appropriate options based on the task requirements: - `-s read-only` for safe exploration - `-s workspace-write` for file modifications - `--full-auto` for automated workflows - `-C