git-ops

git-ops is a skill for Claude Code, Codex from NickCrew/Claude-Cortex. It costs 29 tokens per session (298 once invoked), scanned A, original, MIT.

A guide for carrying out Git operations safely and writing conventional commit messages, which follow a shared format for describing code changes.

In plain words
What is it for?
Use it to check repository state, manage branches and merges, run Git commands, and create clear commit messages.
Why use it?
It helps prevent risky Git commands, unclear commit history, and workflow mistakes when working with branches, merges, pushes, and pulls.

Skill for Claude CodeCodex

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

Good fit Use it to check repository state, manage branches and merges, run Git commands, and create clear commit messages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nickcrew/claude-cortex/git-ops
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 NickCrew/Claude-Cortex --skill git-ops
Clone the repo
git clone --depth 1 https://github.com/NickCrew/Claude-Cortex

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/nickcrew/claude-cortex/git-ops.svg)](https://agentmods.dev/skills/nickcrew/claude-cortex/git-ops)
Your own site
<a href="https://agentmods.dev/skills/nickcrew/claude-cortex/git-ops"><img src="https://agentmods.dev/badge/skills/nickcrew/claude-cortex/git-ops.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 298 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.00029 $0.00298
Opus 5 $0.00015 $0.00149
Sonnet 5 $0.00006 $0.00060
Haiku 4.5 $0.00003 $0.00030

Measured 4d ago against content hash 4198d80eb764, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

git-ops 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 4d 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-ops/SKILL.md · 53 lines

What it actually says

Git Ops

Overview

Execute git operations safely while producing clear, conventional commit messages and workflow guidance.

When to Use

  • Running git commands (status, add, commit, push, pull)
  • Generating smart commit messages
  • Managing branches and merges

Avoid when:

  • The task is unrelated to git operations

Quick Reference

Task Load reference
Git operations skills/git-ops/references/git.md
Branching Strategies skills/git-ops/references/branching-strategies.md

Workflow

  1. Confirm repository state and intent.
  2. Load the git operations reference.
  3. Execute the command safely.
  4. Provide status summary and next steps.

Output

  • Operation result summary
  • Suggested follow-ups or warnings

Common Mistakes

  • Running destructive commands without confirmation
  • Writing non-standard commit messages
Files

What ships with it

2 files 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. 4d ago First seen · 53 lines · 29 tokens per session scan A 4198d80eb764

Subscribe to this mod's changes

git-ops is a skill published in the GitHub repository NickCrew/Claude-Cortex (38 stars, last pushed 2mo ago), licensed MIT. It adds 29 tokens to every session and 298 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

changelog

Auto-generates a changelog from git commits, sprint data, and design documents. Produces both internal and player-facing versions.

Donchitos/Claude-Code-Game-Studios · 29 tokens

git-commit

Generate conventional commit messages for Java projects. Use when user says "commit", "create commit", "commit changes", or after completing code changes that need to be committed.

decebals/claude-code-java · 38 tokens

safe-workflow

SAFe development workflow guidance including branch naming conventions, commit message format, rebase-first workflow, and CI validation. Use when starting work on a Linear ticket, preparing commits, creating branches, writing PR descriptions, or asking about contribution guidelines.

bybren-llc/safe-agentic-workflow · 52 tokens

conventional-commits

Use when uncommitted changes need to be split into atomic, conventional commits ordered for review. Triggers on "commit this", "make commits", "clean up commits", "commit the changes". In Hedgehog, each Loop step is already meant to be its own commit — this skill matters most when a Correction Protocol fast-forward…

skyf0xx/hedgehog · 88 tokens

pr-writing

Use whenever writing a PR title/description, a commit message body, a code review comment, or an issue — in Hedgehog's own repo or any consuming project. Triggers on "open a PR", "write the PR description", "comment on this PR", "file an issue". Covers writing style (terse, info-dense, Simplified Technical English)…

skyf0xx/hedgehog · 107 tokens

configure-git-repository

Configure a Git repository with proper .gitignore, branch strategy, commit conventions, hooks, and remote setup. Covers initial setup and common patterns for R, Node.js, and Python projects. Use when initializing version control for a new project, adding a .gitignore for a specific language or framework, setting up…

pjt222/agent-almanac · 78 tokens