Planning & Goals in AI

From the OpenAI Codex cheat sheet · Models, Modes & Permissions · verified Jul 2026

Planning & Goals

Plan before editing and track a persistent objective.

text
/plan
/plan Propose a migration plan for this service

/goal Finish the migration and keep tests green
/goal
/goal edit
/goal pause
/goal resume
/goal clear
💡 /plan is best before multi-step implementation
📌 /plan is unavailable while Codex is already working
🎯 /goal keeps a larger objective attached to the chat
⚠️ Goal text must be non-empty and at most 4,000 characters
commandsplangoalworkflow

Continue with OpenAI Codex

Save the full cheat sheet or work through every related task.

More AI tasks

Back to the full OpenAI Codex cheat sheet