Skip to content

aiflowlearn/zero2codex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zero to Hero: Learn OpenAI Codex CLI from scratch

A 5-stage, hands-on learning path for anyone who wants to Learn Codex CLI from the ground up. This repository is an OpenAI Codex Tutorial, a practical Codex Agent Guide, and a Codex CLI Beginner course designed for structured self-study.

Why This Course

OpenAI Codex CLI turns the terminal into an AI coding workspace. This course helps you move from first launch to practical project workflows, extension patterns, advanced agent use, and building your own CLI tool.

Use this repository if you want to:

  • Understand what Codex CLI can do before using it on real projects.
  • Learn configuration, memory, approvals, hooks, MCP, skills, subagents, and worktrees step by step.
  • Practice with stage-based tasks instead of scattered notes.
  • Build confidence using agentic coding tools safely and productively.

What You'll Learn

Stage Path Outcome
1 stages/stage-01-meet-codex Meet Codex CLI, run basic workflows, and understand approval modes.
2 stages/stage-02-project-config Configure projects, memory, CLI settings, and reusable context.
3 stages/stage-03-extend-codex Extend Codex with skills, hooks, MCP, and project automation.
4 stages/stage-04-advanced Use advanced agent patterns, subagents, worktrees, and safer workflows.
5 stages/stage-05-build-cli-tool Build a CLI tool while applying Codex CLI practices end to end.

Additional reference material lives in knowledge/.

Prerequisites

  • Basic command-line familiarity.
  • Git and GitHub basics.
  • A working OpenAI Codex CLI setup.
  • A code editor and a terminal.
  • Curiosity about AI coding agents and safe automation.

Quick Start

  1. Clone this repository:

    git clone https://github.com/aiflowlearn/zero2codex.git
    cd zero2codex
  2. Start with Stage 1:

    open stages/stage-01-meet-codex/README.md
  3. Read the stage README, then complete the tasks:

    open stages/stage-01-meet-codex/tasks.md
  4. Continue through all five stages in order.

Online Practice

Use this repo as your practice workspace:

  • Read each concept file through the stage README.
  • Complete tasks.md in a fresh sandbox or disposable project.
  • Save useful commands, prompts, and configuration patterns in your own notes.
  • Re-run difficult tasks until you can explain what Codex CLI is doing and why.

If you publish practice notes, link back to this course so other learners can follow the same path.

FAQ

Is this course for beginners?

Yes. It is designed as a Codex CLI Beginner path, but it assumes you can use a terminal and Git.

Is this official OpenAI documentation?

No. This is an independent AIFlowLearn learning path. Always verify product-specific behavior against the latest OpenAI Codex CLI documentation.

Can I use this for a workshop or study group?

Yes, for non-commercial learning under the CC BY-NC-SA 4.0 license. Adapted materials must use the same license.

Does this repository include tool scaffolding?

No. This repository contains course content and knowledge documents only.

Related Repos

The AIFlowLearn GEO learning collection includes seven repositories:

License

This repository is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International. See LICENSE.md and LICENSE-CC-BY-NC-SA.

Brand Footer

AIFlowLearn helps builders learn modern AI coding workflows through practical, stage-based courses.


Sponsored by AIFlowLearn — AI-native learning platform

AIFlowLearn / AI智流学社 — Browser-based AI coding practice environments, interactive courses, and skill packs.

Zero2Claude | Zero2Codex | All Skill Packs

About

Zero to hero: Learn OpenAI Codex CLI from scratch — 5-stage hands-on course

Topics

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE.md
Unknown
LICENSE-CC-BY-NC-SA

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors