Codex (OpenAI) Tool Guide

Updated July 2026

Codex is OpenAI's coding agent for desktop and CLI workflows. PromptDC Desktop rewrites selected requests in the Codex app and detects Codex CLI prompts in the terminal before you press Enter.

Codex (OpenAI) Icon

Codex (OpenAI) tool guide

Rewrite prompts in place inside Codex (OpenAI).

Works everywhere

PromptDC Desktop works in any app on Mac or Windows. The Chrome extension covers any website.

In-Place Rewrites

Transform rough notes into clear, structured instructions instantly.

See PromptDC in Action

This demo shows the standard PromptDC flow, and it works the same way in Codex (OpenAI).

Why Use PromptDC with Codex (OpenAI)?

What changes when you rewrite prompts with PromptDC inside Codex (OpenAI).

Rewrite in Codex

Select a draft in the Codex app, press Command+Shift+E on Mac or Ctrl+Shift+E on Windows, review the rewrite, and choose Replace.

Codex CLI Detection

PromptDC Desktop detects Codex CLI and tailors the selected terminal prompt before you press Enter. It does not run the CLI or send commands.

Integrated Terminal

Rewrite Codex CLI prompts in the ChatGPT/Codex integrated terminal or another verified terminal without leaving the workflow.

Codex Coding Briefs

Use the Code profile to add files, constraints, acceptance criteria, and required checks to a rough Codex request.

Reusable Repository Rules

Use Always Include to carry repository conventions, protected files, and required commands into each Codex rewrite.

Formats and Languages

Choose Text, JSON, XML, or YAML for the rewritten Codex request, and select its output language.

Before and after prompts for Codex (OpenAI)

See how specific context, constraints, and outcomes turn a rough request into a prompt Codex (OpenAI) can act on.

Implement saved searches

Before PromptDC

Add saved searches.

After PromptDC

Implement saved searches in this Next.js repository. Inspect current URL filters and database conventions first. Add create, rename, apply, and delete for signed-in users. Preserve public search URLs and add no state library. Run focused tests, typecheck, and note migration steps.

Why this is better: A discovery step, feature surface, compatibility constraints, and checks keep Codex focused.

Review a risky patch

Before PromptDC

Check my PR for bugs.

After PromptDC

Review the current git diff for regressions. Prioritize auth, data loss, concurrency, and API compatibility. Trace changed call sites as needed; do not edit files. Report severity, file and line, and a failure scenario. If none, state remaining test gaps.

Why this is better: Review priorities and evidence requirements produce actionable findings instead of generic advice.

Upgrade a dependency

Before PromptDC

Upgrade Zod to the latest version.

After PromptDC

Upgrade Zod to a repository-compatible stable version. Inventory imports, schema patterns, and lockfile ownership. Follow official migration guidance and preserve error responses. Change only what the upgrade requires. Run tests and typecheck; list remaining behavior risks.

Why this is better: Compatibility, scope, preserved behavior, and validation frame the upgrade safely.

Frequently Asked Questions

Learn shortcuts & usage?
Read the shortcuts docs

Need assistance with Codex (OpenAI)?
Contact help & support

Write better with AI

Enhance any text you select on the desktop, on the web, in your editor or terminals.

Download PromptDC