Loading video player...
Codex /goal is the most powerful feature in OpenAI Codex CLI right now and most developers don't know it exists yet. In this video I show you exactly how to use the /goal command to run autonomous multi-hour coding sessions, how to write goals that actually work, and when to use /goal vs. regular prompts. Timestamps: [00:00] - Introduction to the new /goal command [00:22] - What is a goal and when to use it vs. a normal prompt [00:54] - How to update Codex to the latest version via terminal [01:21] - Configuring the config.toml file to enable goals and multi-agent mode [02:00] - Launching Codex and using the /go command with specific constraints [02:44] - Managing active goals (checking token usage, editing, pausing, and clearing) [03:00] - Setting up execution permissions (Autopilot vs. Manual mode) [03:51] - When not to use goals (vague prompts, simple edits, and one-off tasks) [04:50] - Outro and final tips Learn more about goals: https://developers.openai.com/cookbook/examples/codex/using_goals_in_codex Full tutorial: https://proflead.dev/posts/openai-codex-goal-command-guide/ #codex #codextutorial #codexcli