Agent skill

Gitops Cluster Debug

by fluxcd in fluxcd/agent-skills

Debug and troubleshoot Flux CD on live Kubernetes clusters (not local repo files) via the Flux MCP server — inspects Flux resource status, reads controller logs, traces dependency chains, and…

Apache-2.0Auto-check passedDevOps & Cloud

Install Gitops Cluster Debug

skills CLI
$ npx skills add fluxcd/agent-skills --skill gitops-cluster-debug -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install fluxcd/agent-skills gitops-cluster-debug --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/fluxcd/agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/gitops-cluster-debug .claude/skills/gitops-cluster-debug && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
gitops-cluster-debug
GitHub stars
230
Token cost
~4.2k tokens
SKILL.md length
1,871 words
Files
25 (incl. references, assets)
Skills in repo
6
Repo updated
First seen
Licence
Apache-2.0

At a glance

Debug and troubleshoot Flux CD on live Kubernetes clusters (not local repo files) via the Flux MCP server — inspects Flux resource status, reads controller logs, traces dependency chains, and…

  • Works in 4 steps: Call get_kubeconfig_contexts to list… → Find the context matching the user's… → Call set_kubeconfig_context to switch to… → …
  • Users report failing
  • SKILL.md covers General Rules, Cluster Context, Debugging Workflows and Flux CRD Reference, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Gitops Cluster Debug is an agent skill from fluxcd/agent-skills. Debug and troubleshoot Flux CD on live Kubernetes clusters (not local repo files) via the Flux MCP server — inspects Flux resource status, reads controller logs, traces dependency chains, and performs installation health checks. Use when users report failing, stuck, or not-ready Flux resources on a cluster, reconciliation errors, controller issues, artifact pull failures, image automation not updating tags, alerts or webhooks not being delivered, or need live cluster Flux Operator troubleshooting.

Its SKILL.md is about 4.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 26 other files, including reference files and assets. Compatibility notes: Requires flux-operator-mcp

It sits in DevOps & Cloud, covering GitOps, Container orchestration and Webhooks. It works with Kubernetes and Model Context Protocol. The repository describes itself as: Skills to transform AI Agents into GitOps Engineers. The licence is Apache-2.0.

When your agent uses it

  • Users report failing
  • Not-ready Flux resources on a cluster
  • Reconciliation errors
  • Controller issues

Example prompts

  • “/gitops-cluster-debug”

Requirements

  • Compatibility (from SKILL.md): Requires flux-operator-mcp

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Call get_kubeconfig_contexts to list available contexts.
  2. Find the context matching the user's cluster name.
  3. Call set_kubeconfig_context to switch to it.
  4. Call get_flux_instance to verify the Flux installation on that cluster.

What it can do on your machine

Read from SKILL.md and the folder at commit 0d1fa6c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires flux-operator-mcp

    From compatibility in the SKILL.md frontmatter.

Context cost

Gitops Cluster Debug loads about 4.2k tokens when it runs, and up to ~10k if it reads all its reference files. Until then it costs about 131 tokens; SKILL.md has 1,871 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~131
When it runs · the whole SKILL.md, loaded when a task matches
~4.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~10k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from fluxcd/agent-skills at commit 0d1fa6c, republished under its Apache-2.0 licence (© fluxcd). 1,871 words, ~4,225 tokens.

