Skip to content

Conversation

@emanuelturis
Copy link
Contributor

openai/codex@3592ecb adds named args to prompt, as well as numeric (positional) args.

It's currently only available in the alpha versions, but will probably be released soon assuming they keep the same pace.

I'm not sure if anything else besides the docs needs to be updated, but I believe it's compatible with the way Claude Code does things for example, as per this comment: // Support $1..$9 and $ARGUMENTS in prompt content.

@emanuelturis emanuelturis requested a review from localden as a code owner October 1, 2025 09:14
@localden
Copy link
Contributor

localden commented Oct 3, 2025

Let's get this merged when this is in the GA version of Codex.

@localden localden self-assigned this Oct 3, 2025
@localden localden added documentation Improvements or additions to documentation merge-candidate Reasonable change that is going to be merged after a review. needs-verification Pull request or bug report that requires validation and testing before it can be acted on. labels Oct 3, 2025
@emanuelturis
Copy link
Contributor Author

Let's get this merged when this is in the GA version of Codex.

Of course. I also noticed there are other parts of the CLI that warns when picking Codex. I can take a look at that as well in the meantime.

@emanuelturis emanuelturis changed the title Remove Codex named args limitation from README.md Remove Codex named args limitation warnings from docs and codebase Oct 3, 2025
@emanuelturis emanuelturis changed the title Remove Codex named args limitation warnings from docs and codebase Remove Codex named args limitation warnings from docs and cli Oct 3, 2025
@aybouzaglou
Copy link

Hey guys codex has pushed a new version that allows for custom commands

@emanuelturis
Copy link
Contributor Author

Hey guys codex has pushed a new version that allows for custom commands

I'm waiting on the review, but you can already use it with Codex. The changes are purely informational as to the limitations.

@localden localden merged commit e71ebbc into github:main Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation merge-candidate Reasonable change that is going to be merged after a review. needs-verification Pull request or bug report that requires validation and testing before it can be acted on.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants