gitops

gitops is a skill for Claude Code from yugasun/aiops. It costs 47 tokens per session (486 once invoked), scanned A, original, Apache-2.0.

A wrapper for common Git operations. Git is a version-control system that records code changes and lets teams synchronize, review, and publish them.

In plain words
What is it for?
Use it to pull updates with rebase, inspect status, stage selected files, create Conventional Commits, manage branches, and push changes after confirmation.
Why use it?
It provides a consistent process for syncing, staging, committing, branching, and pushing changes. It also checks review notes and keeps commit messages tied to project artifacts.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the aiops plugin — 23 skills shipped together

Good fit Use it to pull updates with rebase, inspect status, stage selected files, create Conventional Commits, manage branches, and push changes after confirmation.

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

Made for: Claude Code.

Or install aiops, the plugin that ships this one along with the rest of its 23 skills.

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 gitops

README.md
[![agentmods](https://agentmods.dev/badge/skills/yugasun/aiops/gitops/github.svg)](https://agentmods.dev/skills/yugasun/aiops/gitops)
Your own site
<a href="https://agentmods.dev/skills/yugasun/aiops/gitops"><img src="https://agentmods.dev/badge/skills/yugasun/aiops/gitops/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 gitops

Your own site · 80×15
<a href="https://agentmods.dev/skills/yugasun/aiops/gitops"><img src="https://agentmods.dev/badge/skills/yugasun/aiops/gitops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 486 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.00047 $0.00486
Opus 5.5 $0.00019 $0.00194
Sonnet 5.5 $0.00009 $0.00097
Haiku 4.5 $0.00005 $0.00049

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

Security

Grade A, and why

gitops 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 1mo 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/gitops/SKILL.md · 101 lines

What it actually says

Gitops

Git version control operations for the aiops delivery chain.

Operations

sync

Pull latest from remote. Default strategy: rebase.

git pull --rebase

If merge conflict: report to user, do not auto-resolve.

status

Show current working tree state.

git status
git diff --stat

stage

Stage files for commit. Supports selective staging.

git add <files>

commit

Create commit with Conventional Commits message.

Format:

<type>(<scope>): <subject>

<body>

Refs: .scratch/<feature-slug>/

Types: feat | fix | refactor | test | docs | chore

Message generation:

  • Read .scratch/<feature>/NOTES.md for design context
  • Read .scratch/<feature>/REVIEW.md to confirm review passed
  • Scope = feature-slug or module name
  • Subject = imperative, lowercase, no period
  • Body = reference upstream artifacts for traceability

Pre-commit checks:

  • All blocking REVIEW.md findings resolved
  • No untracked .scratch files in commit (add to .gitignore if needed)

push

Push to remote. Requires user confirmation.

git push origin <branch>

branch

Branch management: create, switch, list.

git checkout -b <branch>   # create + switch
git checkout <branch>      # switch
git branch                 # list

Flow

  1. sync — pull latest
  2. status — review changes
  3. stage — select files
  4. commit — with generated message
  5. push — after user confirms

Constraints

  • Never modify code files
  • Never auto-resolve merge conflicts
  • Always confirm with user before push
  • Commit message must reference .scratch artifacts when available
  • If .scratch/<feature>/REVIEW.md exists and verdict is REQUEST_CHANGES, block commit and report
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. 1mo ago First seen · 101 lines · 47 tokens per session scan A 1f02ba85310c

Subscribe to this mod's changes

gitops is a skill published in the GitHub repository yugasun/aiops (4 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 47 tokens to every session and 486 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-08-31.

Related

Other skills, from other repositories