name: navigate description: Navigate and analyse repository structure in Codex sessions. Use when locating symbols, tracing references, or summarising architecture before editing.
Codex Navigate
Use fast repo-native search first.
Workflow
- List candidate files with
rg --files. - Locate definitions and usages with
rg -n "<pattern>". - Follow imports or includes outward from the entrypoint you found.
- Summarise the relevant slice of architecture before making non-trivial edits.
Notes
- Prefer
rgover slower grep-style scans. - For large changes, pair this with
karpathy-guidelinesso exploration stays targeted.