gitops

gitops is a skill for Claude Code from arjunprabhulal/devops-skills. It costs 122 tokens per session (1,378 once invoked), scanned A, original, MIT.

A deployment model where Git describes the desired system and a controller inside the cluster continually makes the running system match it. The controller pulls changes from a repository instead of relying on people or pipelines to push commands to the cluster.

In plain words
What is it for?
Use it to organize application and deployment repositories, promote changes between environments, and manage Kubernetes deployments through pull-based reconciliation.
Why use it?
It gives deployment changes an audit trail and makes promotion and rollback repository changes. It also exposes configuration drift instead of allowing the cluster to quietly differ from its declared state.

Skill for Claude Code

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

Part of the devops-skills plugin — 56 skills shipped together

Good fit Use it to organize application and deployment repositories, promote changes between environments, and manage Kubernetes deployments through pull-based reconciliation.

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

Made for: Claude Code.

Or install devops-skills, the plugin that ships this one along with the rest of its 56 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/arjunprabhulal/devops-skills/gitops/github.svg)](https://agentmods.dev/skills/arjunprabhulal/devops-skills/gitops)
Your own site
<a href="https://agentmods.dev/skills/arjunprabhulal/devops-skills/gitops"><img src="https://agentmods.dev/badge/skills/arjunprabhulal/devops-skills/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/arjunprabhulal/devops-skills/gitops"><img src="https://agentmods.dev/badge/skills/arjunprabhulal/devops-skills/gitops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,378 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.00122 $0.01378
Opus 5.5 $0.00049 $0.00551
Sonnet 5.5 $0.00024 $0.00276
Haiku 4.5 $0.00012 $0.00138

Measured 1mo ago against content hash bbd5d259da69, 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/gitops/SKILL.md · 99 lines

How it starts

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

GitOps

GitOps is not "we keep our YAML in Git." It is a specific operational model: a controller inside the cluster continuously pulls desired state from a repo and reconciles reality toward it, so the repo is not documentation of what was deployed — it is the only correct description of what should be deployed, and anything else is drift waiting to be corrected. That shift from push to pull is what makes the rest of the practice fall into place: audit trail, rollback, and promotion all become Git operations instead of pipeline scripts.

If the cluster state and the repo disagree, the cluster is wrong, not the repo.

1. Separate the app repo from the config repo

The repo where application code lives and the repo the reconciler watches should not be the same repo, and should almost never be the same commit. CI in the app repo builds an image, pushes it to a registry, and then makes a small, automated commit to the config repo bumping an image tag — it never touches the cluster directly. This split matters because it lets you reason about "what is deployed" by reading one small, low-churn repo instead of grepping application history, and it lets the config repo have its own review rules (e.g. required approval for prod) independent of code review norms. See ci-pipelines for the build side and artifact-management for where the image actually lives.

Done when: deploying a new version never requires a human to run a deploy command by hand.

2. Model environments as directories or branches promoted by merge

Represent each environment (dev, staging, prod) as its own path or overlay, and promote a change by merging or copying it forward — not by re-running a pipeline with a different target flag. A pull request from staging/ into prod/ is a promotion event with a diff, a reviewer, and a timestamp, which is a far stronger artifact than a Jenkins job log claiming the same thing happened. Kustomize overlays or Helm values-per-environment both work; what matters is that the mechanism of promotion is a Git operation everyone can see. See environment-management for how environments are defined and release-management for gating promotion on approvals or criteria.

Read the full file on GitHub · 99 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. 1mo ago First seen · 99 lines · 122 tokens per session scan A bbd5d259da69

Subscribe to this mod's changes

gitops is a skill published in the GitHub repository arjunprabhulal/devops-skills (5 stars, last pushed 1mo ago), licensed MIT. It adds 122 tokens to every session and 1,378 once invoked, about $0.0005 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

agent-platform-tuning

Agent Platform Model Tuning. Use when you need to fine-tune open models or Gemini models using Agent Platform infrastructure. Don't use for model training outside Agent Platform, model deployment to endpoints (use agent-platform-deploy), or managing serving endpoints (use agent-platform-endpoint-management).

google/skills · 64 tokens

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

google-cloud-solution-guided-gke-ai-migration

Guides the migration of existing AI workloads (Cloud Run, Gemini API, Gemini Enterprise Agent Platform) to self-hosted GKE inference using gcloud and kubectl. Use when the user has an existing AI inference workload (on Cloud Run, the Gemini API, Gemini Enterprise Agent Platform, or a custom VM) and wants to move it to…

google/skills · 157 tokens

assuredworkloads-environment-assessor

Discover Google Cloud resource telemetry and effective Org Policies, evaluate brownfield workloads against sovereign data boundary and compliance standards (EU Data Boundary with Support, FedRAMP Moderate/High, DoD IL4/IL5, ITAR, CJIS, US/EU Regional Data Boundaries), and recommend the optimal Assured Workloads…

google/skills · 165 tokens

agent-platform-deploy

Deploy open models or custom weights from Model Garden to Agent Platform endpoints, check the status of an in-progress deployment operation, or clean up resources by undeploying models and deleting endpoints. Use when asked to actively deploy a model, list the Model Garden CATALOG of available models, check if a…

google/skills · 176 tokens

gke-alert-configuration

Configures alerting policies in Terraform for Google Kubernetes Engine (GKE) clusters, workloads, and services using PromQL and Google Cloud Managed Service for Prometheus. Use when writing, analyzing, validating, or deploying Terraform alerting policies to monitor GKE service latency, traffic, error rates using…

google/skills · 120 tokens