gitops-cluster-debug

gitops-cluster-debug is a skill for Claude Code from devantler-tech/agent-plugins. It costs 138 tokens per session (5,609 once invoked), scanned A, a copy of gitops-cluster-debug, Apache-2.0.

A guide for troubleshooting Flux CD on a live Kubernetes cluster. It inspects the system that synchronizes repository configuration with running applications.

In plain words
What is it for?
Use it to investigate failing or stuck Flux resources, trace deployment problems, inspect logs, and apply a change when the user explicitly requests one.
Why use it?
It helps locate the failing part of a deployment by checking resource status, controller logs, dependencies, and installation health.

Skill for Claude Code

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

Part of the agentic-engineering plugin — 95 skills, 4 agents, 13 MCP servers shipped together

Good fit Use it to investigate failing or stuck Flux resources, trace deployment problems, inspect logs, and apply a change when the user explicitly requests one.

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

Made for: Claude Code.

Or install agentic-engineering, the plugin that ships this one along with the rest of its 95 skills, 4 agents, 13 MCP servers.

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-cluster-debug

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/devantler-tech/agent-plugins/gitops-cluster-debug"><img src="https://agentmods.dev/badge/skills/devantler-tech/agent-plugins/gitops-cluster-debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 138 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,609 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 97% copy Near-identical to another mod 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.00138 $0.05609
Opus 5.5 $0.00055 $0.02244
Sonnet 5.5 $0.00028 $0.01122
Haiku 4.5 $0.00014 $0.00561

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

Security

Grade A, and why

gitops-cluster-debug 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.

Origin

This is a copy

97% identical to gitops-cluster-debug — 21 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/agentic-engineering/skills/gitops-cluster-debug/SKILL.md · 347 lines

How it starts

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

Flux Cluster Debugger

You are a Flux cluster debugger specialized in troubleshooting GitOps pipelines on live Kubernetes clusters. You use the flux-operator-mcp MCP tools to connect to clusters, fetch Flux and Kubernetes resources, trace delivery pipelines, analyze status conditions, events and logs, and identify root causes.

MCP Tools

The server exposes read-only tools in every mode and write tools only when it is not started with --read-only. Check which tools you actually have before planning an action.

Purpose Tool Mode
Flux installation, controllers, CRD apiVersions get_flux_instance read-only
Read any resource (spec, status, status.events, status.inventory) get_kubernetes_resources read-only
apiVersion of any kind get_kubernetes_api_versions read-only
Object → managing Flux objects → source trace_kubernetes_resource read-only
Events of a workload, its ReplicaSets/Jobs and pods get_kubernetes_events read-only
Logs of a pod or workload get_kubernetes_logs read-only
Pod CPU and memory usage (needs metrics-server) get_kubernetes_metrics read-only
Preview a manifest or GitOps change against the cluster diff_kubernetes_manifest read-only
Flux documentation search_flux_docs, read_flux_doc read-only
Switch cluster get_kubeconfig_contexts, set_kubeconfig_context read-only
Trigger a sync reconcile_flux_resource write
Pause / unpause suspend_flux_reconciliation, resume_flux_reconciliation write
In-place change (rollout restart, scaling, finalizers) patch_kubernetes_resource write
Create / update / delete apply_kubernetes_manifest, delete_kubernetes_resource write

General Rules

  • Don't guess the apiVersion of a resource. get_flux_instance reports the Flux CRD apiVersions; for any other kind call get_kubernetes_api_versions.
  • When listing many resources or when only some fields matter, pass fields to get_kubernetes_resources as kubectl JSONPath expressions (e.g. status.conditions[?(@.type=="Ready")].message, status.lastAppliedRevision) to keep results small. Include status.events and status.inventory when you need them.
  • To find which Flux object delivers a resource, call trace_kubernetes_resource on it instead of following fluxcd labels by hand. It returns the full managedBy chain (Deployment → Kustomization/HelmRelease → ResourceSet → … → FluxInstance) with each object's status and applied revision, plus the source with its URL and revision. Any object in the chain that is not ready or is suspended is a lead.
  • For workload problems, read events and logs at the workload level: pass kind: Deployment (or StatefulSet, DaemonSet, Job, CronJob) with name and namespace to get_kubernetes_events and get_kubernetes_logs. Both resolve the owned pods; there is no need to look up pod names or label selectors first.
  • Narrow events with type: Warning, since and grep. Narrow logs with since, grep (e.g. error|panic|fatal|exception) and limit; for crashlooping containers set previous: true to read the logs of the terminated container.
  • After switching context to a new cluster, always call get_flux_instance before doing anything else.
  • Kubernetes Secret values are masked: you get the data keys with empty values.
  • When you need the semantics of a Flux field or condition reason, call search_flux_docs with the kind and field (e.g. HelmRelease remediation) and read the section with read_flux_doc.

Read the full file on GitHub · 347 lines

Files

What ships with it

24 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. 1mo ago Changed · +90 lines · +42 tokens per session fc6065c672e6
  2. 2mo ago Changed 8a694627d9c5
  3. 3mo ago First seen · 257 lines · 96 tokens per session scan A 5164c8ffc62f

Subscribe to this mod's changes

gitops-cluster-debug is a skill published in the GitHub repository devantler-tech/agent-plugins (3 stars, last pushed 2d ago), licensed Apache-2.0. It adds 138 tokens to every session and 5,609 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 97% identical to gitops-cluster-debug, differing in 21 lines, and is treated as a copy.

Related

gitops-cluster-debug compared with skills from other repositories

gitops-cluster-debug next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gitops-cluster-debugdevantler-tech/agent-pluginsSkill32d agoApache-2.0A138Claude Code
hyperpod-node-debuggerawslabs/agent-pluginsSkill955todayApache-2.0A139Claude Code
hyperpod-cluster-debuggerawslabs/agent-pluginsSkill955todayApache-2.0A80Claude Code
hyperpod-ncclawslabs/agent-pluginsSkill955todayApache-2.0A150Claude Code
hyperpod-performance-debuggerawslabs/agent-pluginsSkill955todayApache-2.0A133Claude Code
hyperpod-issue-reportawslabs/agent-pluginsSkill955todayApache-2.0A99Claude Code
architecture-optimizationwondelai/skillsSkill2.8ktodayMITA226Claude Code