Provide the ability to allow workspace-write to access ./.codex
Resolved 💬 4 comments Opened Mar 11, 2026 by kendonB Closed Mar 17, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What variant of Codex are you using?
CLI
What feature would you like to see?
My understanding is that the only way to allow the agent to access the local repo ./.codex/ is to switch on danger mode. There does not seem to be any way to allow workspace-write to write and edit the local repo ./.codex. This would be especially useful for developing complex skills with many scripts. Even allowing ./.codex/skills to be edited would be enough.
Additional information
_No response_
4 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
you can add
to enable writes to
.codexif you really need to. We won't support this out of box because it allows the model to edit its own configuration and bypass the sandbox restrictions.@viyatb-oai this was poorly documented enough that your frontier model was unaware this was possible. Recommend updating docs or the system prompt accordingly.
@viyatb-oai You also seem to have misunderstood my issue and responded as if I meant the central .codex folder