git-commits-and-prs

git-commits-and-prs is a skill for Claude Code, Codex from sergezuber/FABULA-LLM-5. It costs 42 tokens per session (1,194 once invoked), scanned A, original, MIT.

A step-by-step procedure for creating Git commits and GitHub pull requests. A commit is a saved change in Git, and a pull request asks a project to review and merge changes.

In plain words
What is it for?
Use it before making a commit or opening a GitHub pull request, especially when checking staged changes, commit rules, amend conditions, and pull-request commands.
Why use it?
It reduces mistakes when writing commit messages, staging files, creating pull requests, or responding to hooks and failed commits.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it before making a commit or opening a GitHub pull request, especially when checking staged changes, commit rules, amend conditions, and pull-request commands.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sergezuber/fabula-llm-5/git-commits-and-prs
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 sergezuber/FABULA-LLM-5 --skill git-commits-and-prs
Clone the repo
git clone --depth 1 https://github.com/sergezuber/FABULA-LLM-5

Made for: Claude Code, 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-commits-and-prs

README.md
[![agentmods](https://agentmods.dev/badge/skills/sergezuber/fabula-llm-5/git-commits-and-prs/github.svg)](https://agentmods.dev/skills/sergezuber/fabula-llm-5/git-commits-and-prs)
Your own site
<a href="https://agentmods.dev/skills/sergezuber/fabula-llm-5/git-commits-and-prs"><img src="https://agentmods.dev/badge/skills/sergezuber/fabula-llm-5/git-commits-and-prs/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-commits-and-prs

Your own site · 80×15
<a href="https://agentmods.dev/skills/sergezuber/fabula-llm-5/git-commits-and-prs"><img src="https://agentmods.dev/badge/skills/sergezuber/fabula-llm-5/git-commits-and-prs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,194 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 high

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 →

  • high Privilege Escalation · line 31
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
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.00042 $0.01194
Opus 5 $0.00021 $0.00597
Sonnet 5 $0.00008 $0.00239
Haiku 4.5 $0.00004 $0.00119

Measured 12d ago against content hash 851e1f20c72f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

git-commits-and-prs 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 12d 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.

engine/packages/opencode/src/skill/builtin/.bundle/git-commits-and-prs/SKILL.md · 75 lines

How it starts

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

Git commits and pull requests

Committing changes with git

Only create commits when requested by the user. If unclear, ask first. When the user asks you to create a new git commit, follow these steps carefully:

Git Safety Protocol:

  • NEVER update the git config
  • NEVER run destructive/irreversible git commands (like push --force, hard reset, etc) unless the user explicitly requests them
  • NEVER skip hooks (--no-verify, --no-gpg-sign, etc) unless the user explicitly requests it
  • NEVER run force push to main/master, warn the user if they request it
  • Avoid git commit --amend. ONLY use --amend when ALL conditions are met: (1) User explicitly requested amend, OR commit SUCCEEDED but pre-commit hook auto-modified files that need including (2) HEAD commit was created by you in this conversation (verify: git log -1 --format='%an %ae') (3) Commit has NOT been pushed to remote (verify: git status shows "Your branch is ahead")
  • CRITICAL: If commit FAILED or was REJECTED by hook, NEVER amend - fix the issue and create a NEW commit
  • CRITICAL: If you already pushed to remote, NEVER amend unless user explicitly requests it (requires force push)
  • NEVER commit changes unless the user explicitly asks you to. It is VERY IMPORTANT to only commit when explicitly asked, otherwise the user will feel that you are being too proactive.
  1. You can call multiple tools in a single response. When multiple independent pieces of information are requested and all commands are likely to succeed, run the following bash commands in parallel, each using the Bash tool:
  • Run a git status command to see all untracked files.
  • Run a git diff command to see both staged and unstaged changes that will be committed.
  • Run a git log command to see recent commit messages, so that you can follow this repository's commit message style.
  1. Analyze all staged changes (both previously staged and newly added) and draft a commit message:
  • Summarize the nature of the changes (eg. new feature, enhancement to an existing feature, bug fix, refactoring, test, docs, etc.). Ensure the message accurately reflects the changes and their purpose (i.e. "add" means a wholly new feature, "update" means an enhancement to an existing feature, "fix" means a bug fix, etc.).
  • Do not commit files that likely contain secrets (.env, credentials.json, etc.). Warn the user if they specifically request to commit those files
  • Draft a concise (1-2 sentences) commit message that focuses on the "why" rather than the "what"
  • Ensure it accurately reflects the changes and their purpose
  1. Run the following commands (status depends on the commit completing, so run it sequentially after the commit):
    • Add relevant untracked files to the staging area.
    • Create the commit with a message
    • Run git status after the commit completes to verify success.
  2. If the commit fails due to pre-commit hook, fix the issue and create a NEW commit (see amend rules above)

Read the full file on GitHub · 75 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. 12d ago First seen · 75 lines · 42 tokens per session scan A 851e1f20c72f

Subscribe to this mod's changes

git-commits-and-prs is a skill published in the GitHub repository sergezuber/FABULA-LLM-5 (83 stars, last pushed 11d ago), licensed MIT. It adds 42 tokens to every session and 1,194 once invoked, about $0.0002 per session on Opus 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.