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.
npx skills add devantler-tech/agent-plugins --skill gitops-cluster-debuggit clone --depth 1 https://github.com/devantler-tech/agent-pluginsWrote 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.
[](https://agentmods.dev/skills/devantler-tech/agent-plugins/gitops-cluster-debug)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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
apiVersionof a resource.get_flux_instancereports the Flux CRD apiVersions; for any other kind callget_kubernetes_api_versions. - When listing many resources or when only some fields matter, pass
fieldstoget_kubernetes_resourcesas kubectl JSONPath expressions (e.g.status.conditions[?(@.type=="Ready")].message,status.lastAppliedRevision) to keep results small. Includestatus.eventsandstatus.inventorywhen you need them. - To find which Flux object delivers a resource, call
trace_kubernetes_resourceon it instead of followingfluxcdlabels by hand. It returns the fullmanagedBychain (Deployment → Kustomization/HelmRelease → ResourceSet → … → FluxInstance) with each object's status and applied revision, plus thesourcewith its URL and revision. Any object in the chain that is not ready or issuspendedis a lead. - For workload problems, read events and logs at the workload level: pass
kind: Deployment(or StatefulSet, DaemonSet, Job, CronJob) withnameandnamespacetoget_kubernetes_eventsandget_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,sinceandgrep. Narrow logs withsince,grep(e.g.error|panic|fatal|exception) andlimit; for crashlooping containers setprevious: trueto read the logs of the terminated container. - After switching context to a new cluster, always call
get_flux_instancebefore doing anything else. - Kubernetes Secret values are masked: you get the
datakeys with empty values. - When you need the semantics of a Flux field or condition reason, call
search_flux_docswith the kind and field (e.g.HelmRelease remediation) and read the section withread_flux_doc.
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.
- assets/schemas/alert-notification-v1.fields.txt 2.4 KB
- assets/schemas/alert-notification-v1beta3.fields.txt 2.6 KB
- assets/schemas/artifactgenerator-source-v1beta1.fields.txt 14 KB
- assets/schemas/bucket-source-v1.fields.txt 8.0 KB
- assets/schemas/externalartifact-source-v1.fields.txt 4.1 KB
- assets/schemas/fluxinstance-fluxcd-v1.fields.txt 20 KB
- assets/schemas/fluxreport-fluxcd-v1.fields.txt 5.4 KB
- assets/schemas/gitrepository-source-v1.fields.txt 11 KB
- assets/schemas/helmchart-source-v1.fields.txt 7.4 KB
- assets/schemas/helmrelease-helm-v2.fields.txt 45 KB
- assets/schemas/helmrepository-source-v1.fields.txt 7.4 KB
- assets/schemas/imagepolicy-image-v1.fields.txt 5.6 KB
- assets/schemas/imagerepository-image-v1.fields.txt 6.4 KB
- assets/schemas/imageupdateautomation-image-v1.fields.txt 10 KB
- assets/schemas/kustomization-kustomize-v1.fields.txt 20 KB
- assets/schemas/ocirepository-source-v1.fields.txt 10 KB
- assets/schemas/provider-notification-v1.fields.txt 3.5 KB
- assets/schemas/provider-notification-v1beta3.fields.txt 3.9 KB
- assets/schemas/receiver-notification-v1.fields.txt 8.0 KB
- assets/schemas/resourceset-fluxcd-v1.fields.txt 11 KB
- assets/schemas/resourcesetinputprovider-fluxcd-v1.fields.txt 10 KB
- evals/evals.json 5.5 KB
- references/flux-crds.md 15 KB
- references/troubleshooting.md 12 KB
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.
- 1mo ago Changed · +90 lines · +42 tokens per session fc6065c672e6
- 2mo ago Changed 8a694627d9c5
- 3mo ago First seen · 257 lines · 96 tokens per session scan A 5164c8ffc62f
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.
gitops-cluster-debug compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gitops-cluster-debugdevantler-tech/agent-plugins | Skill | 3 | 2d ago | Apache-2.0 | A | 138 | Claude Code |
| hyperpod-node-debuggerawslabs/agent-plugins | Skill | 955 | today | Apache-2.0 | A | 139 | Claude Code |
| hyperpod-cluster-debuggerawslabs/agent-plugins | Skill | 955 | today | Apache-2.0 | A | 80 | Claude Code |
| hyperpod-ncclawslabs/agent-plugins | Skill | 955 | today | Apache-2.0 | A | 150 | Claude Code |
| hyperpod-performance-debuggerawslabs/agent-plugins | Skill | 955 | today | Apache-2.0 | A | 133 | Claude Code |
| hyperpod-issue-reportawslabs/agent-plugins | Skill | 955 | today | Apache-2.0 | A | 99 | Claude Code |
| architecture-optimizationwondelai/skills | Skill | 2.8k | today | MIT | A | 226 | Claude Code |