commit-push

commit-push is a skill for Claude Code from d-gangz/dgang-skills. It costs 15 tokens per session (348 once invoked), scanned A, original, MIT.

A workflow for grouping code changes into organized Git commits and pushing them to the current branch. Git is a system for tracking changes to files and sharing them with others.

In plain words
What is it for?
Use it to inspect the working tree, split changes into focused commits, write useful commit messages, and push the results.
Why use it?
Unstructured commits make it harder to understand, review, or find changes later.

Skill for Claude Code

Written for Claude Code: dynamic context !`command`.

Good fit Use it to inspect the working tree, split changes into focused commits, write useful commit messages, and push the results.

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

Made for: Claude Code.

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 commit-push

README.md
[![agentmods](https://agentmods.dev/badge/skills/d-gangz/dgang-skills/commit-push.svg)](https://agentmods.dev/skills/d-gangz/dgang-skills/commit-push)
Your own site
<a href="https://agentmods.dev/skills/d-gangz/dgang-skills/commit-push"><img src="https://agentmods.dev/badge/skills/d-gangz/dgang-skills/commit-push.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 348 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.00015 $0.00348
Opus 5 $0.00008 $0.00174
Sonnet 5 $0.00003 $0.00070
Haiku 4.5 $0.00002 $0.00035

Measured 7d ago against content hash 4ffe83efbd1a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

commit-push 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 7d 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.

skills/commit-push/SKILL.md · 39 lines

What it actually says

Generate organized commits & push changes

Goal: Commits are the retrieval index for future sessions — batch and word them so a later git log reads as a useful changelog of what changed and why.

Pre-fetched context

Current branch: !git branch --show-current

Working tree status:

!`git status --porcelain`

Change summary (staged + unstaged):

!`git diff HEAD --stat`

Steps

  1. Review the context above:

    • If on main/master, warn me but still continue.
    • If there are no changes at all (staged or unstaged), inform me and stop.
    • If there are already staged changes: unstage them with git reset HEAD and explain "Unstaging to create organized batched commits", then proceed with all unstaged changes.
    • If you don't recognize a change from this session's context, read its diff before batching.
  2. Batch the changes into atomic, focused commits. If changes relate to a Linear issue mentioned in conversation, include its magic word (ref) + ID in that commit (e.g., feat(auth): add login, ref INT-42).

  3. Create the commits (proceed immediately, no approval needed). For each batch, git add only that batch's files — never git add . or -A.

  4. Push to the current branch and confirm success.

  5. Report back to user: commits created (message, files), batching rationale, push status.

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. 7d ago First seen · 39 lines · 15 tokens per session scan A 4ffe83efbd1a

Subscribe to this mod's changes

commit-push is a skill published in the GitHub repository d-gangz/dgang-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 15 tokens to every session and 348 once invoked, about $0.0001 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.