For a first use of Codex, choose a repeatable practice folder; state the reading scope and output filenames; check what it found before allowing writes; then accept the result against the original material, source IDs, and a preserved earlier version. This fictional support-case practice pack includes fixed inputs, expected answers, and retained v1/v2 outputs for field-by-field comparison.
Codex is useful for work with a clear boundary that a person can verify: reading a small set of files, turning it into a handoff table, identifying gaps, or changing code in a specified project. This tutorial separates the work into five steps—read, plan, write, verify, and revise. The linked guides cover permissions, backups, and deciding whether work is ready to hand off.
Choose an interface first: App for visible actions, CLI for folders and commands
Use Codex in the ChatGPT desktop app if you want to choose folders and inspect plans and changes graphically. Use the Codex CLI if you already work in PowerShell or another terminal. In either case, open a practice folder—not your Desktop, Downloads folder, or the parent of a company shared drive.
| Interface | Good first task | Confirm before you start |
|---|---|---|
| ChatGPT desktop app | Choosing a folder, viewing a plan, and inspecting changes in a graphical interface | The current workspace, selected folder, and every request to write files or run a command |
| Codex CLI | Working from an existing project folder in a terminal | The current PowerShell path before starting codex |
| IDE integration | Development in a supported editor | The correct workspace is open, not an entire drive |
Product entry points and installation options can vary by account, product version, and operating system. Check the OpenAI Codex documentation and Codex CLI documentation before you start. On a company device, follow organizational policy; do not disable security controls to install it.

