Where each harness looks for definitions, grouped by scope. Numbers (#) give each path's place in the order; the Order row says what they mean. Paths are documented by the vendor unless marked undocumented.
Skills
| Where it looks | Codex CLI |
|---|---|
| Project |
|
| User |
|
| Team, admin and managed |
|
| Plugins and packages |
|
| Built in |
|
| Which skills are visible | Every definition stays visible |
| When names collide | Same-named definitions both appear |
| Order |
|
| Recorded from | Codex CLI documentation; paths documented unless marked Primary reference |
Codex CLI, notes and evidence
- Two skills with the same name are not merged; both may appear.
- Symlinked skill directories are followed.
- Numbered locations reflect the documentation listing; the unnumbered deprecated root is source-confirmed, not a documented precedence position.
- Reclassified 2026-10-14: v1 orderStatus was "documented-scan-order". The v1 notes state: "Numbered locations reflect the documentation listing; the unnumbered deprecated root is source-confirmed, not a documented precedence position." Positions are retained as listing only; runtime scan order is not established.
Evidence
- Codex: Agent Skills, first-party-docs, 2026-08-27
- Codex skill roots: deprecated user compatibility location, first-party-source, 2026-10-01
Instructions
| Where it looks | Codex CLI |
|---|---|
| Project |
|
| User |
|
| How instruction files combine | Path applicable |
| When instructions conflict | More specific wins |
| Order |
|
| Recorded from | Codex CLI documentation; paths documented unless marked Primary reference |
Codex CLI, notes and evidence
- Instruction discovery follows the working path and stops at the current directory; it is distinct from skill discovery.
- Files compose root-to-current-directory until the configured combined-byte limit is reached.
Evidence
- Codex AGENTS.md instructions, first-party-docs, 2026-10-15
Hooks
| Where it looks | Codex CLI |
|---|---|
| Project |
|
| User |
|
| Team, admin and managed |
|
| Plugins and packages |
|
| How hooks from several places combine | Merge all |
| When hooks conflict | All matching run |
| Order |
|
| Recorded from | Codex CLI documentation; paths documented unless marked Primary reference |
Codex CLI, notes and evidence
- All matching sources merge; higher-precedence config layers do not replace lower hook layers.
- Matching command hooks launch concurrently, so list order is not execution order.
Evidence
- Codex hooks, first-party-docs, 2026-10-15
Subagents
| Where it looks | Codex CLI |
|---|---|
| Project |
|
| User |
|
| Built in |
|
| Which definitions are visible | Name precedence |
| When names collide | Custom name overrides built in |
| Order |
|
| Recorded from | Codex CLI documentation; paths documented unless marked Primary reference |
Codex CLI, notes and evidence
- A custom agent with the same name as a built-in agent takes precedence.
- Each custom agent is a standalone TOML configuration layer.
Evidence
- Codex subagents, first-party-docs, 2026-10-15
Plugins
| Where it looks | Codex CLI |
|---|---|
| User |
|
| Team, admin and managed |
|
| Configured or per run |
|
| Which plugins load | Enabled set |
| When names collide | Namespaced components |
| Order |
|
| Recorded from | Codex CLI documentation; paths documented unless marked Primary reference |
Codex CLI, notes and evidence
- The public contract is installation/enabling, not a stable cache path. Do not treat an implementation cache as an authoring root.
Evidence
- Codex plugins, first-party-docs, 2026-08-27
MCP servers
No research recorded for Codex CLI.