k8s-gitops

k8s-gitops is a skill for Claude Code, Codex from yindia/rootcause. It costs 0 tokens per session (2,128 once invoked), scanned A, original, MIT.

A set of procedures for diagnosing GitOps systems such as Argo CD and Flux, which keep Kubernetes aligned with configuration stored in Git. It covers synchronization, drift, reconciliation, and rollouts.

In plain words
What is it for?
It is for investigating out-of-sync applications, failed reconciliations, degraded releases, source-fetch errors, rollout failures, and blocked environment promotions.
Why use it?
It helps identify why the running cluster differs from Git or why a configuration update is not being applied.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for investigating out-of-sync applications, failed reconciliations, degraded releases, source-fetch errors, rollout failures, and blocked environment promotions.

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

Made for: Claude Code, Codex.

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 k8s-gitops

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yindia/rootcause/k8s-gitops"><img src="https://agentmods.dev/badge/skills/yindia/rootcause/k8s-gitops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,128 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.00000 $0.02128
Opus 5.5 $0.00000 $0.00851
Sonnet 5.5 $0.00000 $0.00426
Haiku 4.5 $0.00000 $0.00213

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

Security

Grade A, and why

k8s-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 3mo 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/claude/k8s-gitops/SKILL.md · 249 lines

How it starts

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

Skill: k8s-gitops

GitOps diagnostics and operational guidance for ArgoCD and Flux using RootCause MCP tool names only.

Scope

  • Detect whether ArgoCD and/or Flux are installed.
  • Diagnose sync and reconciliation health.
  • Analyze drift and rollout failures.
  • Correlate change timelines to incidents.
  • Guide forced reconciliation workflows safely.
  • Support environment promotion paths with verification.

Tooling Rule

  • Use RootCause tool names only.
  • Prefer k8s.argocd_detect and k8s.flux_detect before deep diagnosis.
  • Use k8s.diagnose_argocd and k8s.diagnose_flux for first-pass triage.
  • Use k8s.describe, k8s.list, k8s.events, and k8s.events_timeline for evidence detail.

Canonical Tool Set

  • k8s.argocd_detect
  • k8s.diagnose_argocd
  • k8s.flux_detect
  • k8s.diagnose_flux
  • k8s.describe
  • k8s.list
  • k8s.events
  • k8s.events_timeline

Triggers

  • gitops
  • argocd
  • flux
  • out of sync
  • app degraded
  • reconciliation failed
  • kustomization not ready
  • helmrelease failed
  • source fetch failed
  • drift detected
  • promotion blocked
  • environment mismatch
  • sync loop

Priority Rules

Condition First action Why
Unknown platform Run k8s.argocd_detect and k8s.flux_detect Fast platform fingerprint
ArgoCD suspected issue Run k8s.diagnose_argocd Consolidates sync + health + events
Flux suspected issue Run k8s.diagnose_flux Consolidates source + reconcile signals
Need object-level reason Run k8s.describe Full status/conditions/events
Need inventory Run k8s.list Lists all relevant CRs
Need chronology Run k8s.events_timeline Aligns failure to changes

ArgoCD Application States

Sync status Health status Interpretation Action
Synced Healthy Desired and live match Monitor only
Synced Degraded Live matches desired but app unhealthy Inspect workload failures
OutOfSync Healthy Drift exists but app currently serving Investigate drift source
OutOfSync Degraded Drift plus unhealthy app Prioritize immediate remediation
Unknown Unknown Controller cannot evaluate Check controller availability and access
Synced Progressing Deployment in-flight Validate rollout convergence

Read the full file on GitHub · 249 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 249 lines · 0 tokens per session scan A 587ad69eee7b

Subscribe to this mod's changes

k8s-gitops is a skill published in the GitHub repository yindia/rootcause (42 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,128 tokens. 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-30.

Related

k8s-gitops compared with skills from other repositories

k8s-gitops next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
k8s-gitopsyindia/rootcauseSkill426mo agoMITA0Claude Code, Codex
k8s-ingress-gatewaykudig-io/kudig-databaseSkill7yesterdayApache-2.0A21Claude Code, Codex
plan-issuealexmond/jhelmSkill8yesterdayApache-2.0A18Claude Code
precommitalexmond/jhelmSkill8yesterdayApache-2.0A19Claude Code
implement-issuealexmond/jhelmSkill8yesterdayApache-2.0A15Claude Code
deploying-argocd-applicationstalkops-ai/talkops-mcpSkill412d agoApache-2.0A77Claude Code
rolling-back-argocd-applicationstalkops-ai/talkops-mcpSkill412d agoApache-2.0A80Claude Code