butgo-specdrive-lab: Skill for Codex

.agents/skills/git-commit/SKILL.md

git-commit is a skill for Codex from butgo/butgo-specdrive-lab. It costs 25 tokens per session (321 once invoked), scanned A, original, MIT.

A guided workflow for saving changes with Git, the tool developers use to track code history. It covers staging files, preparing a message, checking the branch, and pushing to a shared remote repository.

In plain words
What is it for?
Use it to commit current repository changes and, when approved, push them to the matching branch on the remote repository.
Why use it?
It removes uncertainty around the basic commit-and-push sequence and adds a check before creating a new remote branch.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); $skill-name invocation.

This is butgo/butgo-specdrive-lab's own configuration. It tells Codex how to work on butgo-specdrive-lab itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything butgo-specdrive-lab configures →

Reuse

Borrowing it

Nothing to install: this file belongs to butgo/butgo-specdrive-lab. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/butgo/butgo-specdrive-lab/main/.agents/skills/git-commit/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/butgo/butgo-specdrive-lab

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/butgo/butgo-specdrive-lab/git-commit"><img src="https://agentmods.dev/badge/skills/butgo/butgo-specdrive-lab/git-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 321 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.00025 $0.00321
Opus 5.5 $0.00010 $0.00128
Sonnet 5.5 $0.00005 $0.00064
Haiku 4.5 $0.00003 $0.00032

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

Security

Grade A, and why

git-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 2mo 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.

.agents/skills/git-commit/SKILL.md · 65 lines

What it actually says

Git Commit

Use the simplest flow.

Preferred argument-based invocation:

$git commit

Rule

  • Excluded files are controlled only by .gitignore.
  • Stage with git add ..
  • Generate the commit message from docs/projects/standards/git-policy.md.
  • Commit with the approved message.
  • Before push, check whether the current branch exists on origin.
  • If the remote branch exists, push with git push.
  • If the remote branch does not exist, report that and use git push -u origin <current-branch> only after approval.

Flow

  1. Check current branch.
  2. Check git status --short.
  3. Propose one commit message.
  4. After approval, run:
git add .
git commit -m "<message>"
  1. Before push, check remote branch existence:
git ls-remote --heads origin <current-branch>
  1. If the branch exists on origin, run:
git push
  1. If the branch does not exist on origin, ask approval for the upstream push, then run:
git push -u origin <current-branch>

Output

Keep output minimal:

  • branch
  • remote branch existence before push
  • proposed commit message
  • approval prompt
  • final result
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. 2mo ago First seen · 65 lines · 25 tokens per session scan A 2bdd160d3baf

Subscribe to this mod's changes

git-commit is a skill published in the GitHub repository butgo/butgo-specdrive-lab (1 stars, last pushed 6mo ago), licensed MIT. It adds 25 tokens to every session and 321 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-31.

Related

git-commit compared with skills from other repositories

git-commit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
git-commitbutgo/butgo-specdrive-labSkill16mo agoMITA25Codex
git-guardiansuryast/free-ai-agent-skillsSkill214d agoMITB62Claude Code, Codex
gitasgeirtj/system_prompts_leaksSkill71k2d agoCC0-1.0A163Claude Code
contextual-commityamadashy/repomixSkill29kyesterdayMITA62Claude Code, Codex
changelogDonchitos/Claude-Code-Game-StudiosSkill36k19d agoMITA22Claude Code
git-commitspinabot/brigadeSkill11k2d agoMITA46Claude Code, Codex
git-commitThinkInAIXYZ/deepchatSkill6.4kyesterdayApache-2.0A15Claude Code, Codex