You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having .codex/ customization live next to the code I am working on is more ergonomic and than placing everything at the root of my filesystem. Today, I use a monorepo-level AGENTS.md and package-level overrides, but a dedicated .codex/ directory would enable clearer structure, better modularity, and parity with tools like Cursor.
.codex/prompts/ Works exactly as currently supported. This is just a namespaced, repo-local location.
.codex/rules/ Equivalent to Cursor Rules, so file-based rules that are activated via glob patterns and are contextual and scoped. This lets Codex apply guidance where relevant, without polluting global context.
.codex/skills/ Instead of requiring one folder per skill, allow both files and folders. This keeps simple skills in a single file, while more complex ones can include specific data, files, or examples relevant to the skill.
.codex/docs/
This is a lightweight alternative to docs-focused MCPs. There are two possible ways to support it: either a folder of relevant documentation files (e.g., the complete Convex rules file) or a single file that links to documentation pages and includes descriptions, hints, and usage context (like skills and prompts do right now).
Option 1 could go even further by including a description file (like Option 2), but using local files instead of web search. Both options would let Codex decide which docs to consult and load them selectively, based on descriptions or glob-based activation (similar to Cursor rules).
This would simplify documentation grounding without needing external tools.
Activity
etraut-openai commentedon Dec 13, 2025
Thanks for the suggestion. We're tracking this feature in #3706. Please upvote that one to add your support.