commit

commit is a skill for Claude Code from urmzd/dotfiles. It costs 115 tokens per session (625 once invoked), scanned A, original, Apache-2.0.

A Git workflow for turning staged or unstaged changes into a conventional commit, with optional pushing and CI monitoring. Git records code changes and CI checks whether a project still builds or passes tests.

In plain words
What is it for?
It stages changes, creates an atomic commit, optionally pushes the branch, watches the CI run, and reports failed CI logs.
Why use it?
It removes the need to inspect the diff, write a consistent commit message, and run the push and CI steps manually. It also avoids committing files that look like secrets.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit It stages changes, creates an atomic commit, optionally pushes the branch, watches the CI run, and reports failed CI logs.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/urmzd/dotfiles/commit"><img src="https://agentmods.dev/badge/skills/urmzd/dotfiles/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 625 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.00115 $0.00625
Opus 5.5 $0.00046 $0.00250
Sonnet 5.5 $0.00023 $0.00125
Haiku 4.5 $0.00012 $0.00063

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

Security

Grade A, and why

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 3d 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.

dot_agents/skills/commit/SKILL.md · 46 lines

What it actually says

Commit

Commit, push, and watch the CI pipeline.

Steps

  1. Stage changes: Run git status --porcelain. If there are unstaged/untracked changes, stage them (prefer specific files over git add -A; never stage .env or credential files).

  2. Commit: If a message argument is provided, use it. Otherwise, generate a conventional commit message from the diff (feat:, fix:, chore:, docs:, refactor:, test:). Use the repo's recent git log --oneline -10 to match style.

  3. Push (optional): Only if the user wants to push. Run git push. If no upstream is set, use git push -u origin HEAD. If the user only asked for a commit, stop here and report the commit.

  4. Watch CI (optional): After push, run gh run list --branch $(git branch --show-current) --limit 1 --json databaseId,status,conclusion in a loop (max 5 minutes, poll every 15s). Report the final status.

  5. On failure: If CI fails, run gh run view <id> --log-failed and show the relevant error output so the user can decide next steps.

Rules

  • Never commit files that look like secrets (.env, credentials.json, *.pem, *.key).
  • Never force push.
  • If there are no changes to commit, say so and stop.
  • If CI isn't set up (no workflows found), just push and report that there's no CI to watch.

Gotchas

  • The gh run is not registered immediately after git push. Poll with retry (a few attempts, a couple seconds apart) before concluding "no run found" -- the run may take several seconds to appear.
  • If git push is rejected by branch protection (protected branch, required reviews, required status checks), stop and report the rejection. Do not retry, force push, or attempt to bypass protection.
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. 3d ago First seen · 46 lines · 115 tokens per session scan A 2d1ca2e54e02

Subscribe to this mod's changes

commit is a skill published in the GitHub repository urmzd/dotfiles (6 stars, last pushed 4d ago), licensed Apache-2.0. It adds 115 tokens to every session and 625 once invoked, about $0.0005 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-11-27.

Related

commit compared with skills from other repositories

commit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
commiturmzd/dotfilesSkill64d agoApache-2.0A115Claude Code
create-prmagic3007/dotfilesSkill115d agoMITA34Claude Code, Codex
scan-commitmagic3007/dotfilesSkill115d agoMITA35Claude Code, Codex
smart-commitmagic3007/dotfilesSkill115d agoMITA19Claude Code, Codex
gen-commit-msgmagic3007/dotfilesSkill115d agoMITA19Claude Code, Codex
git-rebuild-historymagic3007/dotfilesSkill115d agoMITC193Claude Code, Codex
commitooloth/dotfilesSkill24todaynoneA86Claude Code