at-commit

at-commit is a skill for Claude Code from kairyou/agent-tools. It costs 33 tokens per session (1,318 once invoked), scanned A, original, MIT.

A guided Git workflow that reads staged changes and prepares a Conventional Commits message, such as `fix: correct login error`. It waits for your confirmation before creating the commit.

In plain words
What is it for?
Use it when you want to commit staged changes or generate a commit message. It can also follow the repository's configured language preference for the message.
Why use it?
It removes the need to inspect the staged diff and write the commit message yourself, while preventing an unintended commit before you approve it.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the agent-tools plugin — 8 skills shipped together

Good fit Use it when you want to commit staged changes or generate a commit message. It can also follow the repository's configured language preference for the message.

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

Made for: Claude Code.

Or install agent-tools, the plugin that ships this one along with the rest of its 8 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kairyou/agent-tools/at-commit"><img src="https://agentmods.dev/badge/skills/kairyou/agent-tools/at-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,318 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 33
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00033 $0.01318
Opus 5.5 $0.00013 $0.00527
Sonnet 5.5 $0.00007 $0.00264
Haiku 4.5 $0.00003 $0.00132

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

Security

Grade A, and why

at-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 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.

skills/workflow/at-commit/SKILL.md · 79 lines

How it starts

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

Commit Message Generator

Workflow

  1. Run git diff --staged to inspect staged changes. If it is empty, tell the user to run git add first and stop.
  2. Determine the description language using the Language Policy below.
  3. Generate the message(s) and show them for confirmation; do not commit immediately. When more than one framing is reasonable, present them as a short numbered list (1), 2), …) so the user can pick by replying with just the number. A single clear message may be shown on its own. The user may also reply with an edit or their own wording.
  4. Run git commit -m only after the user picks or explicitly confirms — a number from the list, "commit", or "ok" all count. Do not run git push unless the user explicitly asks.

Language Policy

Use this priority order for the human-readable description after type(scope)::

  1. Use the language explicitly requested by the user in this turn.
  2. Otherwise use the repository preference in .agent-tools/config.jsonc, if it defines at-commit.language.
  3. Otherwise use the global preference in ~/.agent-tools/config.jsonc, if it defines at-commit.language.
  4. Otherwise use the language of the user's actual invocation text when it contains a clear, independent natural-language request. Ignore injected skill instructions, quoted or pasted content, code blocks, diffs, and tool output.
  5. Otherwise match the dominant language in recent repository commit subjects.
  6. If no dominant language is clear, default to English.

Apply this order literally and stop at the first match. Check items 2 and 3 before item 4. A bare slash command or skill invocation has no language; continue to item 5. Inspect at most the latest 20 subjects.

Keep Conventional Commits syntax tokens untranslated: type, optional scope, !, and BREAKING CHANGE. Keep identifiers, file names, package names, commands, API names, and scopes in their original language.

Persistent Language Preference

Do not write config during ordinary commit generation. If the user explicitly asks to remember a commit-description language, offer to persist it. Ask repo vs global when scope is ambiguous.

Read the full file on GitHub · 79 lines

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 · 33 tokens per session scan A b7761adc3956

Subscribe to this mod's changes

at-commit is a skill published in the GitHub repository kairyou/agent-tools (181 stars, last pushed today), licensed MIT. It adds 33 tokens to every session and 1,318 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-30.

Related

Other skills, from other repositories

cmux-testing

Choose scoped cmux verification, add behavioral tests, and validate Swift test targets and wiring. Use when adding tests or deciding what local/CI evidence a change needs.

manaflow-ai/cmux · 37 tokens

git-workflow

Automate the complete Git development workflow — create feature branches with conventional naming, atomic commits with conventional commit messages, interactive rebase, squash merges, PR body generation from commit history, branch cleanup, and git worktree patterns. Use when user asks to create a branch, commit…

EliasOulkadi/shokunin · 107 tokens

git-master

Advanced Git operations — rebase, squash, fixup, blame, bisect, reflog, code archaeology (git log -S/-G), worktrees. Use when the task mentions rebase, squash, bisect, blame, reflog, fixup, finding deleted code, tracing commit history, cleaning up a branch, or recovering lost work.

znlgis/my-opencode-deepseek-config · 75 tokens

to-tickets

A workflow for turning a written plan or specification into separate GitHub issues, with each issue covering one independently finishable piece of work.

znlgis/my-opencode-deepseek-config · 60 tokens

spec-finish

Post-implementation completion workflow for Spec-backed Plans. Use after spec-implement completes to validate, review, create stacked commits, and open a PR via code-pull-request. Triggers only with an active Spec-backed Plan after spec-implement completes, including when the user says "finish", "done", or "complete"…

martinffx/atelier · 73 tokens

address-pr-feedback

Unified PR feedback workflow - collect, triage, and fix review comments in a single command.

rp1-run/rp1 · 23 tokens