Diagram: Gwarket / Aaron Huang · CC BY 4.0. The original diagram contains Chinese labels; it is a teaching diagram, not an app screenshot.
Install and sign in: configure only the path this practice needs
App path: after installation, open only the practice folder
Install the desktop app from the ChatGPT download page, sign in, then choose Codex. When you create or open the practice folder, check the full path shown in the app. If it is a parent folder, go back and choose again. A first exercise does not need cloud services, company data, or browser accounts.
CLI path: enter the folder, then start Codex
On Windows PowerShell, you can use the official native installer; the following command appears in the Codex CLI 0.167.0 README:
powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"
On macOS or Linux, the installer in the same README is:
curl -fsSL https://chatgpt.com/codex/install.sh | sh
If you already use Node.js, npm is another installation option. Choose one installation method:
npm install -g @openai/codex
Open a new terminal and check that the command is available:
codex --version
Then create and enter an isolated practice folder. If you already have one with this name, use a new name so the earlier output remains available. These commands only create folders; they do not download or extract files, or run Codex:
New-Item -ItemType Directory -Path "$HOME\Documents\codex-practice" -Force
New-Item -ItemType Directory -Path "$HOME\Documents\codex-practice\inputs" -Force
New-Item -ItemType Directory -Path "$HOME\Documents\codex-practice\outputs" -Force
Set-Location "$HOME\Documents\codex-practice"
Get-Location
Only after the last line shows ...\Documents\codex-practice, enter:
codex
Use the on-screen flow to sign in with your ChatGPT account. An API key and a ChatGPT plan are separate access and billing paths; this exercise does not need an API key. Codex access and usage in ChatGPT plans can change, so check ChatGPT pricing and your current account information. Do not treat this article or an old screenshot as a quota promise.
Get the practice files: put only inputs in the working scope
Download the existing Chinese practice materials and retained outputs, or use the existing English materials pack. The Chinese pack is fictional support-case material and contains no real customer data. Its METHOD.md describes the fixed case and its production and verification boundary. The retained run is dated October 22, 2026; November 8 is this article’s documentation-check date. The English ZIP translates the Chinese teaching materials and retained outputs; it was not independently run in English.
After extracting the ZIP, you will find four kinds of material:
| Location | Purpose | Put it in codex-practice this round? |
|---|---|---|
inputs/feedback.txt, inputs/rules.txt |
The only original exercise material provided to Codex | Yes; copy them to codex-practice/inputs/ |
reference/ |
Prepared acceptance answers | No; compare only after doing the exercise yourself |
results/v1, results/v2 |
Retained actual outputs from this fixed-material case | No; leave them in the extracted pack for comparison |
result-images/ |
Data graphics laid out from the results | No; they are not app screenshots |
Extract the ZIP outside codex-practice, for example in Documents\codex-practice-materials. Copy only the two inputs; keep the originals at the extraction location. Your working folder should then contain only:
codex-practice/
inputs/
feedback.txt
rules.txt
outputs/
If reference or results are included in the working scope, Codex can see the answers first. You would no longer be able to tell whether it organized the source material itself.
Round one is read-only: check the cases and rules without creating files
Open codex-practice in the app, or paste this into a CLI conversation already at that path. Do not ask it to produce a table yet.
Read only the files in the inputs folder. Do not add, modify, move, or delete any files.
List the filenames you read and explain the purpose of each. Then answer:
1. How many source records are in feedback.txt?
2. How many distinct case IDs are there?
3. Which cases have missing fields?
4. Which case has conflicting statuses? List the source IDs.
Do not fill in missing information or decide which conflicting record is newer or more correct.
For this material, expect 8 source records and 6 cases (C101–C106). C102 has no deadline; C104 has no owner, deadline, or status; and C103 has a status conflict between R04 and R05. If it reports 8 cases, ask how it merged source records into cases before continuing.
Round two: inspect the plan before it writes
Only after round one has read the inputs correctly, use this prompt:
Using inputs/rules.txt, plan how to organize a support handoff table. Do not write files yet.
List:
- rules for merging the same case;
- files you plan to create and the fields in each;
- fields that must be marked "Needs confirmation";
- the two C103 statuses and how each source will be retained;
- what you will not do.
Scope limits: do not rank priority, assign owners, estimate deadlines, send replies, or connect to real systems.
The plan must be able to produce 6 cases, retain C103’s R04/R05, and keep missing information as “Needs confirmation.” If it proposes overwriting an earlier record or guessing a status from a date, ask it to correct the plan first.
Round three: write only the stated files and fields
After reviewing the plan, allow writes only to outputs/v1:
Now create only handoff.csv and questions.md in outputs/v1. Do not modify any other files.
handoff.csv must include: case ID, issue type, issue summary, owner, deadline, status, and source IDs.
questions.md must list items that still need human confirmation, their case ID, and sources.
Merge cases according to rules.txt. Use "Needs confirmation" for a missing owner, deadline, or status. When statuses conflict, use "Needs confirmation" for status and retain both R04 and R05 statements in the summary and questions.md. Stop after completion and list the files created and items still unconfirmed.
The point is not polished wording. A usable request states the reading source, permitted write location, fields, conflict treatment, and stopping condition together.
Verify the output by fields, sources, and conflicts
Open outputs/v1/handoff.csv and outputs/v1/questions.md. Open the CSV as UTF-8, comma-separated text; treat date fields as text first. Check each item below rather than asking Codex whether it was correct.
| Check | Correct result |
|---|---|
| Count and sources | 6 cases, with R01–R08 all traceable |
| C101 | Merge R01 and R02; owner Xiaolin; deadline 2026-10-23; status In progress |
| C102 | Deadline is “Needs confirmation”; source R03 |
| C103 | Status is “Needs confirmation”; the summary or questions list retains both R04 “Completed” and R05 “Still needs correction” |
| C104 | Owner, deadline, and status are all “Needs confirmation”; source R06 |
questions.md |
Covers 5 fields needing confirmation: one in C102, one in C103, and three in C104 |
After completing your own check, open reference/expected-handoff.csv and reference/expected-questions.md in the ZIP. The expected answers allow different summary wording, but they must not fill a gap as fact, omit sources, or decide C103’s status.
results/v1/ and results/v2/ are retained actual outputs from this fixed-material case, not reconstructed examples of the expected answer. They show that v2 only moved the source-ID column in handoff.csv to after the summary; questions.md is identical in both versions. Use them to compare a preserved earlier version with one concrete field-order change. Do not infer that every model or environment will produce the same text.
Describe the difference, then revise: keep v1 and save v2
If output is wrong, do not merely say “redo it.” State the case, field, source, and required behavior together:
Keep outputs/v1. Do not overwrite it.
Create a corrected version in outputs/v2.
Correct C103: its status must be "Needs confirmation". Keep R04 "Completed" and R05 "Still needs correction" and their sources in both the issue summary and questions.md. Do not choose one record and overwrite the other.
Do not change other case fields unless necessary. When complete, list the differences between v2 and v1.
This tests whether Codex handles a conflict precisely and respects the instruction not to overwrite v1. To practice column order only, ask it to move the source-ID column after the issue summary in v2 while leaving all other values unchanged, then compare v1 and v2 field by field.
Stop, save, and recover: inspect files before returning to a clean copy
Cancelling a task or closing a window does not automatically undo files already written. After stopping, inspect outputs/ for unexpected files. To retain the exercise, keep outputs/v1, outputs/v2, and an unchanged copy of the inputs. If the practice goes out of scope, inputs are changed, or results cannot be traced, do not guess which step failed: make a new codex-practice, copy the two original inputs/ files again from the ZIP, and restart at round one.
Your first exercise needs only two fictional files and two output files. If Codex asks to read another private folder, install an unfamiliar tool, upload data, or connect to a real system, decline and reduce the scope. For deeper configuration, see Codex permissions setup. To separate work that is ready to hand off from work that is not, see Codex work-delivery judgment.
Continue from the problem you have
- Codex first task: from a folder to a checkable deliverable
- Codex permissions setup
- Codex backup and restore
- The difference between Plugins, Connectors, and MCP
- Choosing ChatGPT, Work, or Codex
Sources and verification boundary
Information checked: 2026-11-08.
- OpenAI Codex documentation — product and official-documentation entry point.
- OpenAI Codex CLI documentation — current official information on CLI installation, starting, and sign-in.
- ChatGPT pricing — plan and Codex access must be checked against the current account display.
- This article’s Chinese ZIP — fictional inputs, expected answers, v1/v2 outputs for the fixed case, method, and SHA-256 list. Its retained outputs evidence that fixed-material case only; they are not a general success rate or app-operation test.