目录
彩色标记版英文精读 逐句精读 技术词汇表 重点短语 高频句式 真正要掌握的内容 一句话总结
Tech English Reading

2026-05-25 Codex 的交互模式

文档信息

学习主题
Codex CLI 的 interactive mode,以及如何读懂终端交互工作流的英文说明
原文链接
https://developers.openai.com/codex/cli/features
原文词数
91(基于官方页面信息改写;官方短摘录 17 词)
学习目标
读懂 interactive mode、terminal UI、repository、composer、in real time、approve / reject 等技术文档高频表达
难度评级
★★☆☆☆

本文基于 OpenAI 官方 Codex CLI Features 页面生成。官方原文只保留一个短摘录;主要精读材料是根据官方页面信息改写的英文学习段落,不是官方逐字原文。

专有名词 / 产品名 技术术语 动作动词 重要短语 句式结构 易误解词

彩色标记版英文精读

点击英文句子 → 朗读 | 点击虚线词 → 朗读 | 悬停 → 看翻译/解释

官方短摘录:Codex launches into a full-screen terminal UI that can read your repository, make edits, and run commands.

Codex interactive mode starts when you run the codex command in your terminal.
当你在终端里运行 codex 命令时,Codex 的交互模式就会启动。
It opens a full-screen terminal UI, where Codex can read your repository, make edits, and run commands while you work with it.
它会打开一个全屏终端界面,在这个界面里,Codex 可以读取你的代码仓库、修改文件、运行命令,并且和你一起推进任务。
You can also start a session with an initial prompt, such as asking Codex to explain a codebase.
你也可以带着一个初始提示词来开始会话,比如让 Codex 解释一个代码库。
During the session, you send prompts, code snippets, or screenshots into the composer.
在会话过程中,你可以把提示词、代码片段或截图发送到输入框里。
Before changing files, Codex can explain its plan, and you can review its actions in real time, then approve or reject steps inline.
在修改文件之前,Codex 可以先解释它的计划;你可以实时审查它的操作,然后在界面内批准或拒绝这些步骤。

逐句精读

句子 1启动入口

英文原句:

Codex interactive mode starts when you run the codex command in your terminal.

自然翻译:当你在终端里运行 codex 命令时,Codex 的交互模式就会启动。

句子主干:Codex interactive mode starts.

结构拆解:when you run... 是时间条件,说明“什么时候启动”。主句先说模式启动,后面再说明触发动作。

大白话解释:这句讲入口:不是点网页按钮,而是在终端里运行 codex,进入可以持续对话的模式。

句子 2工作台能力

英文原句:

It opens a full-screen terminal UI, where Codex can read your repository, make edits, and run commands while you work with it.

自然翻译:它会打开一个全屏终端界面,在这个界面里,Codex 可以读取你的代码仓库、修改文件、运行命令,并且和你一起推进任务。

句子主干:It opens a UI.

结构拆解:逗号后面的 where Codex can... 补充说明这个 UI 里能发生什么。后面三个动词并列:readmakerun

大白话解释:这句讲交互模式的工作台:Codex 在终端界面里接近你的代码,不只是聊天,还能实际操作。

句子 3初始提示词

英文原句:

You can also start a session with an initial prompt, such as asking Codex to explain a codebase.

自然翻译:你也可以带着一个初始提示词来开始会话,比如让 Codex 解释一个代码库。

句子主干:You can start a session.

结构拆解:with an initial prompt 说明开始会话时附带什么;such as... 给例子,说明这个 prompt 可以长什么样。

大白话解释:这句讲启动方式:你可以先进 Codex 再提问,也可以启动时就把第一条任务一起带进去。

句子 4输入材料

英文原句:

During the session, you send prompts, code snippets, or screenshots into the composer.

自然翻译:在会话过程中,你可以把提示词、代码片段或截图发送到输入框里。

句子主干:You send prompts into the composer.

结构拆解:During the session 是时间背景。句子中间列了三个可以发送的东西:prompts、code snippets、screenshots。

大白话解释:这句讲你能给 Codex 什么输入:不只是文字问题,也可以给代码片段和截图。

句子 5实时审查

英文原句:

Before changing files, Codex can explain its plan, and you can review its actions in real time, then approve or reject steps inline.

自然翻译:在修改文件之前,Codex 可以先解释它的计划;你可以实时审查它的操作,然后在界面内批准或拒绝这些步骤。

句子主干:Codex can explain its plan, and you can review its actions.

结构拆解:Before changing files 放在句首,强调修改前先做什么。and 连接两件事:Codex 解释计划;你审查操作。

大白话解释:这句讲安全感来源:Codex 不是悄悄改文件,你可以看到它打算怎么做,并且实时决定放行还是拦下。

技术词汇表

