Loading video player...
š„ Join The AI Forge Community š https://www.skool.com/the-ai-forge Link to the cheat sheet (free): https://leonardo467.gumroad.com/l/codex_cli In this video, I evaluate several powerful but often unclear commands within the Codex CLI. After spending a lot of time switching between different tools, I realized many useful features are either misused or completely unknown. I break down everything from the basics of interactive vs. non-interactive modes to more advanced functionalities. I demonstrate how to properly resume previous sessions, configure the --full-auto mode to avoid constant approval requests, and explain the different sandbox and approval policies. We'll also cover how to switch to different GPT models and, more importantly, how to configure Codex to run ANY local model from Ollama using profiles, not just the default GPT-OSS. Finally, I walk through enabling permanent web search, setting up custom prompts for recurring tasks, and integrating MCP servers like Firecrawl to extend Codex's capabilities. 00:00 - Intro 00:33 - 1.Interactive Mode 01:10 - 2.Non-Interactive Mode 01:43 - 3.Resume Session 02:46 - 4.Full Auto Mode 03:14 - 5.Sandbox Modes 03:50 - 6.Approval Policies 04:50 - 7.Model Selection (GPT & Ollama) 08:20 - 8.Web Search 09:48 - 9.Image Input 10:45 - 10.Shell Completions 12:18 - 11.MCP Server Integration š± X: https://x.com/leonardogrig š¼ LinkedIn: https://www.linkedin.com/in/leonardogrig