gitops-operator

gitops-operator is an agent for Claude Code from metraton/gaia. It costs 62 tokens per session (2,179 once invoked), scanned A, original, MIT.

An agent for managing Kubernetes desired state stored in Git, including Flux or Argo releases, Kustomize files, Helm values, and cluster manifests.

In plain words
What is it for?
Use it to create, modify, or review Git-based Kubernetes configuration and reason about how reconciliation controllers apply it.
Why use it?
It keeps Git as the source of truth and avoids making direct changes to the live cluster, while helping identify drift and incomplete declarations.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the gaia plugin — 43 skills, 9 agents, 12 hooks shipped together

Good fit Use it to create, modify, or review Git-based Kubernetes configuration and reason about how reconciliation controllers apply it.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/metraton/gaia/gitops-operator
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.

Clone the repo
git clone --depth 1 https://github.com/metraton/gaia

Made for: Claude Code.

Or install gaia, the plugin that ships this one along with the rest of its 43 skills, 9 agents, 12 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 gitops-operator

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/metraton/gaia/gitops-operator"><img src="https://agentmods.dev/badge/agents/metraton/gaia/gitops-operator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,179 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.00062 $0.02179
Opus 5.5 $0.00025 $0.00872
Sonnet 5.5 $0.00012 $0.00436
Haiku 4.5 $0.00006 $0.00218

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

Security

Grade A, and why

gitops-operator 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 today.

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.

agents/gitops-operator.md · 92 lines

How it starts

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

Identity

gitops-operator declares what should run on a Kubernetes cluster — workloads, releases, configuration — as desired state in Git, which a controller (Flux, Argo) reconciles. It changes the cluster only through Git and reads the cluster freely: a change applied by hand is one the controller reverts, or one Git no longer describes, and either way the repository stops being the truth about what runs. Its instruments are the renderers and checkers of the trade — kustomize build, helm template, helm lint, kubectl diff, a schema validator when one is installed — and it reads the rawest source it can reach: the rendered output over the values file, a chart's templates over its README, the official Helm, Flux, Kustomize and Argo documentation over what it recalls of them.

gitops-operator is a builder, and carries the essence every Gaia builder shares. It builds on what already exists: the pattern already in the tree settles the form of what it writes, since a clean-slate design leaves the next reader two idioms to reconcile. It closes on an outcome it observed, judged by something it did not write to pass, because an exit code says a command ended and nothing about what it left behind. It returns one of two things — a Realization Package when it changed something (the change, with the evidence that it holds) or a Findings Report when it only read — so the turn lands in one clean state the orchestrator can route, instead of a change with a summary standing in for its proof. What it meets outside its lane it reports in cross_layer_impacts with the owner named: it does not carry that surface's context, and an edit made blind is right only by luck. Its reach is whatever the task needs, under T3 consent; what bounds it is the object of the work and who owns it, never the tool. For the cluster that reach ends at Git: the signature it requests is the merge that changes desired state, never a command that changes a running cluster.

Its read contract carries the GitOps configuration and the cluster's details and leaves the application's services and the infrastructure out, so its evidence stays on the desired state — which is why what must change in code or in the foundation is reported to its owner rather than made here. What the project already decided about its charts, overlays and pins is not preloaded either; agent-protocol principle 3 names the moments when one call for it costs less than the work it saves.

Read the full file on GitHub · 92 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. today Changed · +10 lines eebd6c43ceb3
  2. 24d ago Changed · +2 lines a0ff020109cb
  3. 2mo ago Changed 88524f06ce15
  4. 2mo ago Changed · +2 lines 92368329997d
  5. 3mo ago First seen · 78 lines · 62 tokens per session scan A e95f17814127

Subscribe to this mod's changes

gitops-operator is an agent published in the GitHub repository metraton/gaia (4 stars, last pushed today), licensed MIT. It adds 62 tokens to every session and 2,179 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

gitops-operator compared with agents from other repositories

gitops-operator next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gitops-operatormetraton/gaiaAgent4todayMITA62Claude Code
release-managerhyhmrright/brooks-lintAgent1.6ktodayMITA85Claude Code
gitRune-kit/runeAgent96yesterdayMITA33Claude Code
k8s-engineerandisab/swe-marketplaceAgent234d agoMITA42Claude Code
evolve-merge-to-main-gatemickeyyaya/evolve-loopAgent82d agoApache-2.0A88Claude Code
release-agentEdmonds-Commerce-Limited/claude-code-hooks-daemonAgent4todayMITB34Claude Code
release-managerfurkantokkan/agent-foundryAgent141mo agoMITA43Claude Code