commit-all

commit-all is a skill for Claude Code, Codex from savedpixel/ai-agent-rules-generator. It costs 36 tokens per session (526 once invoked), scanned A, original, MIT.

A skill for committing all uncommitted Git changes in grouped batches. Git is the version-control system used to track code changes.

In plain words
What is it for?
Reviewing pending changes, preparing cohesive commits, and pushing them after the required user confirmation.
Why use it?
It organizes related changes into separate commits and adds branch-safety checks before committing or pushing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Reviewing pending changes, preparing cohesive commits, and pushing them after the required user confirmation.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/savedpixel/ai-agent-rules-generator/commit-all/github.svg)](https://agentmods.dev/skills/savedpixel/ai-agent-rules-generator/commit-all)
Your own site
<a href="https://agentmods.dev/skills/savedpixel/ai-agent-rules-generator/commit-all"><img src="https://agentmods.dev/badge/skills/savedpixel/ai-agent-rules-generator/commit-all/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 commit-all

Your own site · 80×15
<a href="https://agentmods.dev/skills/savedpixel/ai-agent-rules-generator/commit-all"><img src="https://agentmods.dev/badge/skills/savedpixel/ai-agent-rules-generator/commit-all.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 526 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.00036 $0.00526
Opus 5.5 $0.00014 $0.00210
Sonnet 5.5 $0.00007 $0.00105
Haiku 4.5 $0.00004 $0.00053

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

Security

Grade A, and why

commit-all 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.

examples/glitch-payment-gateway/v1.1/codex/generated/.agents/skills/commit-all/SKILL.md · 79 lines

What it actually says

Commit All Uncommitted Changes

Stage, commit, and push all uncommitted changes — grouped by relevance so each commit is cohesive.


Branch Safety (BLOCKING GATE)

  1. Check the current branch — run git branch --show-current.
  2. If on master or main — STOP immediately. Do not stage, commit, or push.
  3. Stay on the current branch. Never switch branches.

Steps

1. Assess All Changes

git status --short
git diff --stat

2. Group Changes by Relevance

Cluster files into commit batches based on:

  • Feature/module area
  • Change type (docs, config, source)
  • Logical coupling

Target 1–5 batches. If all related, one batch is fine.

3. For Each Batch — Present 3 Commit Message Options

Before committing each batch:

  1. List the files in the batch
  2. Present 3 numbered commit message options (concise → descriptive)
  3. Wait for the user to pick

4. Stage and Commit Each Batch

git add <explicit-file-paths>
git commit -m "<type>(<scope>): <subject>" -m "<body>"

Never use git add . or git add -A. Always explicit paths.

5. Push

After all batches committed:

  • Ask: "All batches committed. Ready to push to <branch>?"
  • Wait for explicit approval before pushing.

Commit Message Rules

Same rules as the $commit skill:

  • Subject: <type>(<scope>): <summary> — under ~80 chars
  • Types: feat, fix, refactor, docs, style, data, config, chore
  • Body: 2–3 -m flags max, end with Files: list
  • 3 options per batch — user picks.

Rules

  • Never stage without showing batch contents first.
  • Never combine unrelated changes.
  • Never skip the 3-option presentation.
  • One commit per batch, one push at the end.
  • Always ask for explicit user approval.
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 · 79 lines · 36 tokens per session scan A 62bdefcc65e0

Subscribe to this mod's changes

commit-all is a skill published in the GitHub repository savedpixel/ai-agent-rules-generator (8 stars, last pushed 6mo ago), licensed MIT. It adds 36 tokens to every session and 526 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

git-github-flow

Use for branch prep, clean commits, PR descriptions, GitHub issue triage, changelogs, release notes, review response, merge readiness, or publishing a branch safely.

DominikTobureto/awesome-grok-build · 41 tokens

commit

Create a git commit with clear, conventional commit messages. You MUST read this when the user wants to commit staged changes, write a commit message, or finalize code changes with proper conventional commit format since it describes how to follow the user's specific requirements.

jim60105/copilot-prompt · 51 tokens

atomic-commit

Create honest atomic Git commits by choosing one coherent work batch before editing, keeping the whole repository green, resolving every untracked file, staging the entire root with git add ., and pausing for human review before committing. Use when starting commit-sized work, completing a demonstrable implementation…

Accelerated-Innovation/governed-ai-delivery · 102 tokens

git-workflow

Use this skill for anything related to Git and version control workflows. Trigger when the developer asks for help with commit messages, PR descriptions, pull request reviews, branching strategies, changelog generation, release notes, code review etiquette, or Git conventions. Keywords: commit, PR, pull request…

jamestorrevillas/dev-skills · 78 tokens

review-delta

Review only changes since last commit using impact analysis. Token-efficient delta review with automatic blast-radius detection.

tirth8205/code-review-graph · 24 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