commit

commit is a skill for Codex from LegendApp/legend-skills. It costs 26 tokens per session (1,369 once invoked), scanned A, original, MIT.

A tool for creating clean Git commits, which are saved checkpoints of changes in a code project.

In plain words
What is it for?
Use it when you want to commit the current changes, split work into logical commits, or prepare suitable commit messages.
Why use it?
It keeps related changes together, follows the project’s commit-message style, and avoids including unrelated work by accident.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions AGENTS.md.

Good fit Use it when you want to commit the current changes, split work into logical commits, or prepare suitable commit messages.

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

Made for: 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

README.md
[![agentmods](https://agentmods.dev/badge/skills/legendapp/legend-skills/commit/github.svg)](https://agentmods.dev/skills/legendapp/legend-skills/commit)
Your own site
<a href="https://agentmods.dev/skills/legendapp/legend-skills/commit"><img src="https://agentmods.dev/badge/skills/legendapp/legend-skills/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/legendapp/legend-skills/commit"><img src="https://agentmods.dev/badge/skills/legendapp/legend-skills/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,369 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
  • Socket pass 2 Sept 2026
  • Snyk pass 1 Sept 2026
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.00026 $0.01369
Opus 5.5 $0.00010 $0.00548
Sonnet 5.5 $0.00005 $0.00274
Haiku 4.5 $0.00003 $0.00137

Measured 16d ago against content hash 74673dd2ddaa, 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 16d 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.

commit/SKILL.md · 97 lines

How it starts

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

Commit

Use this skill to turn the requested changes into one or more clean commits without absorbing unrelated work.

Scope

  • Default: commit only changes made by the current agent in the current task. Determine ownership from the known starting state, conversation, and tool history; do not infer it merely from the current diff or file path.
  • All changes: inspect and commit the whole working tree only when the user explicitly asks to commit all, everything, or the whole tree.
  • Explicit subset: honor any files, hunks, commits, or exclusions named by the user.
  • Temporary artifacts: exclude investigation-only diagnostics, logs, traces, profiler output, experimental toggles, screenshots, and repro fixtures unless explicitly requested. Keep permanent regression tests; ask if unclear.
  • If change ownership or the requested boundary cannot be determined reliably, stop before staging and ask. Never include pre-existing, concurrent, or user-authored changes by guesswork.

Approval Modes

  • Direct mode: If the user asks to commit, analyze the requested scope and create the needed commit or commits without asking for a separate "go".
  • Plan mode: If the user asks for a plan, asks to review commits first, says to wait, says to prompt or ask before committing, or otherwise requests approval first, present a commit plan and wait for explicit approval such as go before staging or committing. After approval, create all agreed commits without asking again unless the working tree changes unexpectedly.
  • Clarification stop: In any mode, stop before committing if ownership is unclear, mixed hunks cannot be staged safely, repository guidance conflicts with the user's request, or the intended grouping is ambiguous enough that committing would risk losing user intent.
  • Approval response: If a previous turn presented a commit plan and the user now says go, treat that as approval for that plan. Re-check the working tree before staging.

Inspect

Read the full file on GitHub · 97 lines

Files

What ships with it

1 file 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. 16d ago Changed · -3 lines · -39 tokens per session 74673dd2ddaa
  2. 1mo ago First seen · 100 lines · 65 tokens per session scan A 6c97a215aaeb

Subscribe to this mod's changes

commit is a skill published in the GitHub repository LegendApp/legend-skills (40 stars, last pushed 17d ago), licensed MIT. It adds 26 tokens to every session and 1,369 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.