Skip to content

Commit 346b27d

Browse files
authored
docs: correct getting-started behaviors (openai#5407)
1 parent 9129d6d commit 346b27d

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

docs/getting-started.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,6 @@ You can also run Codex CLI with a prompt as input:
4343
codex "explain this codebase to me"
4444
```
4545

46-
```shell
47-
codex --full-auto "create the fanciest todo-list app"
48-
```
49-
50-
That's it - Codex will scaffold a file, run it inside a sandbox, install any
51-
missing dependencies, and show you the live result. Approve the changes and
52-
they'll be committed to your working directory.
53-
5446
### Example prompts
5547

5648
Below are a few bite-size examples you can copy-paste. Replace the text in quotes with your own task.
@@ -69,11 +61,10 @@ Looking to reuse your own instructions? Create slash commands with [custom promp
6961

7062
### Memory with AGENTS.md
7163

72-
You can give Codex extra instructions and guidance using `AGENTS.md` files. Codex looks for `AGENTS.md` files in the following places, and merges them top-down:
64+
You can give Codex extra instructions and guidance using `AGENTS.md` files. Codex looks for them in the following places, and merges them top-down:
7365

7466
1. `~/.codex/AGENTS.md` - personal global guidance
75-
2. `AGENTS.md` at repo root - shared project notes
76-
3. `AGENTS.md` in the current working directory - sub-folder/feature specifics
67+
2. Every directory from the repository root down to your current working directory (inclusive). In each directory, Codex first looks for `AGENTS.override.md` and uses it if present; otherwise it falls back to `AGENTS.md`. Use the override form when you want to replace inherited instructions for that directory.
7768

7869
For more information on how to use AGENTS.md, see the [official AGENTS.md documentation](https://agents.md/).
7970

0 commit comments

Comments
 (0)