Download SKILL.mdSave it as .claude/skills/gitops-cluster-debug/SKILL.md (or your agent's skills folder). This skill also uses 24 other files; get the full folder from GitHub.
name
gitops-cluster-debug
description
Debug and troubleshoot Flux CD on live Kubernetes clusters (not local repo files) via the Flux MCP server — inspects Flux resource status, reads controller logs, traces dependency chains, and performs installation health checks. Use when users report failing, stuck, or not-ready Flux resources on a cluster, reconciliation errors, controller issues, artifact pull failures, image automation not updating tags, alerts or webhooks not being delivered, or need live cluster Flux Operator troubleshooting.
compatibility
Requires flux-operator-mcp
license
Apache-2.0

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, analyze status conditions, inspect logs, and identify root causes.

General Rules

  • Don't assume the apiVersion of any Kubernetes or Flux resource — call get_kubernetes_api_versions to find the correct one.
  • To determine if a Kubernetes resource is Flux-managed, look for fluxcd labels in the resource metadata.
  • After switching context to a new cluster, always call get_flux_instance to determine the Flux Operator status, version, and settings before doing anything else.
  • When creating or updating resources on the cluster, generate a Kubernetes YAML manifest and call the apply_kubernetes_manifest tool. When the target resource is managed by Flux, the tool errors unless overwrite is set to true. Do not apply resources unless explicitly requested by the user. Before generating any YAML manifest, verify the exact field names and nesting against the field index in assets/schemas/. Index files follow the naming convention {kind}-{group}-{version}.fields.txt; each line is a dotted field path — grep by path prefix (e.g. grep '^spec\.' assets/schemas/kustomization-kustomize-v1.fields.txt) instead of reading the whole file (see the CRD reference table below).
  • You will not be able to read the values of Kubernetes Secrets, the MCP server will return only the data field with keys but empty values.

Cluster Context

If the user specifies a cluster name:

  1. Call get_kubeconfig_contexts to list available contexts.
  2. Find the context matching the user's cluster name.
  3. Call set_kubeconfig_context to switch to it.
  4. Call get_flux_instance to verify the Flux installation on that cluster.

If no cluster is specified, debug on the current context. Still call get_flux_instance at the start to understand the Flux installation.

Debugging Workflows

Adapt the depth based on what the user asks for. A targeted question ("why is my HelmRelease failing?") can skip straight to the relevant workflow. A broad request ("debug my cluster") should start with the installation check.

Workflow 1: Flux Installation Check
  1. Call get_flux_instance to check the Flux Operator status and settings.
  2. Verify the FluxInstance reports Ready: True.
  3. Check controller deployment status — all controllers should be running.
  4. Review the FluxReport for cluster-wide reconciliation summary.
  5. If controllers are not running or crashlooping, analyze their logs using get_kubernetes_logs on the controller pods.
Workflow 2: HelmRelease Debugging

Follow these steps when troubleshooting a HelmRelease:

  1. Call get_flux_instance to check the helm-controller deployment status and the apiVersion of the HelmRelease kind.
  2. Call get_kubernetes_resources to get the HelmRelease, then analyze the spec, status, inventory, and events.
  3. Determine which Flux object manages the HelmRelease by looking at the annotations — it can be a Kustomization or a ResourceSet.
  4. If valuesFrom is present, get all the referenced ConfigMap and Secret resources.
  5. Identify the HelmRelease source by looking at the chartRef or sourceRef field.
  6. Call get_kubernetes_resources to get the source, then analyze the source status and events.
  7. If the HelmRelease is in a failed state or in progress, check the managed resources found in the inventory.
  8. Call get_kubernetes_resources to get the managed resources and analyze their status.
  9. If managed resources are failing, analyze their logs using get_kubernetes_logs.
  10. Create a root cause analysis report. If no issues are found, report the current status of the HelmRelease and its managed resources and container images.
Workflow 3: Kustomization Debugging

Follow these steps when troubleshooting a Kustomization:

  1. Call get_flux_instance to check the kustomize-controller deployment status and the apiVersion of the Kustomization kind.
  2. Call get_kubernetes_resources to get the Kustomization, then analyze the spec, status, inventory, and events.
  3. Determine which Flux object manages the Kustomization by looking at the annotations — it can be another Kustomization or a ResourceSet.
  4. If substituteFrom is present, get all the referenced ConfigMap and Secret resources.
  5. Identify the Kustomization source by looking at the sourceRef field.
  6. Call get_kubernetes_resources to get the source, then analyze the source status and events.
  7. If the Kustomization is in a failed state or in progress, check the managed resources found in the inventory.
  8. Call get_kubernetes_resources to get the managed resources and analyze their status.
  9. If managed resources are failing, analyze their logs using get_kubernetes_logs.
  10. Create a root cause analysis report. If no issues are found, report the current status of the Kustomization and its managed resources.
Workflow 4: ResourceSet Debugging

Follow these steps when troubleshooting a ResourceSet:

  1. Call get_flux_instance to check the Flux Operator status and the apiVersion of the ResourceSet kind.
  2. Call get_kubernetes_resources to get the ResourceSet, then analyze the spec, status conditions, and events.
  3. If the ResourceSet uses inputsFrom, get each referenced ResourceSetInputProvider and check its status. A Stalled or Ready: False provider means the ResourceSet has no inputs to render.
  4. If the ResourceSet has dependsOn, get each dependency and verify it is Ready. ResourceSet dependencies can reference any Kubernetes resource kind (other ResourceSets, Kustomizations, HelmReleases, CRDs) — check the apiVersion and kind in each entry.
  5. Check the ResourceSet inventory for generated resources. Get the generated Kustomizations, HelmReleases, or other Flux resources and analyze their status.
  6. If generated resources are failing, follow Workflow 2 (HelmRelease) or Workflow 3 (Kustomization) to debug them individually.
  7. Create a root cause analysis report. Distinguish between ResourceSet-level failures (template errors, missing inputs, RBAC) and failures in the generated resources.
Workflow 5: Source Debugging

Follow these steps when a source (GitRepository, OCIRepository, HelmRepository, HelmChart, Bucket) reports FetchFailed or downstream resources are stuck on an old revision:

  1. Call get_flux_instance to check the source-controller deployment status and the apiVersion of the source kind.
  2. Call get_kubernetes_resources to get the source, then analyze the status conditions (Ready, FetchFailed, ArtifactInStorage), the artifact revision, and events.
  3. For authentication errors, get the referenced secretRef Secret and verify it exists with the expected key names (values are masked). For cloud registries with no secret, check .spec.provider and workload identity.
  4. For HelmChart failures, verify the referenced HelmRepository or GitRepository is Ready first — chart errors are often upstream source errors.
  5. Compare the last reconcile time against .spec.interval — a stale artifact with no error can mean a suspended source or an overloaded controller.
  6. Identify downstream consumers (Kustomizations/HelmReleases whose sourceRef points at this source) and note which revision they are stuck on.
  7. Create a root cause analysis report. Load references/troubleshooting.md (Source Failures) for per-source cause lists — auth key names, Cosign verification, layerSelector mismatches, semver constraints.
Show full SKILL.md (802 more words)Show less
Workflow 6: Image Automation Debugging

Follow these steps when image tags are not being detected or no update commits appear in Git:

  1. Call get_flux_instance and verify image-reflector-controller and image-automation-controller are listed in the components and running.
  2. Get the ImageRepository — check Ready, last scan time, and tag count in status. Auth failures point to the secretRef or .spec.provider.
  3. Get the ImagePolicy — check Ready and status.latestImage. If nothing is selected, compare the policy rules against the tags actually scanned.
  4. Get the ImageUpdateAutomation — check Ready, last push time, and events. Verify its sourceRef GitRepository has write-capable credentials and .spec.git.push.branch is the branch the user is watching.
  5. If everything is Ready but no commits appear: verify manifests under .spec.update.path contain $imagepolicy markers for the right <namespace>:<policy-name> and that latestImage differs from Git.
  6. Create a root cause analysis report tracing ImageRepository → ImagePolicy → ImageUpdateAutomation → GitRepository.
Workflow 7: Notification Debugging

Follow these steps when alerts are not being delivered or a webhook Receiver does not trigger reconciliation:

  1. Call get_flux_instance to check the notification-controller deployment status.
  2. Provider and Alert have no status conditions — diagnose delivery from notification-controller logs (Workflow 8): look for dispatch errors such as HTTP 401/404 or timeouts.
  3. Get the Alert and verify .spec.eventSources matches the resources expected to produce events and .spec.eventSeverity is not filtering them out.
  4. Get the referenced Provider and verify .spec.type, .spec.address, and the secretRef Secret key names.
  5. For Receivers (these do have a Ready condition): verify status.webhookPath and the webhook Secret, then check logs for incoming requests to that path — none means the external service is not calling the webhook.
  6. To generate a test event, suggest a manual reconcile request on a watched resource and watch the logs for the dispatch attempt. Load references/troubleshooting.md (Notification Failures) for cause lists.
Workflow 8: Kubernetes Logs Analysis

When analyzing logs for any workload:

  1. Get the Kubernetes Deployment that manages the pods using get_kubernetes_resources.
  2. Extract the matchLabels and container name from the deployment spec.
  3. List the pods with get_kubernetes_resources using the found matchLabels.
  4. Get the logs by calling get_kubernetes_logs with the pod name and container name.
  5. Analyze the logs for errors, warnings, and patterns that indicate the root cause.

Flux CRD Reference

Use this table to check API versions and grep the field index when needed.

ControllerKindapiVersionField Index
flux-operatorFluxInstancefluxcd.controlplane.io/v1fluxinstance-fluxcd-v1.fields.txt
flux-operatorFluxReportfluxcd.controlplane.io/v1fluxreport-fluxcd-v1.fields.txt
flux-operatorResourceSetfluxcd.controlplane.io/v1resourceset-fluxcd-v1.fields.txt
flux-operatorResourceSetInputProviderfluxcd.controlplane.io/v1resourcesetinputprovider-fluxcd-v1.fields.txt
source-controllerGitRepositorysource.toolkit.fluxcd.io/v1gitrepository-source-v1.fields.txt
source-controllerOCIRepositorysource.toolkit.fluxcd.io/v1ocirepository-source-v1.fields.txt
source-controllerBucketsource.toolkit.fluxcd.io/v1bucket-source-v1.fields.txt
source-controllerHelmRepositorysource.toolkit.fluxcd.io/v1helmrepository-source-v1.fields.txt
source-controllerHelmChartsource.toolkit.fluxcd.io/v1helmchart-source-v1.fields.txt
source-controllerExternalArtifactsource.toolkit.fluxcd.io/v1externalartifact-source-v1.fields.txt
source-watcherArtifactGeneratorsource.extensions.fluxcd.io/v1beta1artifactgenerator-source-v1beta1.fields.txt
kustomize-controllerKustomizationkustomize.toolkit.fluxcd.io/v1kustomization-kustomize-v1.fields.txt
helm-controllerHelmReleasehelm.toolkit.fluxcd.io/v2helmrelease-helm-v2.fields.txt
notification-controllerProvidernotification.toolkit.fluxcd.io/v1beta3provider-notification-v1beta3.fields.txt
notification-controllerAlertnotification.toolkit.fluxcd.io/v1beta3alert-notification-v1beta3.fields.txt
notification-controllerReceivernotification.toolkit.fluxcd.io/v1receiver-notification-v1.fields.txt
image-reflector-controllerImageRepositoryimage.toolkit.fluxcd.io/v1imagerepository-image-v1.fields.txt
image-reflector-controllerImagePolicyimage.toolkit.fluxcd.io/v1imagepolicy-image-v1.fields.txt
image-automation-controllerImageUpdateAutomationimage.toolkit.fluxcd.io/v1imageupdateautomation-image-v1.fields.txt

Loading References

Load reference files when you need deeper information:

  • flux-crds.md — When you need detailed CRD field descriptions, status conditions, common failures, or the resource relationship diagram
  • troubleshooting.md — When diagnosing a specific failure pattern or when you need the general debugging checklist

Report Format

As you trace through any debugging workflow, record each resource you inspect (kind, name, namespace, status) to build the dependency chain for the report.

Structure debugging findings as a markdown report with these sections:

  1. Summary — cluster name, Flux version, resource under investigation, current status
  2. Resource Analysis — detailed breakdown of the resource spec, status conditions, and events
  3. Dependency Chain — trace from source to applier to managed resources (e.g., GitRepository → Kustomization → Deployments)
  4. Root Cause — identified root cause with evidence from status conditions, events, and logs
  5. Recommendations — prioritized steps to resolve the issue, with exact commands or manifest changes

Edge Cases

  • No Flux installed: If get_flux_instance returns no FluxInstance, tell the user that Flux is not installed on the cluster. Suggest installing the Flux Operator.
  • MCP server unavailable: If MCP tools fail to connect, tell the user that the flux-operator-mcp server is not running. Provide the install command.
  • Suspended resources: If a Flux resource has .spec.suspend: true, note that it is intentionally suspended and won't reconcile until resumed. Don't flag this as an error unless the user expects it to be active.
  • Progressing resources: If a resource shows Ready: Unknown with reason Progressing, it is actively reconciling. Wait for the reconciliation to complete before diagnosing. Note the last transition time.
  • Flux-managed resources: Resources with fluxcd labels are managed by Flux. Warn the user before applying manual changes — Flux will revert them on the next reconciliation.
  • Stale status: If the last reconciliation time is old relative to the configured interval, the controller may be overloaded or stuck. Check controller logs for backpressure or errors.
  • Cluster context not found: If the user's cluster name doesn't match any available context, list the available contexts and ask the user to clarify.

© fluxcd, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 24 other files (references, assets) in skills/gitops-cluster-debug of fluxcd/agent-skills.

  • SKILL.md
  • assets/schemas/alert-notification-v1beta3.fields.txt
  • assets/schemas/artifactgenerator-source-v1beta1.fields.txt
  • assets/schemas/bucket-source-v1.fields.txt
  • assets/schemas/externalartifact-source-v1.fields.txt
  • assets/schemas/fluxinstance-fluxcd-v1.fields.txt
  • assets/schemas/fluxreport-fluxcd-v1.fields.txt
  • assets/schemas/gitrepository-source-v1.fields.txt
  • assets/schemas/helmchart-source-v1.fields.txt
  • assets/schemas/helmrelease-helm-v2.fields.txt
  • assets/schemas/helmrepository-source-v1.fields.txt
  • assets/schemas/imagepolicy-image-v1.fields.txt
  • assets/schemas/imagerepository-image-v1.fields.txt
  • assets/schemas/imageupdateautomation-image-v1.fields.txt
  • assets/schemas/kustomization-kustomize-v1.fields.txt
  • assets/schemas/ocirepository-source-v1.fields.txt
  • assets/schemas/provider-notification-v1beta3.fields.txt
  • assets/schemas/receiver-notification-v1.fields.txt
  • assets/schemas/resourceset-fluxcd-v1.fields.txt
  • … and 6 more

Open the folder on GitHubat commit 0d1fa6c

Compare with similar skills

Gitops Cluster Debug next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Gitops Cluster Debug compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gitops Cluster Debug this skillfluxcd/agent-skills230—~4.2kAutomated safety check: PassApache-2.0
Ksaildevantler-tech/ksail166—~1.1kAutomated safety check: PassCustom licence
Kubernetes ArchitectCybereason-Public/owLSM2808 repos~2.6kAutomated safety check: PassGPL-2.0
Kubernetes SpecialistJeffallan/claude-skills12k1 repos~2.1kAutomated safety check: PassMIT
Devopsnicepkg/auto-company1922 repos~814Automated safety check: PassMIT
K8s Agent Sandbox MCPkubernetes-sigs/agent-sandbox4.2k—~1.3kAutomated safety check: PassApache-2.0

Similar skills

  • Ksail

    devantler-tech/ksail

    Use the ksail CLI to spin up and manage Kubernetes clusters (Kind/K3d/Talos/vCluster/KWOK — local via Docker; EKS — cloud via AWS) and GitOps workloads declaratively.

    166 GitHub stars~1.1k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Kubernetes Architect

    Cybereason-Public/owLSM

    Expert Kubernetes architect specializing in cloud-native infrastructure, advanced GitOps workflows (ArgoCD/Flux), and enterprise container orchestration.

    280 GitHub starsUsed in 8 repos~2.6k tokens
    DevOps & CloudAuto-check passed
  • Kubernetes Specialist

    Jeffallan/claude-skills

    Creates and checks Kubernetes manifests, Helm charts, RBAC and network policies, and helps debug pod problems, with kubectl checks and rollback steps.

    12k GitHub starsUsed in 1 repo~2.1k tokens
    DevOps & CloudAuto-check passed
  • Devops

    nicepkg/auto-company

    Deploy to Cloudflare (Workers, R2, D1), Docker, GCP (Cloud Run, GKE), Kubernetes (kubectl, Helm).

    192 GitHub starsUsed in 2 repos~814 tokens
    DevOps & CloudAuto-check passed
  • K8s Agent Sandbox MCP

    kubernetes-sigs/agent-sandbox

    Official

    An MCP server skill for managing Kubernetes sandboxes. An agent skill from kubernetes-sigs/agent-sandbox.

    4.2k GitHub stars~1.3k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Apex Azure Diagnostics

    jonathan-vella/apex

    WORKFLOW SKILL — Debug Azure production issues: Container Apps, Functions, App Service, AKS, VMs and messaging, with KQL log analysis.

    217 GitHub stars~2.1k tokensUpdated today
    DevOps & CloudAuto-check passed

More from fluxcd/agent-skills

  • Gitops Repo Audit

    fluxcd/agent-skills

    Audit and validate Flux CD GitOps repositories by scanning local repo files (not live clusters) — runs Kubernetes schema validation, detects deprecated Flux APIs, reviews RBAC/multi-tenancy/secrets…

    230 GitHub stars~3.8k tokensUpdated 5 days ago
    Auto-check passed
  • Commit Assisted By

    fluxcd/agent-skills

    Add an Assisted-by: <agent-name/<model-id git trailer to commits made during an AI-assisted coding session.

    230 GitHub stars~1.3k tokensUpdated 5 days ago
    Auto-check passed
  • Gitops Knowledge

    fluxcd/agent-skills

    Flux CD and Flux Operator expert — answers questions and generates schema-validated YAML for all Flux CRDs (not repo auditing or live cluster debugging).

    230 GitHub stars~3.8k tokensUpdated 5 days ago
    Auto-check passed
  • Run the upstream Flux controller minor release procedure for helm-controller, image-automation-controller, image-reflector-controller, kustomize-controller, notification-controller…

    230 GitHub stars~3.9k tokensUpdated 5 days ago
    Auto-check passed
  • Run the upstream Flux controller patch release procedure for helm-controller, image-automation-controller, image-reflector-controller, kustomize-controller, notification-controller…

    230 GitHub stars~4.7k tokensUpdated 5 days ago
    Auto-check passed

Categories

Questions about Gitops Cluster Debug

What does Gitops Cluster Debug do?

Debug and troubleshoot Flux CD on live Kubernetes clusters (not local repo files) via the Flux MCP server — inspects Flux resource status, reads controller logs, traces dependency chains, and…. Gitops Cluster Debug is an agent skill from fluxcd/agent-skills. Debug and troubleshoot Flux CD on live Kubernetes clusters (not local repo files) via the Flux MCP server — inspects Flux resource status, reads controller logs, traces dependency chains, and performs installation health checks.

When should I use Gitops Cluster Debug?

Gitops Cluster Debug fits situations like: users report failing; not-ready Flux resources on a cluster; reconciliation errors; controller issues.

How do I install Gitops Cluster Debug in Claude Code?

Run `npx skills add fluxcd/agent-skills --skill gitops-cluster-debug -a claude-code`. Or copy the skill folder (skills/gitops-cluster-debug in fluxcd/agent-skills) into .claude/skills/gitops-cluster-debug in your project. Claude Code loads it when a task matches its description.

How do I install Gitops Cluster Debug in Codex?

Run `npx skills add fluxcd/agent-skills --skill gitops-cluster-debug -a codex`. Or copy the skill folder (skills/gitops-cluster-debug in fluxcd/agent-skills) into .agents/skills/gitops-cluster-debug in your project. Codex loads it when a task matches its description.

Can I use Gitops Cluster Debug in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add fluxcd/agent-skills --skill gitops-cluster-debug -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gitops-cluster-debug, .gemini/skills/gitops-cluster-debug, .github/skills/gitops-cluster-debug and .opencode/skills/gitops-cluster-debug in your project.

What does Gitops Cluster Debug need to run?

SKILL.md names no scripts, command-line tools or credentials: Gitops Cluster Debug is instructions for the agent only. Compatibility (from SKILL.md): Requires flux-operator-mcp.

Does Gitops Cluster Debug access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Gitops Cluster Debug safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Gitops Cluster Debug use?

Gitops Cluster Debug is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Gitops Cluster Debug use?

About 4.2k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.8k tokens, read only when the agent opens those files.

What are the alternatives to Gitops Cluster Debug?

Skills that share tags, products or a category with Gitops Cluster Debug: Ksail (devantler-tech/ksail, 166 stars), Kubernetes Architect (Cybereason-Public/owLSM, 280 stars), Kubernetes Specialist (Jeffallan/claude-skills, 12k stars) and Devops (nicepkg/auto-company, 192 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gitops Cluster Debug?

fluxcd (a GitHub organization) maintains it in fluxcd/agent-skills, which has 230 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 2, 2026.

Source: fluxcd/agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.