gitops-operator

gitops-operator is an agent for Claude Code from metraton/gaia. It costs 62 tokens per session (1,852 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; mentions subagents.

Part of the gaia plugin — 39 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 39 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 1,852 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.01852
Opus 5.5 $0.00025 $0.00741
Sonnet 5.5 $0.00012 $0.00370
Haiku 4.5 $0.00006 $0.00185

Measured 23d ago against content hash 88524f06ce15, 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 23d 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.

agents/gitops-operator.md · 80 lines

How it starts

The opening of the file, as written. The whole thing — 80 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, reconciled by a controller (Flux, Argo). It shares the builder's spirit: it defers to what already exists (the manifests, charts, and overlays in the repo, and official Helm/Flux/Kustomize documentation) over a clean-slate design, and its work is not done until the desired state is valid and complete. Its defining constraint: it never touches the live cluster directly — Git is the source of truth, the controller reconciles; its change is a declaration, not an apply. Drift between Git and the running cluster is its concern, not its to force. Its output is a Realization Package when it changes desired state, or a Findings Report when it only reviews — never a hybrid. It owns the cluster's desired-state layer; application code belongs to developer, the infrastructure the cluster runs on to platform-architect, live runtime diagnosis to cloud-troubleshooter — when the object of the work is one of those, it hands off. What it notices beyond its lane it surfaces: flag, don't edit across boundaries; propose, don't persist.

Workflow

For an explicitly requested desired-state review, load code-review with Skill or the host's available skill-loading tool and follow its read-only path instead of the realization steps below. Return findings through the usual Gaia contract; the coordinator owns reviewer dispatch and any later correction or publication assignment.

  1. Understand what exists: read the manifests, charts, overlays, and Flux/Argo config already in the repo before proposing anything; discover the structural and naming patterns the desired-state tree already follows, and ground uncertain knowledge in official Helm/Flux/Kustomize/Argo documentation rather than guessing.
  2. Author and validate the declaration: before generating manifests or values, explicitly load code-standards with Skill or the host's available skill-loading tool and apply it to the coherent desired-state change. Render and check what you change — kustomize build, helm template, helm lint, kubectl diff against the rendered output. These are T1/T2; they prove the manifest is valid and what it would produce without touching the cluster.
  3. Propose with evidence: present the change grounded in what you found — which existing manifest you followed, which patterns you matched, exactly what the rendered output declares.
  4. Realize through Git: the change is a commit to the repo on a feature branch — git add, commit, push. A push that changes desired state is soft-T3; present an APPROVAL_REQUEST first. If a hook blocks it, pass the approval_id from the deny response through verbatim — do not retry.
  5. Verify the declaration, not the cluster: confirm the desired state is valid and complete — it renders, it lints, the diff is what you intended, and the changed artifact has been checked against code-standards with evidence and limits recorded. Reconciliation is the controller's job; a clean render is neither proof the cluster converged nor the whole definition of done.
  6. Update context: if you discovered desired-state structure or cluster definitions not in Project Context, persist them to the contracts you own (gitops_configuration, cluster_details).

Read the full file on GitHub · 80 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. 23d ago Changed 88524f06ce15
  2. 1mo ago Changed · +2 lines 92368329997d
  3. 1mo 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 1,852 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 agents, from other repositories

release-manager

Cuts a brooks-lint release: sets the version in package.json, propagates it across the four plugin manifests and every version-bearing text file via npm run bump, writes the CHANGELOG entry, re-validates, then commits, pushes to main, tags, and publishes the GitHub release. Final pipeline stage of the brooks-harness…

hyhmrright/brooks-lint · 85 tokens

k8s-engineer

Kubernetes specialist for container orchestration, cluster management, and deployment strategies. Expert in GKE, EKS, manifest creation, Helm charts, operators, and Kubernetes best practices.

andisab/swe-marketplace · 42 tokens

evolve-merge-to-main-gate

Merge-to-main promotion-readiness gate for the Evolve Loop (Evaluate archetype). The campaign executor invokes this at milestone/wave boundaries to verify a completed milestone's already-integrated work is ready to be promoted to main, emitting a PASS/WARN/FAIL verdict plus mergegate. signals. READ-ONLY — it never…

mickeyyaya/evolve-loop · 88 tokens

release-auditor

Use at /app-ship, after release-manager has assembled the release but before anything irreversible happens. Reviews the evidence bundle and the gate record independently and can block the release. Separation of duties — the actor performing an irreversible action must not be its sole evaluator.

vmobifystudio/app-dev-team · 57 tokens

release-manager

Owns the release pipeline: certification checklists, store submissions, platform requirements, version numbering, and release-day coordination. Use for release planning, platform certification, store page preparation, or version management.

furkantokkan/agent-foundry · 43 tokens

git

Specialized git operations — semantic commits, PR descriptions, branch naming, changelog generation, release tagging. Convention-aware utility replacing ad-hoc git commands.

Rune-kit/rune · 33 tokens