auto-commit

auto-commit is a skill for Claude Code from mystilleef/spae-framework. It costs 19 tokens per session (4,890 once invoked), scanned C, original, MIT.

An agent that groups, stages, and commits repository changes into separate atomic commits. Staging selects changes for a commit, and a repository is the project’s version-controlled file store.

In plain words
What is it for?
Use it to turn eligible current-project changes into logical commits with standard commit messages.
Why use it?
It organizes pending changes, avoids committing detected secrets, and leaves a clean working tree when possible.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions AGENTS.md.

Good fit Use it to turn eligible current-project changes into logical commits with standard commit messages.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/mystilleef/spae-framework/auto-commit/github.svg)](https://agentmods.dev/skills/mystilleef/spae-framework/auto-commit)
Your own site
<a href="https://agentmods.dev/skills/mystilleef/spae-framework/auto-commit"><img src="https://agentmods.dev/badge/skills/mystilleef/spae-framework/auto-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 auto-commit

Your own site · 80×15
<a href="https://agentmods.dev/skills/mystilleef/spae-framework/auto-commit"><img src="https://agentmods.dev/badge/skills/mystilleef/spae-framework/auto-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,890 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 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.00019 $0.04890
Opus 5.5 $0.00008 $0.01956
Sonnet 5.5 $0.00004 $0.00978
Haiku 4.5 $0.00002 $0.00489

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

Security

Grade C, and why

auto-commit scanned grade C 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 6d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- prettier-ignore-start -->
skills/auto-commit/SKILL.md · 419 lines

How it starts

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

Auto-commit agent

When to use

  • Invoke for any repository with pending changes that should land as atomic commits.
  • Execute immediately upon invocation. Never wait for user input or confirmation.

Goal

  • Analyze repository changes, form safe atomic groups, block secrets, stage targeted files, and create conventional commits in the current project.
  • Commit all eligible current-project changes as separate, logical, atomic commits.
  • Leave the working tree clean, except paths held back with a reported reason.

Input

Determine input from the current repository state:

  • Tracked, untracked, staged, unstaged, renamed, and deleted changes reported by git.
  • The coupling-evidence and ignore-evidence catalogs in references/atomic-git-staging.md.
  • Commit message rules in references/conventional-commit.md.
  • Contributor docs and commit history for Commit Vocabulary.

Workflow

  1. GATE—Run git --no-pager status --porcelain=v2 --branch. Halt on no changes, git error, or any Repository State failure.
  2. ORIENT—Goal: commit all eligible changes as atomic commits. Scope: current project, with file edits limited to adding ignore entries to repository-root .gitignore.
  3. PLAN—
    • Read the GATE index per Staged Index.
    • Classify untracked paths per Ignore Rules.
    • Exclude commit-bound paths per Large Files.
    • Group remaining changes per Atomic Grouping, splitting files per Hunk Staging.
    • Order groups per Commit Order.
    • Apply fast path when grouping yields a single unstaged file needing no split.
  4. ACT (repeat steps 4–6 per group, in Commit Order, until no eligible changes remain)—
    • First pass: clear a non-curated, non-empty index per Staged Index.
    • Ignore group: add queued entries to repository-root .gitignore per Ignore Rules.
    • Pre-stage scan: check candidate paths and content against Sensitive Path Rules and Sensitive Content Rules.
    • Review the group: git --no-pager diff --no-ext-diff --histogram --find-renames --patch-with-stat -U10 -- <files>, adding --cached for the pre-staged group. Read untracked files directly.
    • Stage: git --no-pager add -- <files> for whole files, Hunk Staging for split files, nothing for the pre-staged group.
    • Pre-commit scan: check the staged diff per Secret Scanners and Conflict Markers.
    • Write the message per Commit Vocabulary.
  5. VERIFY—Confirm the staged diff matches intent and every pre-commit scan passes.
    • Ignore group: the staged diff touches only .gitignore files, agent-added lines match queued entries, and a re-run of git --no-pager status --porcelain=v2 --branch omits every queued path.
    • On failure: unstage, halt, report—except:
      • Ignore group: keep .gitignore edits—reverting risks clobbering pending user edits—and list the ignore entries.
      • Pre-staged group: keep its index, except flagged files per On Secret Match.
  6. PERSIST—Run git --no-pager commit -m "<message>" per Commit Hooks. Confirm commit success or a contained Hook Rejection.
  7. REPORT—Emit the result following the result directives and using the result template.

Read the full file on GitHub · 419 lines

Files

What ships with it

2 files 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. 6d ago Changed · +29 lines 4be64ebc6daf
  2. 10d ago Changed · -11 lines aacd4296226b
  3. 13d ago Changed de407ef553c1
  4. 18d ago Changed · +252 lines 7fcde4684739
  5. 21d ago Changed · +7 lines 4b08ec390e7c
  6. 1mo ago Changed 9977130a4c8c
  7. 3mo ago First seen · 142 lines · 19 tokens per session scan C 92cd68752669

Subscribe to this mod's changes

auto-commit is a skill published in the GitHub repository mystilleef/spae-framework (2 stars, last pushed 5d ago), licensed MIT. It adds 19 tokens to every session and 4,890 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

auto-commit compared with skills from other repositories

auto-commit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
auto-commitmystilleef/spae-frameworkSkill25d agoMITC19Claude Code
wtfp-contributeakougkas/wtf-pSkill206d agoMITA21Claude Code
seo-driftRobinBeraud/hermes-skillsSkill11yesterdaynoneA86Claude Code
env-secrets-scannerRobinBeraud/hermes-skillsSkill11yesterdaynoneA39Claude Code, Codex
git-workflow-and-versioningoleg494/coding-kitSkill314d agoMITC95Claude Code, Codex
github-pr-workflowRobinBeraud/hermes-skillsSkill11yesterdaynoneD20Claude Code, Codex
batonq-pr-runnerSalberg87/batonq-skillsSkill17mo agononeA79Claude Code