Skip to main content

Pro Tips

Once you have the basics, these tricks will double your productivity with Codex.

TIP · 01

Use a role prompt for sharper answers

Start with "You are an engineer who specializes in Windows and macOS desktop apps." Codex responds with a more focused style.

TIP · 02

Confirm in steps

Ask for a feature list first. Once you approve, let it write code. Checking the plan mid-way prevents drift.

TIP · 03

Show it the real file shape

Paste the first few rows of your Excel (with header) into the chat, or attach a sanitized sample. Much better than describing.

TIP · 04

Learn to roll back

If something breaks, say "Go back to the last working version." Codex keeps history.

TIP · 05

Use both Chinese and English

English prompts often work better. Draft in Chinese, then ask Codex to translate the draft into an English prompt.

TIP · 06

Save your best prompts

Keep successful prompts in a notes app. Reuse and tweak them for similar tasks.

TIP · 07

Ask it to write the user manual

After it works: "Write a short user manual for my teammates, under 500 words, plain language."

TIP · 08

Request robust UX

Add: "If the user provides invalid input, show a friendly message and do not crash." Your app will hold up.

Common misconceptions

It does NOT read your mind

Everything obvious in your head is invisible to Codex. Write every instruction as if to someone who just walked in.

Do NOT be intimidated by code

The code that scrolls by is not for you. You only check whether the app runs and looks right.

Do NOT dump 20 requirements at once

Split across five rounds of four. Quality jumps noticeably.

Do NOT start over on every error

An error is information — the most digestible kind for Codex. Paste it back.