Git Commit

Git Commit is a skill for Claude Code, Codex from 0xMassi/claude-skills. It costs 56 tokens per session (1,543 once invoked), scanned A, original, MIT.

A guide for writing Conventional Commits, a structured format for describing code changes, with optional Jira links. It can also commit and push the finished changes.

In plain words
What is it for?
Use it when creating a commit, choosing a commit message, linking work to a Jira issue, or committing and pushing completed changes.
Why use it?
It helps teams understand project history and connect changes to tracked work, while checking the current branch, staged changes, and recent commits first.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/0xmassi/claude-skills/git-commit
Any agent
npx skills add 0xMassi/claude-skills --skill git-commit
Clone the repo
git clone --depth 1 https://github.com/0xMassi/claude-skills

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/0xmassi/claude-skills/git-commit.svg)](https://agentmods.dev/skills/0xmassi/claude-skills/git-commit)
Your own site
<a href="https://agentmods.dev/skills/0xmassi/claude-skills/git-commit"><img src="https://agentmods.dev/badge/skills/0xmassi/claude-skills/git-commit.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,543 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00056 $0.01543
Opus 5 $0.00028 $0.00772
Sonnet 5 $0.00011 $0.00309
Haiku 4.5 $0.00006 $0.00154

Measured 3d ago against content hash 5041a0672fe8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Git Commit scanned grade A with 0 findings 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 3d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

git-commit/SKILL.md · 234 lines

How it starts

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

Git Commit

Generate Conventional Commits messages that tell a complete story for future code archeology, with Jira ticket context integration.

When to Use This Skill

Activate this skill when:

  • The user types "commit" or "git commit" (with or without slash command)
  • The user says "commit this" or "let's commit"
  • The user asks to create a commit message
  • Work is complete and ready to commit
  • The user mentions committing or pushing changes

Critical Rules

IMPORTANT: NEVER EVER ADD CO-AUTHOR TO THE GIT COMMIT MESSAGE NEVER mention Claude Code in commit messages

Workflow

1. Gather Context

First, collect information about the current state:

# Current git status
git status

# Current git diff (staged changes)
git diff --staged

# Recent commits for context
git log --oneline -5

# Current branch
git branch --show-current

2. Extract Jira Ticket Context (if applicable)

Parse the current branch name to find Jira ticket IDs using these patterns:

  • PROJ-123-feature-name
  • feature/PROJ-123-description
  • PROJ-123

If a Jira ticket ID is found:

  • Use mcp__zapier__jira_software_cloud_find_issue_by_key to fetch ticket details
  • Get title, description, acceptance criteria, comments
  • Use this context to understand the broader purpose of the changes

3. Human-in-the-Loop - Ask for Context

ALWAYS use the AskUserQuestion tool to ask WHY the change was made.

Based on the diff and Jira context (if available), generate 3-4 plausible options for why the change was made. Present these as multiple choice options using AskUserQuestion.

Example:

Question: "Why did you make these changes?"
Options:
- "Fix bug where X was causing Y"
- "Add new feature for Z"
- "Refactor to improve maintainability"
- (User can always select "Other" to provide custom explanation)

The options should be specific to the actual changes observed in the diff, not generic. Analyze the code changes to infer likely motivations.

Wait for their response and incorporate their explanation into the commit message.

Read the full file on GitHub · 234 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. 3d ago First seen · 234 lines · 56 tokens per session scan A 5041a0672fe8

Subscribe to this mod's changes

Git Commit is a skill published in the GitHub repository 0xMassi/claude-skills (7 stars, last pushed 4mo ago), licensed MIT. It adds 56 tokens to every session and 1,543 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories