Tiny VS Code extension that generates a commit message from the staged diff using the local codex CLI.
Settings
codexCommitMessage.codexCommandcodexCommitMessage.promptcodexCommitMessage.modelcodexCommitMessage.extraArgs
By default, codexCommitMessage.extraArgs is set to --reasoning-effort low to bias the local Codex CLI toward faster responses.
Requirements
gitonPATHcodexonPATHor configured viacodexCommitMessage.codexCommand
Development
npm install
npm run build
code --extensionDevelopmentPath .
Usage
- Stage your changes
- Run
$(wand) (Codex) Generate Commit Messagefrom the Command Palette or click the wand icon in the Source Control title bar - Review the generated message in the SCM input box
If codexCommitMessage.model is set, the extension passes it through as codex exec --model <value>.
The extension appends the parsed codexCommitMessage.extraArgs value to codex exec before the trailing - stdin marker. Default:
"codexCommitMessage.extraArgs": "--reasoning-effort low"
You can override it with any supported CLI flags, or set it to an empty string if you do not want the default low-effort behavior.
Command
$(wand) (Codex) Generate Commit Message->codexCommitMessage.generate