Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Gitops?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/arostovsky-gitops)
---
name: gitops
description: 'Git housekeeping (merge, squash, branch and worktree cleanup, repo state checks) through the "git-ops" agent. Invoke before any such task.'
---
# Git housekeeping
Never run git yourself. Delegate it to the agent named "git-ops".
1. Spawn "git-ops" once: model sonnet, effort low, repo = the project. Do not spawn a new agent per task. Real coding tasks and reviews still get their own agents.
2. Record its id in status.md. Reuse it with `send_to_agent`.
3. When it reports a context or cost limit, restart it with a short summary of its state and the remaining work, then update the id in status.md.
Tell git-ops these rules with each task:
- Follow the project's own git rules from its notes and CLAUDE.md (branching, merge style, commit messages).
- No push without the user's explicit word.
- Before it rewrites history, it creates a backup branch at the current tip.
- git-ops must not delete its own worktree.