git-commit

git-commit is a skill for Claude Code, Codex from myths-labs/muse. It costs 63 tokens per session (1,663 once invoked), scanned B, original, MIT.

A workflow for creating Git commits with a consistent format called Conventional Commits, which labels changes such as features, fixes, tests, or documentation.

In plain words
What is it for?
Use it to stage changes and create regular development commits or merge commits with the required type, scope, subject, and supporting details.
Why use it?
It removes guesswork from writing commit messages and helps project history stay easy to search and understand. It also checks project-specific commit rules.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md.

Good fit Use it to stage changes and create regular development commits or merge commits with the required type, scope, subject, and supporting details.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/myths-labs/muse/git-commit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add myths-labs/muse --skill git-commit
Clone the repo
git clone --depth 1 https://github.com/myths-labs/muse

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for git-commit

README.md
[![agentmods](https://agentmods.dev/badge/skills/myths-labs/muse/git-commit/github.svg)](https://agentmods.dev/skills/myths-labs/muse/git-commit)
Your own site
<a href="https://agentmods.dev/skills/myths-labs/muse/git-commit"><img src="https://agentmods.dev/badge/skills/myths-labs/muse/git-commit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for git-commit

Your own site · 80×15
<a href="https://agentmods.dev/skills/myths-labs/muse/git-commit"><img src="https://agentmods.dev/badge/skills/myths-labs/muse/git-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,663 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00063 $0.01663
Opus 5.5 $0.00025 $0.00665
Sonnet 5.5 $0.00013 $0.00333
Haiku 4.5 $0.00006 $0.00166

Measured 1mo ago against content hash bc3075e6878f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

git-commit scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

cat .claude/CLAUDE.md 2>/dev/null | grep -A 20 -i "commit"
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • commit — 88% identical, 39 lines differ
skills/toolkit/git-commit/SKILL.md · 241 lines

How it starts

The opening of the file, as written. The whole thing — 241 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Git Commit

Creates git commits following Conventional Commits format with proper type, scope, and subject.

Quick Start

# 1. Check for project-specific commit conventions
cat .claude/CLAUDE.md 2>/dev/null | grep -A 20 -i "commit"

# 2. Stage changes
git add <files>  # or: git add -A

# 3. Create commit (branch commit format)
git commit -m "type(scope): subject

Body explaining HOW and WHY.
Reference: Task X.Y, Req N"

Commit Types

Regular Branch Commits (During Development)

Format: type(scope): subject

Type Purpose
feat New feature or functionality
fix Bug fix or issue resolution
refactor Code refactoring without behavior change
perf Performance improvements
test Test additions or modifications
ci CI/CD configuration changes
docs Documentation updates
chore Maintenance, dependencies, tooling
style Code formatting, linting (non-functional)
security Security vulnerability fixes or hardening

Scope (Required, kebab-case)

Examples: validation, auth, cookie-service, template, config, tests, api

Subject Line Rules

  • Max 50 characters after colon
  • Present tense imperative: add, implement, fix, improve, enhance, refactor, remove, prevent
  • NO period at the end
  • Specific and descriptive - state WHAT, not WHY

Core Workflow

1. Check Project Conventions

ALWAYS check first - project may override defaults:

cat .claude/CLAUDE.md 2>/dev/null | grep -A 30 -i "commit"
cat .kiro/steering/*.md 2>/dev/null | grep -A 20 -i "commit"

If project specifies different format, USE PROJECT FORMAT.

2. Review Changes

git status
git diff --staged  # if already staged
git diff           # if not staged

3. Stage Files

git add <specific-files>  # preferred
# or
git add -A  # all changes

NEVER commit:

  • .env, .env.local, .env.prod*, .env.vercel*, credentials.json, secrets
  • .muse/, .agent/, .gemini/, memory/, convo/ — internal files
  • *.pem, *.p12, *.jks, *.key — private keys/certificates
  • Files containing sk-, AIzaSy, gsk_, sk_test_, eyJhbG — API keys/JWT
  • node_modules/, __pycache__/, .venv/
  • Large binary files without explicit approval

Read the full file on GitHub · 241 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 241 lines · 63 tokens per session scan B bc3075e6878f

Subscribe to this mod's changes

git-commit is a skill published in the GitHub repository myths-labs/muse (37 stars, last pushed 22d ago), licensed MIT. It adds 63 tokens to every session and 1,663 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

git-workflow-and-versioning

Structures git workflow practices. Use when making any code change. Use when committing, branching, resolving conflicts, splitting uncommitted work in a messy working tree into clean atomic commits, opening or reviewing a pull request (PR), pushing to a remote, or when you need to organize work across multiple…

addyosmani/agent-skills · 89 tokens

git-advanced-workflows

Master advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.

wshobson/agents · 54 tokens

workflow-patterns

Use this skill when implementing tasks according to Conductor's TDD workflow, handling phase checkpoints, managing git commits for tasks, or understanding the verification protocol.

wshobson/agents · 35 tokens

chinese-commit-conventions

A Chinese-language guide to Conventional Commits, a format for writing consistent Git commit messages, plus related changelog, commit-checking, and commit-helper configuration.

jnMetaCode/superpowers-zh · 65 tokens

work-unit-commits

Plan commits as reviewable work units. Trigger: implementation, commit splitting, chained PRs, or keeping tests and docs with code.

Gentleman-Programming/gentle-ai · 33 tokens

managing-git

Manages Git workflows including branching, commits, and pull requests. Use when working with Git, creating commits, opening PRs, managing branches, resolving conflicts, or when asked about version control best practices.

CloudAI-X/claude-workflow-v2 · 46 tokens