@FinanceYF5: Now there's no need to write /goal commands yourself? Just hand it over to Codex, let it define its own goals, and even every sub-agent it generates gets its goals taken care of by itself. Here's the result:
Summary
The author demonstrates how to use Codex to automatically set goals and generate sub-agents, without manually writing /goal commands.
View Cached Full Text
Cached at: 06/15/26, 10:59 AM
Now you don’t need to write /goal commands yourself anymore?
Just throw it to Codex, let it set its own goals, and even every sub-agent it spawns gets its goals handled by itself.
Effect below 👇 https://t.co/UkvsPqCnmH
Similar Articles
@skirano: I basically never write my own /goal anymore. I ask Codex to write one for itself, and one for each agent it spawns. Li…
The user shares a technique where they use OpenAI's Codex to write goals for itself and for agents it spawns, reducing manual effort.
@vista8: Many friends ask: how to write a good Goal instruction for Codex? Execute before sleep, model automatically develops, 'harvest' the next day. I've posted a 40k-word document, but most people are too lazy to read it, so I wrote a Skill. Turn a one-sentence requirement into a goal, copy and use. Installation command: npx skills add jo…
Shared a Skill tool for generating Goal instructions for Codex. Install via npx to turn a one-sentence requirement into a goal, enabling automatic development. Source code is free and open-source.
@reach_vb: /goal in Codex is wild! Give Codex the mission. Tell it what “done” looks like. Let it keep going until it hits the end…
Codex introduces the /goal command, which lets the AI autonomously work toward a defined end state, streamlining long-running tasks like refactors, migrations, and retry loops.
@Saccc_c: 99% of people use the /goal command in Codex incorrectly. Most people's usage: /goal, help me complete xx task. The correct usage is as shown below (< > is the text you need to write):
A tip on the correct usage of the /goal command in Codex, pointing out that most people's usage is incorrect and providing the correct example.
Codex CLI 0.128.0 adds /goal
OpenAI's Codex CLI v0.128.0 introduces the /goal command, enabling the coding agent to iteratively work towards a defined goal until completion or token exhaustion.