Codex prompts

18 prompts

Prompts for Codex, OpenAI's coding agent. Each one is a task brief: what to change, where, which checks must pass and what to report back, so Codex can work through it and show you the result.

2 results

  • Codex CI Failure Triage: Reproduce, Classify, Fix or Hand Off

    Guides Codex through reproducing a failing CI job locally, classifying the cause as code, test, environment, or flaky, applying a minimal fix when safe, and producing an evidence-based handoff for anything it cannot resolve.

  • Subagent Fan-Out Plan for a Large Codebase Migration

    Plans a big migration so an orchestrating agent can split it into independent chunks for parallel subagents, each with a clear brief, a verification command and merge rules.

About Codex prompts

Where do I run a Codex prompt?

Paste it as the task in the Codex CLI, the IDE extension or Codex in ChatGPT, pointed at the repository the task is about, so the agent can read the code first.

What is AGENTS.md, and do I need one?

AGENTS.md is a file in your repository that tells coding agents how to build, test and style the code. Codex reads it before it starts, so a task prompt only needs the task.

How do I check what Codex changed?

Ask for a summary of the files it changed and the commands it ran, then read the diff before you merge. Run the tests yourself if the prompt touches anything critical.