git-commit

git-commit is a skill for Claude Code from LandonSchropp/agent-toolkit. It costs 10 tokens per session (557 once invoked), scanned A, original, MIT.

Instructions for creating Git commits, which are saved snapshots of changes in a code repository.

In plain words
What is it for?
Use them when preparing and creating a Git commit.
Why use it?
They provide a defined process for recording changes instead of making commits inconsistently.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ls-git plugin — 8 skills, 1 hook shipped together

Good fit Use them when preparing and creating a Git commit.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/landonschropp/agent-toolkit/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 LandonSchropp/agent-toolkit --skill git-commit
Clone the repo
git clone --depth 1 https://github.com/LandonSchropp/agent-toolkit

Made for: Claude Code.

Or install ls-git, the plugin that ships this one along with the rest of its 8 skills, 1 hook.

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/landonschropp/agent-toolkit/git-commit/github.svg)](https://agentmods.dev/skills/landonschropp/agent-toolkit/git-commit)
Your own site
<a href="https://agentmods.dev/skills/landonschropp/agent-toolkit/git-commit"><img src="https://agentmods.dev/badge/skills/landonschropp/agent-toolkit/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/landonschropp/agent-toolkit/git-commit"><img src="https://agentmods.dev/badge/skills/landonschropp/agent-toolkit/git-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 557 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00010 $0.00557
Opus 5.5 $0.00004 $0.00223
Sonnet 5.5 $0.00002 $0.00111
Haiku 4.5 $0.00001 $0.00056

Measured 1mo ago against content hash cc52cfc4fa1e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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.

plugins/ls-git/skills/git-commit/SKILL.md · 80 lines

How it starts

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

Git Commit

Staged Changes

Run git status to see what changes are staged for commit. If there are no staged changes, stage all modified files.

Title

Create a clear, succinct title that explains what the commit accomplishes. Brief - only the essentials.

Use imperative mood: "Add feature" not "Added feature" or "Adds feature"

Good examples:

  • Add user authentication
  • Fix memory leak in parser
  • Update dependencies
  • Remove deprecated API endpoints

Avoid overly detailed titles and phrases like "This commit..." or "Changes to..."

Body

MOST COMMITS SHOULD HAVE NO BODY. DO NOT ADD A BODY UNLESS ABSOLUTELY NECESSARY. A title-only commit is almost always better.

Before adding a body, ask yourself: Does this body add information that isn't obvious from the title? If the body just expands on what the title already says, delete it.

Bad example:

Add writing-markdown skill

- Add SKILL.md with instructions
- Add scripts/resource-paths script

The body just restates "Add writing-markdown skill" in more words. Delete the body.

Only add a body when the title genuinely can't capture important context. The body must contain non-redundant detail that adds real value.

Write bodies in markdown. Use markdown formatting for lists, emphasis, code, etc.

Common patterns (only when a body is truly necessary):

  • Simple context (1-2 sentences): Explain the "why" or rationale when it's not obvious
  • Bullet list: List specific changes when there are multiple distinct items
  • Paragraph + bullet list: Provide context, then list specific changes under a "Changes:" header
  • Multiple sections: Use headers to organize complex changes (e.g., "Changes:" and "Template-specific changes:")

The title says "what" - the body explains "why" or provides specific details

Create Commit

Create the commit using a heredoc to preserve formatting:

git commit -m "$(cat <<'EOF'
Commit title here

Optional body here.
EOF
)"

Rationalizations

Read the full file on GitHub · 80 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 Changed · +1 lines · +4 tokens per session cc52cfc4fa1e
  2. 1mo ago First seen · 79 lines · 6 tokens per session scan A ac5327a5cc9d

Subscribe to this mod's changes

git-commit is a skill published in the GitHub repository LandonSchropp/agent-toolkit (3 stars, last pushed today), licensed MIT. It adds 10 tokens to every session and 557 once invoked, about $0.0000 per session on Opus 5.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.