Skip to content

Set task boundaries for a coding agent in Codex CLI

A dated Codex CLI prompt snapshot illustrates how a coding agent receives workspace expectations, command guidance and a definition of done.

Tool
Codex CLI
Provider or project
OpenAI
Source type
Third-party archive

Who should use it

Engineers writing repository instructions for an agent that can read and edit code.

Practical uses

  • Define a small repair with a local verification command.
  • Review which decisions need project instructions and which belong in the task itself.

How to use it

  1. Name the entry point and observable failure.
  2. List the acceptance checks and call out the areas the task should leave alone.
  3. Review the resulting diff and verify the check ran on the changed code.

Original example

Fix the empty state of the account settings page. Retain its URL and API contract. Run the settings unit tests and summarize the interaction you verified.

Limitations

The cited snapshot is dated. Current behavior depends on the installed Codex version and local project instructions.

Sources and versions

The explanation and example were written for this directory. The cited files record the source version.

Related prompts

Related skills

Browse more prompts

Search directory

Try a search