git-master

git-master is a skill for Claude Code, Codex from mrzhangguoguo/oh-my-workbuddy. It costs 45 tokens per session (794 once invoked), scanned A, original, MIT.

A Git workflow assistant for making focused commits, managing branches, changing commit history, and preparing consistent commit messages.

In plain words
What is it for?
Use it for atomic commits, interactive rebases, squashing or splitting commits, branch changes, and history cleanup.
Why use it?
It helps handle complicated Git changes carefully while matching the repository’s existing commit style.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: names the AskUserQuestion tool; mentions Codex.

Good fit Use it for atomic commits, interactive rebases, squashing or splitting commits, branch changes, and history cleanup.

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

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-master

README.md
[![agentmods](https://agentmods.dev/badge/skills/mrzhangguoguo/oh-my-workbuddy/git-master/github.svg)](https://agentmods.dev/skills/mrzhangguoguo/oh-my-workbuddy/git-master)
Your own site
<a href="https://agentmods.dev/skills/mrzhangguoguo/oh-my-workbuddy/git-master"><img src="https://agentmods.dev/badge/skills/mrzhangguoguo/oh-my-workbuddy/git-master/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-master

Your own site · 80×15
<a href="https://agentmods.dev/skills/mrzhangguoguo/oh-my-workbuddy/git-master"><img src="https://agentmods.dev/badge/skills/mrzhangguoguo/oh-my-workbuddy/git-master.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 794 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.00045 $0.00794
Opus 5 $0.00023 $0.00397
Sonnet 5 $0.00009 $0.00159
Haiku 4.5 $0.00005 $0.00079

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

Security

Grade A, and why

git-master 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 10d 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/git-master/SKILL.md · 83 lines

How it starts

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

Ported from oh-my-codex git-master. OMX runtime conventions ($macro invocation, omx CLI, .omx/ state directory) are replaced with WorkBuddy idioms (Skill tool, Agent tool, task list, .workbuddy/memory).

Git Master

Git operations expert. Use this skill whenever the user needs precise, safe git work: atomic commits, interactive rebasing, branch management, history cleanup, or style-consistent commit messages.

Usage

Invoke the git-master skill and describe the git task, e.g.: "rebase my feature branch onto main", "squash these 5 commits", "write a conventional commit for these changes".

Capabilities

  • Atomic commits with conventional-commit format (feat:, fix:, refactor:, docs:, test:, chore:).
  • Interactive rebasing (rebase -i) for reordering, squashing, fixing up.
  • Branch management: create/rename/delete, branch-point detection, divergence check.
  • History cleanup: prune stray commits, rewrite messages, split/join commits.
  • Style detection: read the repo's existing commit history to match its convention before writing new commits.

Workflow

  1. Assess the working tree. Run read-only checks first:

    git status
    git log --oneline -10
    git diff --stat
    

    Detect the repo's commit style from recent history before composing messages.

  2. Plan the operation. For anything destructive (rebase, reset, branch delete, amend of already-pushed commits), use the task list (TaskCreate) to outline steps, and surface a short plan to the user. If the operation rewrites shared/pushed history, ask for explicit confirmation before proceeding (use AskUserQuestion for a clean yes/no).

  3. Execute safely.

    • Prefer --autosquash when queuing fixups.
    • For atomic commits, stage narrowly: git add -p or stage specific paths rather than git add -A.
    • Write messages that match the detected style; default to Conventional Commits when the repo has no clear convention.

Read the full file on GitHub · 83 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. 10d ago First seen · 83 lines · 45 tokens per session scan A 9b6adbd8a3dd

Subscribe to this mod's changes

git-master is a skill published in the GitHub repository mrzhangguoguo/oh-my-workbuddy (2 stars, last pushed 2mo ago), licensed MIT. It adds 45 tokens to every session and 794 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-31.

Related

Other skills, from other repositories

git-workflow-and-versioning

Structures git workflow practices. Use when making any code change. Use when committing, branching, resolving conflicts, splitting uncommitted work in a messy working tree into clean atomic commits, opening or reviewing a pull request (PR), pushing to a remote, or when you need to organize work across multiple…

addyosmani/agent-skills · 89 tokens

chinese-commit-conventions

A Chinese-language guide to Conventional Commits, a format for writing consistent Git commit messages, plus related changelog, commit-checking, and commit-helper configuration.

jnMetaCode/superpowers-zh · 65 tokens

commit

Skill "commit" from clacky-ai/openclacky, covering smart commit skill, critical requirement: single-line commits only, core philosophy, usage and process steps.

clacky-ai/openclacky · 0 tokens

run-work

Execute a work unit end-to-end: sequence tasks by dependency, implement, test between tasks, commit, and track progress. Use to deliver a complete feature in one session. Invoked as /agiflow:run-work . Uses getworkunit, listtasks, updatetask, getworkunitprogress.

hashgraph-online/awesome-codex-plugins · 68 tokens

comet-safe-delivery

A Chinese-language procedure for safely delivering specified Comet changes through Git. It covers checking worktrees and unrelated edits, staging exact files, validating hooks, and authorized commits or pushes.

rpamis/comet · 78 tokens

ac-commit-manager

Manage git commits for autonomous coding. Use when committing feature implementations, creating descriptive commits, managing git workflow, or handling version control.

majiayu000/claude-skill-registry · 31 tokens