> ## Documentation Index
> Fetch the complete documentation index at: https://aicoding.cscitech.top/llms.txt
> Use this file to discover all available pages before exploring further.

# Codex 完整教程

> 从认识 Codex 到日常工作、扩展能力和工程化使用的完整学习路线。

这套教程按“认识、上手、工作流、安全、定制、扩展、工程化、实战、查阅”的顺序，带你系统学习 Codex。开始前，建议先阅读 [AI Coding 入门](/ai-coding-intro)，理解 AI 编程的基本方法，再进入具体工具实践。

## 学习路线

<CardGroup cols={2}>
  <Card title="认识 Codex" icon="book-open" href="/01-认识-Codex/01-Codex是什么">
    Codex 是什么、四种入口、代理循环和任务执行方式。
  </Card>

  <Card title="第一次使用" icon="play" href="/02-第一次使用/01-安装与登录">
    安装登录、准备项目，完成你的第一个任务。
  </Card>

  <Card title="四种入口实战" icon="terminal" href="/03-四种入口实战/01-CLI完整使用">
    CLI、IDE 扩展、桌面 App 和 Cloud 云端的完整用法。
  </Card>

  <Card title="日常工作流" icon="repeat" href="/04-日常工作流/01-提示词四件套">
    探索代码库、修复 Bug、开发功能、审查与交付。
  </Card>

  <Card title="安全与控制" icon="shield" href="/05-安全与控制/01-权限沙箱与审批策略">
    权限沙箱、提示词注入防护、隐私和出错后的恢复。
  </Card>

  <Card title="定制自己的 Codex" icon="settings" href="/06-定制自己的Codex/01-AGENTS.md项目规则">
    AGENTS.md 项目规则、config 配置、会话与记忆。
  </Card>

  <Card title="扩展 Codex 能力" icon="blocks" href="/07-扩展Codex能力/01-MCP外部工具与数据">
    MCP、Skills、Subagents、Rules、Hooks 和 Plugins。
  </Card>

  <Card title="工程化使用" icon="git-branch" href="/08-工程化使用/01-Worktree并行开发">
    Worktree 并行、Git 审查、脚本模式、CI/CD 和团队治理。
  </Card>

  <Card title="综合实战" icon="rocket" href="/09-综合实战/01-需求分析与项目规则">
    从需求到发布的完整练习，串联前面所有章节。
  </Card>

  <Card title="查阅手册" icon="book-marked" href="/10-查阅手册/命令与配置速查表">
    速查表、常见问题排查、术语表和迁移指南。
  </Card>
</CardGroup>

## 快速开始

<Steps>
  <Step title="先理解 AI Coding">
    先读 [AI Coding 入门](/ai-coding-intro)，理解 AI Coding 的工作方式、适用边界和验证原则。
  </Step>

  <Step title="认识 Codex">
    先读 [Codex 是什么](/01-认识-Codex/01-Codex是什么)，了解它能做什么、怎么工作。
  </Step>

  <Step title="完成第一个任务">
    按 [第一次使用](/02-第一次使用/01-安装与登录) 安装登录，跑通第一个任务。
  </Step>

  <Step title="按顺序往下学">
    沿着侧边栏章节顺序学习，每章都有可运行的示例和验收方式。
  </Step>
</Steps>

<Tip>
  页面右下角可以对内容进行点赞或点踩反馈，帮助我们改进教程。
</Tip>
