Skip to main content
skill CX Codex

commit · fradser — Claude Code skill: what it does, how to install

This skill creates atomic conventional commits through git-agent. Use it when a short intent should become a focused Git commit.

MIT 121 installs ★ 597 updated 2026-11-06

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add FradSer/dotclaude --skill commit -a claude-code
Open on GitHub

What commit does

The skill derives a one-sentence intent from the request or supplied arguments, then runs git-agent commit --intent "<intent>". When the relevant files are already staged, it adds --no-stage; after a 401 authentication error, it retries with --free. An exact conventional commit subject can be passed as the --intent value.

It calls git-agent commit without first running git status, git diff, or git log. Starting with v0.7.0, git-agent detects model attribution from session environment variables. The binary must be available: if git-agent cannot be found, the commit is not created and the user is asked to install it or run Git commands manually.

What it helps with

  • create an atomic conventional commit
  • commit files that are already staged
  • retry a commit after a 401 authentication error
  • set an exact commit subject from the intent
  • attach a co-author to the commit

Example prompts for the agent

  • Create a commit for fixing API error handling.
  • Commit the files already staged without changing their staging state.
  • Create the commit with co-author Alex using --co-author.

How to install commit

1Skills CLI (Vercel)

npx skills add FradSer/dotclaude --skill commit -a claude-code

2Manually: put the files in place

~/.claude/skills/commit/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/commit/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about commit

How do I install commit in Claude Code?

Run npx skills add FradSer/dotclaude --skill commit -a claude-code. The skill file will be placed at ~/.claude/skills/commit/SKILL.md.

What does commit do?

It creates an atomic conventional Git commit through git-agent, using an intent derived from the request or arguments. It adds --no-stage when the files are already staged.

What happens after a 401 authentication error?

The skill retries the command with --free. If the git-agent binary is missing, it reports the error and asks the user to install git-agent or run Git commands manually.

Source text

SKILL.md · MIT
---
name: commit
description: Creates atomic conventional git commits using git-agent. This skill should be used when the user requests "commit", "git commit", "create commit", or wants to commit changes using AI atomic commits.
user-invocable: true
argument-hint: "[intent or --co-author]"
allowed-tools: ["Bash(git-agent:*)", "Bash(git:*)"]
---

CRITICAL:
- Do NOT run `git status`, `git diff`, `git log`, or any other read commands before `git-agent commit`.
- Execute `git-agent commit` directly. `git-agent` (v0.7.0+) automatically detects active model attribution from session environment variables (`PI_MODEL`, etc.).

## Execution

1. Derive a concise one-sentence intent from the conversation or `$ARGUMENTS`.
2. Pass `--co-author "<co-author>"` if explicitly specified in `$ARGUMENTS` or user instructions.
3. Run primary commit command:
   ```bash
   git-agent commit --intent "<intent>"
   ```
4. If specific files are already staged, pass `--no-stage`:
   ```bash
   git-agent commit --no-stage --intent "<intent>"
   ```
5. On auth error (401), retry with `--free`:
   ```bash
   git-agent commit --free --intent "<intent>"
   ```
6. **Fallback** (if `git-agent` binary is not found): report the error and ask the user to install git-agent or run git commands manually.

CLI Reference: `../../references/cli.md`
Attribution & retry-ladder reference: `../../references/coauthor-attribution.md` (covers `--no-attribution` and the `--free` retry)

> **Deterministic messages:** When an exact commit message is required (e.g. version bump `chore: bump version to 0.11.0`), pass the full conventional message as the `--intent` value. The intent is used as the commit subject verbatim.

© FradSer · MIT · FradSer/dotclaude

Similar skills

All skills for Git and GitHub →

commit by other authors comes first.

commit getsentry Drafts Sentry-style conventional commits with issue references and blocks direct commits to main. CX Codex +1 4,900installs commit NeoLabHQ Automates Git commits using conventional commit messages and matching emojis. It checks the active branch, runs pre-commit linters, and suggests splitting complex diffs into atomic commits. CX Codex +1 1,300installs commit parcadei This skill turns session changes into git commits, shows you the plan first, and keeps Claude's name out of the messages. Handy when an agent has piled up edits. CX Codex +1 505installs commit PaulRBerg Composes the commit message from prepared evidence and hands the commit, index reconciliation and push to ai-commit. CX Codex +1 347installs commit OrchestKit Creates Conventional Commits with scope detection, Co-Authored-By trailers and pre-commit checks; blocks secrets and generated files. Runs on commit or “save my changes”. CX Codex +1 210installs 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 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 conventional-commit marcelorodrigo Makes AI coding agents write commits to the Conventional Commits spec: type, scope, imperative subject. CX Codex +1 964installs commit-helper zhaono1 commit-helper drafts Git commit messages following the Conventional Commits specification. Triggers when you prepare, format, or review code commits. CX Codex +1 714installs writing-commit-messages spencerpauly The writing-commit-messages skill gives the agent a fixed format for commit messages: type, scope, body, footer. Useful when the model writes the commits, not you. CX Codex +1 499installs caveman-commit JuliusBrussee caveman-commit generates terse Conventional Commits messages focused strictly on intent. Ideal for keeping git history clean without boilerplate or AI signatures. CX Codex +1 441,600installs

From the same set16

The whole set →
brainstorming brainstorming — a skill for Claude Code and five other tools that turns raw ideas into ready BDD specs. It researches your codebase autonomously and commits the technical design without asking questions mid-run. CX Codex +1 124installs writing-plans writing-plans — a skill for Claude Code, Codex, Cursor and other platforms that transforms a finished design into an executable implementation plan. CX Codex +1 123installs refactor-project refactor-project — a skill for Claude Code, Codex, Cursor and other agents that runs automated refactoring across every file in the project at once. Cuts duplication, normalises patterns, and strips legacy code in a single pass. CX Codex +1 122installs plugin-best-practices plugin-best-practices validates Claude Code plugin structure, manifests, and architecture against framework standards. Ensures your plugin meets requirements before marketplace submission. CX Codex +1 121installs optimize-plugin optimize-plugin validates Claude plugin structure, runs Python sanity checks, and fixes issues via a subagent. Useful when auditing or refactoring plugin manifests and components. CX Codex +1 117installs create-prd The create-prd skill turns product ideas into a structured PRD through a guided interview, then saves it as Markdown or creates a Feishu document. CX Codex +1 117installs create-issues create-issues automates GitHub issue creation with TDD principles, proper labeling, and auto-closing keywords. Detects repository templates, applies conventions, and links issues to epics or related tasks. CX Codex +1 116installs best-practices best-practices enforces language-specific standards and framework rules for TypeScript, Python, Go, Swift, and React. CX Codex +1 115installs

Project sponsors

Companies that keep this analytics open