VS Code Extensions
C

Codex Commit Message Generator

by MaksimStatnykh

Codex Commit Message Generator is a lightweight VS Code extension that creates commit messages from staged Git changes using the local Codex CLI, with configurable commands, models, prompts, and CLI options.

Downloads

99

Rating

5.0 / 5 (1)

Version

1.0.2

Last updated

Apr 08, 2026

Tiny VS Code extension that generates a commit message from the staged diff using the local codex CLI.

Settings

  • codexCommitMessage.codexCommand
  • codexCommitMessage.prompt
  • codexCommitMessage.model
  • codexCommitMessage.extraArgs

By default, codexCommitMessage.extraArgs is set to --reasoning-effort low to bias the local Codex CLI toward faster responses.

Requirements

  • git on PATH
  • codex on PATH or configured via codexCommitMessage.codexCommand

Development

npm install
npm run build
code --extensionDevelopmentPath .

Usage

  1. Stage your changes
  2. Run $(wand) (Codex) Generate Commit Message from the Command Palette or click the wand icon in the Source Control title bar
  3. 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