Tasks
Preview mode: progress is saved locally and not synced to a room.
Install Codex on your chosen surface before you dive into the workshop.
- Choose an install method:
- Homebrew:
brew install --cask codex - npm:
npm i -g @openai/codex - Manual download: grab the latest binary from https://github.com/openai/codex/releases and add it to your PATH.
- Homebrew:

- Choose an install method:
Confirm you are on the expected release before continuing.
- Run
codex --version; expect at leastcodex-cli 0.53.0(baseline when this workshop was written—update if you're behind).

- Run
Make sure Codex is signed in with the same ChatGPT account you use on the web.
- Run
codex login. - Your browser opens to complete sign-in; approve and return to the terminal once it confirms success.
- Run
Pull down the sample repository you'll use throughout the exercises.
-
Clone the repo with
git clone https://github.com/openai/agents.md.git agents-md-repository(or download the ZIP from https://github.com/openai/agents.md and rename the folder toagents-md-repository). -
Open a separate terminal for the dev server and launch it:
cd agents-md-repository npm install npm run dev -
Leave that terminal running; you'll use a different shell window for Codex commands.

-
Tune Codex to the low reasoning before prompting. When you finish testing.
- Run
codex, type/model, highlight gpt-5.3-codex, press Enter, then select the Low reasoning.

- Run
Practice asking Codex for analysis without editing files.
- With the low reasoning model active, ask:
Explain what this repository is doing in short.

- With the low reasoning model active, ask:
Return to the recommended default model before continuing.
- Start or resume a session, run
/model, and pick gpt-5.3-codex, then confirm Medium reasoning—best blend of depth and quality. - Keep this as the default before moving on so follow-up tasks use the best model.
- Start or resume a session, run
Run the following prompt to generate a visualization asset for the repo.
-
Start a Codex session.
-
Send:
Create a small HTML page in assets.html that shows how files are related to each others. I want a nice looking assets.html that explain those concepts. -
Review the proposed asset to ensure the relationships are accurate before applying the patch.

-
Have Codex modify the project by applying a patch.
-
Start a new task and send:
Can you implement, next to the "Explore Examples" and "View on Github" buttons a button to download and another one to copy the page as markdown? -
Review the diff Codex proposes before applying.

-
Practice attaching visuals and following up with styling tweaks.
- Capture a screenshot of the Agents.md textarea (top-right of the app).
- Paste the image directly (ctrl+v on Mac or ctrl+maj+v on Windows) or reference it with
@agents-textarea.png, then add:Make inline background code chips orange. - Verify Codex updates the UI styling based on the screenshot.

Learn how to jump back into an existing thread.
- Run
codex resume. - Search for the task titled “chip code/background orange”.
- Reopen it and ask, “actually make that green”.
- Confirm Codex replays the context and updates the color.
Note: you can run
codex resume <session_id>directly at the end of a session, as shown when you exit the CLI.
- Run
Add the OpenAI developer documentation MCP server so Codex can fetch up-to-date API and SDK details while you work.
-
Register the server:
codex mcp add openaiDeveloperDocs --url https://developers.openai.com/mcp -
Verify registration:
codex mcp list codex mcp get openaiDeveloperDocs -
Add the global guidance (create the file if it doesn't exist):
mkdir -p ~/.codex echo "When questions involve OpenAI APIs, SDKs, Codex, or other OpenAI products, use the OpenAI developer documentation MCP server as the source of truth and avoid web search unless the MCP server cannot answer." >> ~/.codex/AGENTS.md
-
Verify Codex can reach the OpenAI developer documentation MCP server before you rely on it.
- In a Codex chat, run
/mcpto confirm the server connection is healthy andopenaiDeveloperDocsappears. - If it fails, re-check the
config.tomlentry or the CLI flags from https://developers.openai.com/codex/mcp.
- In a Codex chat, run
Practice using the OpenAI Docs MCP to answer a Voice API question.
-
Start a new chat and send:
How do I implement the OpenAI Voice API over WebSockets? Share a minimal example and link to the relevant doc.
-
Use search to jump back to prior work.
-
Run:
codex --search "Add a small 'Latest News' footer box that links to a current article about Next.js 15. Include a date and source."
-
Pick the matching task from the results and reopen it if you need the history.

-
Automate test generation prompts for future sessions.

-
Save your standard ask:
-
Create a directory at
~/.codex/promptsto store saved commands (make it if it does not exist). -
Create
~/.codex/prompts/add-tests.mdcontaining:Generate unit tests for the touched files. Use the project’s existing test runner and conventions. Keep diffs minimal and runnable locally.
-
-
Resume the “Latest News” task (use
codex resumeand type to search) and run/add-teststo invoke the new command.
-
Use
/reviewto inspect a small regression you introduce on purpose.-
In your repo, open
pages/index.tsxand scroll to thegetStaticPropsloop that buildscontributorsByRepo. Inside that loop, right before thecontributorsByRepo[fullName] = { avatars, total }assignment, add one line:total++;Leave everything else unchanged so the counter quietly creeps up by one.
-
Start a fresh Codex CLI session in the repo and run:
/reviewChoose Review against a base branch and select at
main.
-
Let Codex run the review and read the findings that flag the inflated total.

-
Bookmark the go-to references for deeper Codex work.
- Open the product hub at https://developers.openai.com/codex for docs, demos, and release notes.
- Explore the Codex SDK: https://developers.openai.com/codex/sdk.
- Review the GitHub Action wiring guide: https://developers.openai.com/codex/sdk#github-action.
- Track updates via the changelog: https://developers.openai.com/codex/changelog.
