Commit Generator · for VS Code, Cursor, VSCodium and Windsurf

One click, and your staged diff becomes a commit message worth reading.

A subject in Conventional Commits and a body that explains why, written from the diff you staged. It lands in the commit box for you to read, edit and commit. It never commits for you.

A generated Conventional Commit in the Source Control input box

Why I built it

I got tired of typing "fix stuff" into the commit box

The commit message is the only note your future self and your team get about why a change exists. At the end of a long change it is also the last thing anyone wants to write, so the history fills with "update client" and "wip".

Commit Generator reads the diff you staged and writes the message a careful colleague would: the type, the scope, an imperative subject, and when the change is not trivial, a body that says why.

Ciro Cesar Maciel, who builds and maintains it

How it works

From staged changes to a message, in one click

1

Stage

Stage what goes in the commit. Nothing staged? It falls back to the working tree, new files included.

2

Click

The comment icon in the Source Control title bar, or "Commit Msg" in the status bar.

3

Read

The subject and the body land in the commit box. Edit anything you want.

4

Commit

You commit. It never does it for you.

See it in action

A subject and a body that says why

A real run, for a change that added retries with backoff and an idempotency key to a payments client. Compare it with what usually lands in that box: "update client".

What came out

feat(payments): retry transient charge failures with exponential backoff

Transient upstream errors (429 and 5xx) can cause payment processing to
fail unnecessarily. Add automatic retries with exponential backoff and
pass an idempotency key to make charge requests resilient without risk
of duplicate charges.
The generated commit message in the Source Control box

And then

Pick the model, and see the price before you pick

The live OpenRouter list, with each model’s context window and its price per million tokens, in and out. New models show up the day OpenRouter lists them. Type to filter, pick one, done.

The model picker filtered by claude-sonnet, each model with its context window and price per million tokens

Everything in it

Small, fast, and it stays out of your way

Conventional Commits by default

type(scope): subject, imperative, lowercase, 72 characters at most, and a body when the change is not trivial. Or switch to plain messages.

Staged first

It uses the staged diff when there is one; with nothing staged, the working tree, untracked files included.

It never commits for you

The message lands in the input box. You read it, edit it, and commit.

Any language

English by default; set Portuguese, Spanish, French or the language your team writes in.

Any model, one key

Gemini Flash, Claude Sonnet, GPT, DeepSeek, Qwen, Llama, Mistral: any model on OpenRouter. Switch whenever a new one drops.

The price before you pick

The picker shows each model’s price per million tokens, in and out, straight from OpenRouter.

A fraction of a cent

The diff sent is capped at 12,000 characters by default, about 3,000 tokens: with the default model that is under a tenth of a cent a message.

Any editor

On the Marketplace and on Open VSX: VS Code, Cursor, VSCodium and Windsurf.

Before you choose

How it compares

Commit Generator

GitHub Copilot

AI Commit

Commit Sage

Any of 350+ models, one keyYes: OpenRouterNo: Copilot modelsPartial: a few providersYes: many providers
Pay per token, no subscriptionYesNo: monthly planYesYes
Conventional CommitsYesPartialYesYes
Live model list with pricesYes———
Works in Cursor and VSCodium (Open VSX)YesNoNoYes

From each extension’s public listing, September 2026; — means the listing does not say. Something changed? Tell me at ciromaciel.click/contact.

Price

Free. No account, no trial, no nag screen.

Commit Generator is free. It uses your own OpenRouter key: you pick the model and pay the model per token, usually under a tenth of a cent a message.

Free

$0

  • Every feature, for good
  • Your OpenRouter key, any model, pay the model per token
  • No account with me, no telemetry
Install free

When you need the next thing

Want every commit in Conventional Commits even when an agent writes the code? CCM Stack makes your coding agent follow that rule and others, and refuses the commit that breaks them.

See CCM Stack, open source

Questions

Before you install

Stage your next change and click once.

All 11 extensions