Learn Everything

Module · Codex Engineer

Codex CLI Essentials

The configuration, the approval model and the non-interactive runs.

2 topics4 interactive tasks

TOPIC 01

Configuration & Approvals

What the agent may do without asking, and how you tell it before it starts.

What you'll practice

  • Write a Codex Profile — guided · beginner
  • Choose an Approval Policy — practice · intermediate

A command you'll meet

cat ~/.codex/config.toml

The profile is the contract between you and the agent. Open the task below for the full walkthrough.

TOPIC 02

Non-Interactive Runs

Drive the agent from a script and from a review command, not from the prompt box.

What you'll practice

  • Run the Agent From a Script — practice · intermediate
  • Automate a Review Pass — challenge · advanced

A command you'll meet

cat ~/scripts/codex-task.sh

A scripted run has to be reproducible - the prompt, the directory and the sandbox all belong in the script. Open the task below for the full walkthrough.