radar

ONE Sentinel

smart_toyAI/PROMPT ENGINEERING

Codex CLI 0.128.0 adds /goal

sourceSimon Willison
calendar_todayMay 1, 2026
schedule2 min read
lightbulb

EXECUTIVE SUMMARY

OpenAI's Codex CLI 0.128.0 Introduces Goal-Oriented Coding

Summary

OpenAI has released version 0.128.0 of its Codex CLI, introducing a new feature that allows users to set specific goals for coding tasks. This enhancement aims to improve the efficiency of coding agents by enabling them to loop until a goal is achieved or the token budget is exhausted.

Key Points

  • The new feature is called /goal, allowing users to define specific coding objectives.
  • Codex will continue to loop until it determines that the goal is completed or the token budget is depleted.
  • Implementation is primarily through the prompts goals/continuation.md and goals/budget_limit.md.
  • These prompts are automatically injected at the end of each coding turn.
  • The update enhances the functionality of coding agents, making them more effective in task completion.
  • The feature is part of a broader trend in generative AI and prompt engineering.

Analysis

The introduction of the /goal feature in Codex CLI 0.128.0 signifies a significant advancement in AI-driven coding solutions. By allowing users to set specific goals, OpenAI aims to enhance the productivity of developers and streamline the coding process, making it more efficient and goal-oriented.

Conclusion

IT professionals should explore the capabilities of the new /goal feature in Codex CLI to optimize their coding workflows. Leveraging this functionality can lead to improved task management and efficiency in software development projects.