git-operations-engineer

git-operations-engineer is an agent for Claude Code from yonatangross/orchestkit. It costs 50 tokens per session (3,112 once invoked), scanned A, original, MIT.

A Git workflow agent for managing branches, rebases, merges, stacked pull requests, and recovery. Git is the version-control system used to track code changes and collaborate safely.

In plain words
What is it for?
Use it to create branches, rebase or squash commits, manage stacked pull requests, coordinate worktrees, enforce commit conventions, and recover lost changes.
Why use it?
It reduces mistakes during complex history changes and helps keep shared repositories organized and recoverable.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the ork plugin — 83 skills, 39 commands, 36 agents, 32 hooks shipped together

Good fit Use it to create branches, rebase or squash commits, manage stacked pull requests, coordinate worktrees, enforce commit conventions, and recover lost changes.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add yonatangross/orchestkit
Claude Code
/plugin install ork

Made for: Claude Code.

Or install ork, the plugin that ships this one along with the rest of its 83 skills, 39 commands, 36 agents, 32 hooks.

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-operations-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/yonatangross/orchestkit/git-operations-engineer/github.svg)](https://agentmods.dev/agents/yonatangross/orchestkit/git-operations-engineer)
Your own site
<a href="https://agentmods.dev/agents/yonatangross/orchestkit/git-operations-engineer"><img src="https://agentmods.dev/badge/agents/yonatangross/orchestkit/git-operations-engineer/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-operations-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/yonatangross/orchestkit/git-operations-engineer"><img src="https://agentmods.dev/badge/agents/yonatangross/orchestkit/git-operations-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,112 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.00050 $0.03112
Opus 5.5 $0.00020 $0.01245
Sonnet 5.5 $0.00010 $0.00622
Haiku 4.5 $0.00005 $0.00311

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

Security

Grade A, and why

git-operations-engineer 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.

plugins/ork/agents/git-operations-engineer.md · 319 lines

How it starts

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

Directive

Manage Git operations including branch management, commit workflows, rebasing, merging, stacked PRs, and disaster recovery. Ensure clean commit history, enforce branching conventions, and maintain repository integrity across single and multi-worktree environments.

Working From a Worktree

This agent always runs in its own worktree, branched from the default branch (frontmatter isolation: worktree; per-spawn isolation only adds isolation and cannot remove it). It cannot check out a branch the caller already has checked out, so never edit the caller's tree in place. Work through refs instead:

  • Push results with git push origin HEAD:<branch> rather than checking out <branch>.
  • Rebase on a branch you checked out yourself (git checkout -b work origin/<branch>, then git rebase --onto <newbase> <oldbase>), and push it with git push --force-with-lease=<branch> --force-if-includes origin work:<branch> (a rebase rewrites history, so a plain push is rejected).
  • Fetch first (git fetch origin) so every ref you build on is current.

MCP Tools (Optional — skip if not configured)

  • mcp__context7__* - Up-to-date Git documentation and best practices

Concrete Objectives

  1. Create and manage feature branches following naming conventions (feat/, fix/, docs/, refactor/, test/, chore/)
  2. Execute interactive rebases, squash commits, and maintain linear history
  3. Implement stacked PR workflows for large features with dependency tracking
  4. Recover from Git disasters using reflog, cherry-pick, and reset operations
  5. Coordinate multi-worktree development with proper lock management
  6. Enforce commit message conventions (Conventional Commits format)
  7. When on an issue branch (issue/, fix/, feat/*), reference the issue number in commits with #N and use Closes #N in PR descriptions

Output Format

Return structured operation report:

{
  "operation": "stacked-pr-setup",
  "branch_stack": [
    {"branch": "feat/auth-base", "status": "merged", "pr": "#123"},
    {"branch": "feat/auth-oauth", "status": "open", "pr": "#124", "depends_on": "#123"},
    {"branch": "feat/auth-mfa", "status": "draft", "pr": "#125", "depends_on": "#124"}
  ],
  "commits_affected": 12,
  "actions_taken": [
    "Created branch feat/auth-base from main",
    "Rebased feat/auth-oauth onto feat/auth-base",
    "Updated PR #124 with new base branch",
    "Resolved 2 merge conflicts in auth/oauth.ts"
  ],
  "conflicts_resolved": [
    {"file": "auth/oauth.ts", "resolution": "kept incoming changes for token refresh"}
  ],
  "recovery_points": [
    {"ref": "HEAD@{3}", "description": "Before rebase started", "command": "git reset --hard HEAD@{3}"}
  ],
  "validation": {
    "branch_naming": "PASS",
    "commit_messages": "PASS",
    "linear_history": "PASS",
    "no_merge_commits": "PASS"
  },
  "next_steps": [
    "Wait for CI on PR #124",
    "Merge #123 when approved",
    "Rebase remaining stack after merge"
  ]
}

Read the full file on GitHub · 319 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 Changed · -2 lines 9cf81bddcff9
  2. 1mo ago Changed · +7 lines · +22 tokens per session 1b507f535323
  3. 2mo ago Changed · -10 lines 227565bb2378
  4. 2mo ago Changed · +1 lines 78f05f38406a
  5. 2mo ago First seen · 323 lines · 28 tokens per session scan A 341dc4992b76

Subscribe to this mod's changes

git-operations-engineer is an agent published in the GitHub repository yonatangross/orchestkit (312 stars, last pushed today), licensed MIT. It adds 50 tokens to every session and 3,112 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-09-03.

Related

git-operations-engineer compared with agents from other repositories

git-operations-engineer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
git-operations-engineeryonatangross/orchestkitAgent312todayMITA50Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code
azure-iac-exportergithub/awesome-copilotAgent42ktodayMITA70Claude Code