snr-git

snr-git is a command for Claude Code from Kin9Zeus/senior-engineer-skills. It costs 49 tokens per session (645 once invoked), scanned A, original, MIT.

A command for setting up, repairing, and reviewing a Git repository and its GitHub settings. Git is a system for recording code changes, while GitHub hosts repositories and supports collaboration.

In plain words
What is it for?
Use it to create repository rules, configure ignore files and CI, review branches and commits, recover from Git mistakes, set up Dependabot and security checks, and prepare releases.
Why use it?
It helps avoid lost work, poor commit history, accidental secret exposure, unsafe automation, and risky repository changes. It also requires confirmation before actions such as force-pushing, publishing, or deleting branches.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash skills/git-github-workflow/scripts/git-hygiene.sh . # PowerShell: git-hygiene.ps1.

Part of the senior-engineer-skills plugin — 26 skills, 20 commands, 13 agents shipped together

Good fit Use it to create repository rules, configure ignore files and CI, review branches and commits, recover from Git mistakes, set up Dependabot and security checks, and prepare releases.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Kin9Zeus/senior-engineer-skills
agentmods
npx agentmods add commands/kin9zeus/senior-engineer-skills/snr-git

Made for: Claude Code.

Or install senior-engineer-skills, the plugin that ships this one along with the rest of its 26 skills, 20 commands, 13 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/kin9zeus/senior-engineer-skills/snr-git/github.svg)](https://agentmods.dev/commands/kin9zeus/senior-engineer-skills/snr-git)
Your own site
<a href="https://agentmods.dev/commands/kin9zeus/senior-engineer-skills/snr-git"><img src="https://agentmods.dev/badge/commands/kin9zeus/senior-engineer-skills/snr-git/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 snr-git

Your own site · 80×15
<a href="https://agentmods.dev/commands/kin9zeus/senior-engineer-skills/snr-git"><img src="https://agentmods.dev/badge/commands/kin9zeus/senior-engineer-skills/snr-git.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 645 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.00049 $0.00645
Opus 5.5 $0.00020 $0.00258
Sonnet 5.5 $0.00010 $0.00129
Haiku 4.5 $0.00005 $0.00064

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

Security

Grade A, and why

snr-git 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 3d 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.

commands/snr-git.md · 58 lines

How it starts

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

Git and GitHub

Task: $ARGUMENTS (default: audit this repository).

Load git-github-workflow. Outward-facing or irreversible steps need explicit confirmation each time: making a repository public, pushing to a branch that auto-deploys, force-pushing, publishing a release, deleting branches or tags, changing repository or organisation settings. State exactly what will happen and wait for a clear yes.

Audit (default)

bash skills/git-github-workflow/scripts/git-hygiene.sh .       # PowerShell: git-hygiene.ps1

Leads, not findings. Then read the workflows, .gitignore, .gitattributes, templates, tags and recent history. Server-side settings (rulesets, required checks, secret scanning, push protection, vulnerability reporting) cannot be seen locally — check them with gh api or the Settings pages and report what you could not read.

Set up / repair

Order: create private → .gitignore, .gitattributes, LICENSE, README, SECURITY.md → first commit on main → everything after via branches and PRs → ruleset (no force-push or deletion; required checks; approvals only if a second reviewer exists) → CI + Dependabot + secret scanning/push protection → PR template, issue forms, CODEOWNERS for sensitive paths → verify with a fresh clone. Templates in templates/.

Commits and PRs

One logical change per commit; subject ≤ 72 chars in the imperative; the body says why; match the repo's style and language. After every commit run git show --stat HEAD and confirm it contains exactly what was intended. Prefer branch → PR → merge; delete merged branches only. Never rewrite published history for cosmetics.

Before anything goes public (gate)

Scan the whole history for secrets (a dedicated scanner plus security-hardening/scripts/secret-scan.sh); a found secret is rotated first, then history is cleaned — never "fixed" by deleting the file. No personal or client data; the right to publish confirmed; licence decided; no large binaries; README facts verified. Then ask the owner for an explicit yes.

Read the full file on GitHub · 58 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. 3d ago First seen · 58 lines · 49 tokens per session scan A c700e4db1d16

Subscribe to this mod's changes

snr-git is a command published in the GitHub repository Kin9Zeus/senior-engineer-skills (4 stars, last pushed 3d ago), licensed MIT. It adds 49 tokens to every session and 645 once invoked, about $0.0002 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-12-01.

Related

snr-git compared with commands from other repositories

snr-git next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
snr-gitKin9Zeus/senior-engineer-skillsCommand43d agoMITA49Claude Code
commitfusengine/agentsCommand341mo agoMITA31Claude Code
commit-push-pranthropics/claude-plugins-officialCommand49ktodayApache-2.0A8Claude Code
cmalirezarezvani/claude-skillsCommand31kyesterdayMITA13Claude Code
remove-deadcodecode-yeongyu/oh-my-openagentCommand71ktodaynoneA20OpenCode
get-unpublished-changescode-yeongyu/oh-my-openagentCommand71ktodaynoneA16OpenCode
commit-claude-configsolanabr/solana-ai-kitCommand1042mo agoMITA25Claude Code