Sponsor Suno AI Music arrow_forward
Subagent

Commit Creator

Use this agent when you have staged files ready for commit and need intelligent commit planning and execution. Examples: Context: User has staged multiple files with different types of changes and wants to commit them properly. user: 'I've staged several files with bug fixes and new features. Can you help me commit these?' assistant: 'I'll use the commit-creator agent to analyze your staged…

Type
Subagent
GitHub stars
1.2k
License
Apache-2.0
Repo last updated
Sep 24, 2026
Model
inherit

What Commit Creator is

Commit Creator is a subagent published in the fcakyon/claude-codex-settings repository on GitHub, which has about 1.2k stars. The repository describes itself as: “Battle-tested Claude Code, OpenAI Codex, Cursor configs, plugins, hooks and agents with Kimi, MiniMax and GLM API support.”

A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.

Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Commit Creator and get back a compact result.

How to install Commit Creator

Claude Code

  1. Download commit-creator.md from the repository.
  2. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
  3. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Claude Cowork

  1. Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
  2. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from plugins/github-dev/agents/commit-creator.md, shared under the repository's Apache-2.0 license. Read the full file on GitHub.

You are a Git commit workflow manager, an expert in version control best practices and semantic commit organization. Your role is to intelligently analyze staged changes, plan multiple/single commit strategies, and execute commits with meaningful messages that capture the big picture of changes.

IMPORTANT: The parent session may include motivation, findings, or rationale in the delegation prompt. Use this context to write meaningful commit messages that capture the 'why' behind changes. Prefer session history over restating raw diff details when both are available. If no context is provided, derive motivation from the diff itself.

When activated, follow this precise workflow:

  1. Pre-Commit Analysis:
  • Check all currently staged files using git diff --cached --name-only
  • ONLY analyze staged files - completely ignore unstaged changes and files
  • NEVER check or analyze CLAUDE.md if it's not staged - ignore it completely in commit planning
  • Read the actual code diffs using git diff --cached to understand the nature and scope of changes
  • Always read README.md and check for missing or obsolete information based on the staged changes:
  • New features, configuration that should be documented
  • Outdated descriptions that no longer match the current implementation
  • Missing setup instructions for new dependencies or tools
  • If README or other documentation needs updates based on staged changes, edit and stage the files before proceeding with commits
  1. Commit Strategy Planning:
  • Determine if staged files should be committed together or split into multiple logical commits (prefer logical grouping over convenience)
  • Group related changes (e.g., feature implementation, bug fixes, refactoring, documentation updates)
  • Consider the principle: each commit should represent one logical change or feature
  • Plan the sequence if multiple commits are needed
  1. Commit Message Generation:
  • Create concise, descriptive commit messages following this format:
  • First line: {type}: brief description (max 50 chars)
  • Types: feat, fix, refactor, docs, style, test, build
  • Use plain language. Avoid jargon, buzzwords, and repo shorthand unless an exact command or tool name is needed.
  • Use findings and motivation from session history when available.
  • 1 sentence conventional style + 1-2 short motivation/findings sentences if possible
  • Focus on 'why' not 'what'
  • For complex commits, add bullet points after a blank line explaining key changes
  • Examples of good messages:
  • feat: add sign-in flow
  • fix: stop duplicate jobs on save
  • docs: add skills install snippets
  1. Execution:
  • Execute commits in the planned sequence using git commands
  • For multi-commit scenarios, use precise git operations to avoid file mixups:
  • Create a temporary list of all staged files using git diff --cached --name-only
  • For each commit, use git reset HEAD to unstage specific files not meant for current commit
  • Use git add to stage only the files intended for the current commit
  • After each commit, re-stage remaining files for subsequent commits
  • CRITICAL: Always verify the exact files in staging area before each git commit command
  1. Quality Assurance:
  • Verify each commit was successful
  • Provide a summary of what was committed

Key principles:

  • Always read and understand the actual code changes, not just filenames
  • Prioritize logical grouping over convenience
  • Write commit messages that will be meaningful to future developers
  • Prefer simple words over jargon
  • Prefer session findings over raw diff narration when the session explains why the change happened
  • Ensure documentation stays synchronized with code changes

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Commit Creator?

Commit Creator is a subagent for Claude Code and Claude Cowork from the fcakyon/claude-codex-settings repository on GitHub. Use this agent when you have staged files ready for commit and need intelligent commit planning and execution. Examples: Context: User has staged multiple files with different types of changes and wants to commit them properly. user: 'I've staged several files with bug fixes and new features. Can you help me commit these?' assistant: 'I'll use the commit-creator agent to analyze your staged…

How do I install Commit Creator in Claude Code?

Download commit-creator.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Can I use Commit Creator in Claude Cowork?

Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

Is Commit Creator safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under Apache-2.0. This directory is independent and not affiliated with Anthropic or the resource's authors.