Skip to content

Codex Skill: add prompt argument note#8

Open
s2software wants to merge 1 commit intoskills-directory:mainfrom
s2software:fix-codex-skill
Open

Codex Skill: add prompt argument note#8
s2software wants to merge 1 commit intoskills-directory:mainfrom
s2software:fix-codex-skill

Conversation

@s2software
Copy link

Summary

Clarifies that the prompt must be passed as a positional argument to codex exec, not via a --prompt flag.

Background

During usage with Claude Sonnet 4.5, the skill documentation was unclear about how to pass the prompt argument. This led to Claude suggesting an incorrect syntax using a --prompt flag:

codex exec --skip-git-repo-check -m gpt-5.3-codex --config model_reasoning_effort="high" --sandbox read-only --prompt "Analyze..."
# Error: unexpected argument '--prompt' found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant