Skip to main content
command CX Codex

commit · syahiidkamil — Claude Code command: what it does, how to install

Runs a background subagent to commit staged Git changes following ATLAS conventions. Useful when you want automated commits without blocking your session.

no license ★ 406 updated 2026-06-25

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/commit.md
Open on GitHub

What commit does

The command triggers the Agent tool with subagent_type: commit and run_in_background: true. It commits staged files autonomously without requesting confirmation. Any unstaged workspace modifications remain untouched.

Before execution, the prompt swaps {{CURRENT_MODEL}} for the active model identity from the environment. This keeps the attribution trailer Co-Authored-By: Claude {{CURRENT_MODEL}} <[email protected]> accurate over time. If the staging area holds no changes, the process stops immediately with a notification.

Staging and committing all repository files requires /git:stage-commit instead. Because the subagent operates in the background, Claude Code acknowledges the launch and frees the prompt right away.

What it helps with

  • commit staged Git files using a background subagent
  • format Git commit logs under ATLAS conventions
  • record active model attribution in commit trailers
  • keep the interactive session unblocked during commits

Example prompts for the agent

  • Run /commit on the staged changes
  • Create a commit for staged files using ATLAS style

How to install commit

Manually: put the files in place

.claude/commands/commit.md

Call it with /commit. For all projects use ~/.claude/commands/

Questions about commit

How do I install commit in Claude Code?

Place the command specification file at .claude/commands/commit.md.

What does commit do?

It triggers an autonomous background subagent that commits staged files and records the active model in the Git trailer.

What happens if nothing is staged in Git?

The subagent halts without modifying any files in your working tree and reports that the staging area is empty.

Similar slash commands

All slash commands for Git and GitHub →

commit by other authors comes first.

commit official Anthropic Creates a git commit based on current branch changes. Helps stage and commit diffs in Claude Code without typing commit messages. CX Codex +1 4,121installs commit Rohit Ghumare Runs project checks, reviews staged changes, and creates a focused git commit. Use it when a change is ready to be recorded. CX Codex +1 ★ 2,966repo stars commit evmts A slash command that builds your git commit: stages files, writes a conventional-commit message with an emoji, and runs the project's checks first. CX Codex +1 ★ 2,003repo stars commit CloudAI-X Inspects staged Git changes and creates a conventional commit with an automated message. CX Codex +1 ★ 1,424repo stars commit qdhenry Generates task-aligned Conventional Commits, tracks status transitions, and validates changed files against task scopes. CX Codex +1 ★ 1,357repo stars git-commit official github A GitHub Copilot skill that turns a working diff into a commit: it reads the changes, stages the related files, writes a Conventional Commits message and runs git commit. CX Codex +1 47,165installs commit-all sentimony Creates a single commit for all current branch changes with an auto-generated message. It triggers exclusively via the explicit /commit-all command. CX Codex +1 3,800installs ce-commit EveryInc ce-commit is a Claude Code skill that automatically creates git commits with meaningful messages. It splits staged or unstaged changes into logical groups without pushing. CX Codex +1 3,600installs om-check-and-commit open-mercato om-check-and-commit runs every configured validation command in order, fixes straightforward failures, and publishes the branch. Useful before a push when you want a CI-style gate. CX Codex +1 3,600installs conventional-commit marcelorodrigo Makes AI coding agents write commits to the Conventional Commits spec: type, scope, imperative subject. CX Codex +1 964installs commit-confirm LegendApp commit-confirm is a Claude Code skill that inspects the project, proposes a commit plan, and waits for approval before touching Git. CX Codex +1 397installs

From the same set26

The whole set →
stage-commit The stage-commit command hands working-directory changes to a background commit subagent. Use it to create grouped commits and keep going until Git reports a clean tree. CX Codex +1 ★ 406repo stars learning-from-mistakes learning-from-mistakes — a skill that writes a bug or mistake into a separate file after the problem is resolved. Captures the cause, fix, and lesson to avoid repeating the debugging work. CX Codex +1 ★ 406repo stars log log inspects recent git commits, summarizes their themes, and maps them against uncommitted changes in your working tree. CX Codex +1 ★ 406repo stars create-test-cases create-test-cases drafts browser-focused manual test cases in Markdown for a project feature or area. Use it to prepare cases for /qa:manual-test-run. CX Codex +1 ★ 406repo stars wireframe The wireframe command renders a static low-fidelity screen layout into a single HTML file — gray boxes, dashed borders, no libraries. Opens with a double-click. CX Codex +1 ★ 406repo stars commit Creates Git commits autonomously using ATLAS conventions without asking for approval. Handles staged files or splits working changes into clean commits. CX Codex ★ 406repo stars abstraction-power The abstraction-power skill guides Claude Code from concrete code examples to reusable models by spotting their shared structure. Use it to examine duplicated logic or shape a system design. CX Codex +1 ★ 406repo stars get-to-know get-to-know is a Claude Code command that initializes project context by gathering stack, structure, and conventions, creating a project map, and configuring the environment. CX Codex +1 ★ 406repo stars

Project sponsors

Companies that keep this analytics open