auto-commit

auto-commit is a skill for Claude Code from mystilleef/spae-framework. It costs 19 tokens per session (1,199 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.

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 1,199 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.01199
Opus 5.5 $0.00008 $0.00480
Sonnet 5.5 $0.00004 $0.00240
Haiku 4.5 $0.00002 $0.00120

Measured 1mo ago against content hash 92cd68752669, 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 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.

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 · 142 lines

How it starts

The opening of the file, as written. The whole thing — 142 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 before git status.

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 unless safety checks or git errors block completion.

Input

Determine input from the current repository state:

  • Tracked, untracked, staged, unstaged, renamed, deleted, and ignored changes reported by git.
  • Atomic grouping heuristics from references/atomic-git-staging.md.
  • Commit message rules from references/conventional-commit.md.

Workflow

  1. GATE—Run git --no-pager status --porcelain=v2 --branch. Halt on no changes or git error.
  2. ORIENT—Goal: commit all eligible changes as atomic commits. Scope: current project. No changes outside git state.
  3. PLAN—Group files into logical commits. Isolate .gitignore changes. Apply fast path for a single unstaged file.
  4. ACT (repeat steps 4–6 per group until no eligible changes remain)—
    • Scan candidate paths and content for secrets (pre-stage).
    • Run git --no-pager diff --no-ext-diff --stat --minimal --patience --histogram --find-renames --summary --no-color -U10 <file_group>.
    • Run git --no-pager add <file1> <file2> ....
    • Scan staged diff for secrets (pre-commit).
    • Generate conventional commit message.
  5. VERIFY—Confirm staged diff matches intent and all secret checks pass. On failure: unstage, halt, report.
  6. PERSIST—Run git --no-pager commit -m "<message>". Confirm commit success.
  7. REPORT—Emit the result following the result directives and using the result template.

Directives

  • Atomic Grouping: Commit files together only when they must change together, such as implementation plus matching tests.
  • Gitignore Isolation: Commit .gitignore changes separately.
  • Sensitive Path Rules: Hard-block .env* except .env.example, *.key, *.pem, *.p12, *.pfx, *_rsa, *_dsa, id_*, secrets.*, credentials.*, .aws/, .ssh/, and .gnupg/.

Read the full file on GitHub · 142 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. 1mo 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 (1 stars, last pushed 2mo ago), licensed MIT. It adds 19 tokens to every session and 1,199 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

Other skills, from other repositories

git-workflow-and-versioning

Git workflow and versioning practices. Use when committing, branching, resolving conflicts, organizing work across multiple parallel streams, cutting a release, choosing a semantic version bump, tagging, or writing a changelog.

oleg494/coding-kit · 48 tokens

commit-pr

A command for the workflow of committing code, sending it to a remote Git repository, and opening or updating a pull request. A pull request is a proposed change for review and merging.

gitgitWi/council-flow · 139 tokens

batonq-pr-runner

Implements a batonq task end-to-end and opens a pull request. Adds git discipline, branch naming, conventional-commit enforcement, and PR-body conventions on top of batonq-worker. Use when a task explicitly requires a PR (not a direct commit to main) — e.g., tasks running in fire-and-forget mode against repos with…

Salberg87/batonq-skills · 79 tokens

git-workflow

Git workflow patterns including branching strategies, commit conventions, merge vs rebase, conflict resolution, and collaborative development best practices for teams of all sizes.

ronmkr/PromptBook · 33 tokens

setup-pre-commit

Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.

ronmkr/PromptBook · 62 tokens

github-pr-workflow

GitHub PR lifecycle: branch, commit, open, CI, merge.

RobinBeraud/hermes-skills · 20 tokens