英文本文意思普通意思技术文档常见意思记忆提示
interactive mode交互模式interactive = 互动的用户和工具来回输入、反馈、确认的运行模式interactive 重点是“来回互动”
terminal UI终端界面UI = 用户界面在终端里显示的操作界面UI 不一定是网页
repository代码仓库仓库、储藏处存放项目代码和历史记录的地方repo = 项目代码集合
make edits修改文件edit = 编辑对代码或文档做具体改动make edits = 动手改
run commands执行命令command = 命令在终端里运行某条命令run = 执行,不是跑步
session会话一段时间 / 会议一次持续的交互过程打开到关闭算一次
initial prompt初始提示词initial = 最初的启动任务时给模型的第一条指令initial = 一开始就带上
codebase代码库无常见口语义一个项目的整体代码base = 基础集合
code snippet代码片段snippet = 小片段一小段示例或相关代码snippet 不等于完整文件
screenshot截图屏幕截图作为视觉输入的图片screen + shot
composer输入框 / 编辑区作曲家组织并发送消息的输入区域compose = 组织内容
in real time实时真实时间事情发生时马上看到或处理real time = 不等事后
approve批准同意、认可允许某个步骤继续执行approve = 放行
reject拒绝拒绝阻止某个步骤继续执行reject = 拦下
inline在当前流程内排成一行不跳出当前界面或上下文不是 online

重点短语

悬停造句 → 显示中文翻译 | 点击英文短语或造句 → 朗读

短语中文意思为什么重要自己造句
run the codex command运行 codex 命令说明 CLI 工具的启动方式
Run the codex command in your project folder.在你的项目文件夹里运行 codex 命令。
full-screen terminal UI全屏终端界面说明交互模式不是普通命令输出
The tool opens a full-screen terminal UI.这个工具会打开一个全屏终端界面。
read your repository读取你的代码仓库说明 Codex 能理解项目上下文
Codex can read your repository before making edits.Codex 可以先读取你的代码仓库,再做修改。
make edits做修改AI 编码工具最常见动作之一
The agent can make edits to several files.这个代理可以修改多个文件。
run commands执行命令CLI 场景里的核心能力
You can let Codex run commands after review.审查之后,你可以让 Codex 执行命令。
start a session with用某个内容开始会话读懂启动参数和初始 prompt 很关键
Start a session with a clear task.用一个清楚的任务开始会话。
initial prompt初始提示词AI 工具文档高频表达
An initial prompt helps Codex understand your goal.初始提示词能帮助 Codex 理解你的目标。
review actions in real time实时审查操作体现交互模式的控制感
Developers review actions in real time.开发者会实时审查操作。

高频句式

悬停例句 → 显示中文翻译 | 点击英文例句 → 朗读

句式 1:X starts when you...

意思:当你做某个动作时,X 就开始。

  • Codex interactive mode starts when you run the codex command.当你运行 codex 命令时,Codex 交互模式就会启动。
  • The setup starts when you install the package.当你安装这个包时,设置流程就会开始。
  • The session starts when you send the first prompt.当你发送第一条提示词时,会话就开始了。

还能这样用:技术文档经常用这个句式解释“触发条件”。读的时候先抓 X starts,再看 when you... 后面的动作。

句式 2:It opens a Y, where X can...

意思:它打开一个 Y,在那里 X 可以做某些事。

  • It opens a terminal UI, where Codex can read your repository.它打开一个终端界面,在那里 Codex 可以读取你的代码仓库。
  • It opens a dashboard, where users can review logs.它打开一个仪表盘,用户可以在那里查看日志。
  • It opens an editor, where you can change the file.它打开一个编辑器,你可以在那里修改文件。

还能这样用:where 不一定只表示地点,它也常把“界面 / 环境”和“在里面能做什么”连接起来。

句式 3:You can also start X with Y

意思:你也可以用 Y 来开始 X。

  • You can also start a session with an initial prompt.你也可以用一个初始提示词来开始会话。
  • You can also start the app with a config file.你也可以用配置文件来启动应用。
  • You can also start the command with extra flags.你也可以带上额外参数来运行这个命令。

还能这样用:看到 also,通常说明文档在补充另一种用法;with 后面常常是工具、参数或附带内容。

句式 4:Before doing X, Y can...

意思:在做 X 之前,Y 可以先做某件事。

  • Before changing files, Codex can explain its plan.在修改文件之前,Codex 可以解释它的计划。
  • Before running commands, the tool can ask for approval.在执行命令之前,这个工具可以请求批准。
  • Before deploying the app, you can review the changes.在部署应用之前,你可以审查这些修改。

还能这样用:这个句式经常出现在安全、审批、工作流说明里。Before... 帮你判断步骤顺序。

本文真正要掌握的内容

一句话总结

Codex 的交互模式就是在终端里打开一个全屏工作界面,让你和 Codex 边对话边看计划、审查操作、批准或拒绝修改。