/cub-scout:observe-helmfrom cub-scout
Observes Helm-managed Kubernetes resources, disambiguating direct Helm, Flux HelmRelease, and Argo-rendered Helm via the managed-by label and manager co-signal.
Ships in cub-scout. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The controller-specific observer skill for Helm. The complication: "Helm-managed" can mean three different things depending on who wrote app.kubernetes.io/managed-by: Helm. This skill teaches the disambiguation matrix and the manager-string co-signal that resolves it.
Verified against pkg/agent/ownership.go detectHelmOwnership and pkg/agent/manager_strings.go ManagerHelm.
app.kubernetes.io/managed-by: Helm label actually mean here?"observe-fluxobserve-argocdscout-observedetectHelmOwnership)cub-scout classifies a resource as Helm-owned when either of two label families is present:
| Signal | Source | SubType | Confidence | Resulting Name |
|---|---|---|---|---|
app.kubernetes.io/managed-by: Helm label | label | release | high | Value of app.kubernetes.io/instance |
helm.sh/chart label | label | release | high | Value of app.kubernetes.io/instance (falls back to chart name) |
Both are written by Helm v3's default release labels. Pre-v3 Helm charts wrote helm.sh/chart only; v3+ writes both.
This is the unique value of this skill. Same labels appear in all three cases; the manager string in metadata.managedFields distinguishes them.
| Scenario | managed-by label | Manager string in managedFields | cub-scout classification |
|---|---|---|---|
Direct helm install/upgrade (a human or CI ran the CLI) | Helm | helm (bare; the default kube.ManagedFieldsManager from helm/helm) | OwnerHelm + controller manager is helm |
| Flux helm-controller (HelmRelease CRD) | Helm (Helm v3 sets it even when called via the library) | helm-controller | OwnerFlux SubType=helmrelease (Flux labels take detection priority over Helm); controller co-signal is helm-controller |
| Argo CD Application sourcing a Helm chart | Helm (Argo renders Helm and applies the result) | argocd-controller or kubectl-client-side-apply | OwnerArgo SubType=application (Argo labels take detection priority); controller co-signal is argocd-controller |
cub-scout's ownership detector runs in priority order — Flux first, then Argo, then Helm. So a HelmRelease-managed resource is OwnerFlux, not OwnerHelm. A pure direct-Helm resource is OwnerHelm because nothing else claimed it first.
The ManagerHelm = "helm" constant in manager_strings.go denotes the bare Helm CLI invocation, which is what you see in scenario 1 only. Third-party embedders (Flux helm-controller, terraform-provider-helm) override the field-manager identity with their own name.
| Manager | Source | Meaning |
|---|---|---|
helm | upstream helm/helm kube.ManagedFieldsManager default (filepath.Base(os.Args[0])) | Direct helm install / helm upgrade invocation. |
That's it — the bare helm string is the only one cub-scout treats as a "Helm controller" writer. Anything else writing Helm-labelled resources is some OTHER controller using the Helm library, and its identity is in its manager string (helm-controller, argocd-controller, etc.).
controllerManagersForOwner(OwnerHelm, ...) returns just {ManagerHelm} — the narrow match.
# Direct helm install
$ kubectl get deploy api -n prod -o yaml | yq '.metadata.labels, .metadata.managedFields[].manager'
labels:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: payments-api
helm.sh/chart: payments-api-1.2.3
managers:
- helm
cub-scout reads this as OwnerHelm release=payments-api. A subsequent kubectl edit adds a kubectl-edit manager → drift cause is manual-edit.
# Flux helm-controller
$ kubectl get deploy api -n prod -o yaml | yq '.metadata.labels, .metadata.managedFields[].manager'
labels:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: payments-api
helm.sh/chart: payments-api-1.2.3
helm.toolkit.fluxcd.io/name: payments-api # ← Flux label wins
helm.toolkit.fluxcd.io/namespace: flux-system
managers:
- helm-controller
cub-scout reads this as OwnerFlux helmrelease=payments-api in flux-system. The Helm labels are still there but the Flux label takes priority. The controller co-signal is helm-controller, not bare helm.
# Argo CD as Helm renderer
$ kubectl get deploy api -n prod -o yaml | yq '.metadata.labels, .metadata.managedFields[].manager'
labels:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: payments-api # Helm chart's instance label
argocd.argoproj.io/instance: payments-app # ← Argo label
helm.sh/chart: payments-api-1.2.3
managers:
- argocd-controller
cub-scout reads this as OwnerArgo application=payments-app. Argo rendered the Helm chart and applied the result; the managed-by: Helm label is an artifact of the chart, not evidence of who's reconciling.
app.kubernetes.io/managed-by: Helm without app.kubernetes.io/instance produces OwnerHelm with an empty Name. cub-scout falls back to the helm.sh/chart label value when available.helm.sh/chart. cub-scout's second detector branch handles this — produces OwnerHelm with Name from app.kubernetes.io/instance or, if that's also missing, from the chart name itself.confighub.com/UnitSlug + Argo labels + Helm labels. ConfigHub detection runs first → OwnerConfigHub. See observe-confighub-managed.terraform-provider-helm: Writes its own manager identity (terraform-provider-helm), so resources installed through it look like Helm-labelled with a TF-attributable manager. cub-scout's verified manager enumeration does NOT include this string — falls through to cause=unknown, parse-don't-guess.source-truth-pass predicate caveat: The helm-flux and helm-argo strategies emit a runtime.helm_chart_anchor proof gap because the runtime chart-version extractor isn't fully wired (Phase 2 of #409). The strategy still produces a verdict; the gap is recorded in omissions[].pkg/agent/ownership.go detectHelmOwnership, pkg/agent/manager_strings.go ManagerHelmhelm/helm kube.ManagedFieldsManager — filepath.Base(os.Args[0])observe-flux, observe-argocd, scout-attribute, scout-compare (the helm-* strategies)helm install, helm upgrade, helm rollback, helm uninstall are mutations and NOT in allowed-tools; route to the user driving the helm CLI.app.kubernetes.io/managed-by: Helm is necessary but not sufficient to call something "Helm-managed" — always check the manager string and the Flux/Argo label co-signals.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
35 skills in this plugin
/ai-agent-readonly-contextUse when the user is WIRING CUB-SCOUT INTO AN AI AGENT (Claude / Codex / a custom LLM workflow) and needs the patterns for read-only context, MCP gateway tools, deterministic context snapshots, and the prompt-shape that makes cub-scout's output reliable for LLMs. Natural phrasing: "set up cub-scout as a Claude tool", "expose cub-scout to my agent over MCP", "give the LLM a deterministic snapshot of this cluster", "what cub-scout patterns work well for AI agents?", "MCP config for cub-scout in Claude Code", "best practices for wiring cub-scout into Codex / Cursor / Continue", "AI-ready cluster context", "prompt template for cub-scout output". Composes `mcp serve` + `context-pack` + `--presentation ai` + the structured JSON contracts. Do NOT load for: a specific verb invocation (load the corresponding scout-* skill), authoring an MCP server in general (this is about wiring CUB-SCOUT specifically), or any mutating workflow (cub-scout never mutates; the read-only triad is the whole point of this skill)./audit-fleet-conformanceUse when the user wants to verify CONFORMANCE ACROSS A FLEET — multiple namespaces, multiple clusters, or a defined View scope. Natural phrasing: "which clusters are conformant?", "audit fleet conformance against this View", "show me all outliers in prod fleet", "compare every service against its source-truth strategy", "scope-wide three-way check for drift", "fleet-level compliance audit", "which deployments drift across the cluster?". Composes `compare three-way --view` + `compare source-truth` + `fleet outliers` for multi-resource / multi-cluster checks. Requires connected mode for the View + ConfigHub surfaces. Do NOT load for: a single resource (use investigate-drift), a triage (use triage-unhealthy-workload), incident evidence for one event (use operator-incident-evidence), or anything mutating.Generated from the plugin's indexed repository (confighub/cub-scout) — no native marketplace selected
npx claudepluginhub p/confighub-cub-scoutOther plugins' skills for the same job