/cub-scout:cub-scoutfrom cub-scout
Umbrella router for the cub-scout repo. Answers capability questions (can cub-scout do X, how does it differ from kubectl/cub) and routes to verb-grouped scout-* skills for observe, diagnose, compare, attribute, ingest, govern, integrate, and verify tasks.
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.
Read when SKILL.md points to them.
This skill is the cross-cutting entry point. It picks the right verb-grouped skill for a user's question and explains the cub-scout / cub boundary. For specific tasks, load the scenario skill directly.
scout-* skill directly:
scout-observe — see what's runningscout-diagnose — interpret + recommendscout-compare — intended vs actualscout-attribute — provenance of field valuesscout-ingest — adopt existing config into ConfigHub with preview firstscout-govern — connected governance signalsscout-mcp — MCP gateway + context-packscout-verify — typed, fingerprinted evidence receiptsconfighub/confighub-skills skills (cub-mutate, cub-apply, etc.)kubectl (user driven) or a cub skill| Group | Skill | Status |
|---|---|---|
| Observe | scout-observe | shipped (batch 1) |
| Diagnose | scout-diagnose | shipped (batch 1) |
| Compare | scout-compare | shipped (batch 1) |
| Attribute | scout-attribute | shipped (batch 1) |
| Govern | scout-govern | shipped (batch 2) |
| Adopt Existing Config | scout-ingest | shipped (batch 2) |
| Integrate | scout-mcp | shipped (batch 2) |
| Verify | scout-verify | shipped (batch 2, consuming the #446 receipt capability) |
See skills/README.md for the full plan including controller observer skills (observe-argocd, observe-flux, observe-sveltos, observe-modelplane, observe-helm, observe-crossplane, observe-kro), workflow scenario skills (triage-unhealthy-workload, investigate-drift, audit-fleet-conformance, etc.), and shared references.
#444)The consumer-side complement: same cub-scout verbs framed around Pilot (the acceptance judge) rendering verdicts from cub-scout's evidence. Load one of these instead of a scout-* skill when the user's prompt is shaped as "Pilot, decide ..." or "render the verdict ...". #444 is complete: 9 scenarios shipped across batches A and B.
| Scenario | Skill | Pilot consumes | Pilot decides |
|---|---|---|---|
| Pre-deploy CD gate | pilot-cd-gate | compare source-truth --strategy <s> + optional receipt verify --fail-on any-non-pass | PASS / WATCH / ASK / BLOCK on the release |
| Fleet-wide conformance | pilot-fleet-conformance | compare three-way --view + per-resource source-truth + fleet outliers | Fleet verdict + per-resource breakdown |
| Drift classification | pilot-patch-and-drift | attribution evidence (cause / managerHint / gitSource / bindingSource) | revert / quarantine / accept-as-canonical / ASK |
| Real-time watch response | pilot-watch-alert-response | cub-scout watch / cub-scout bot event stream with --emit-receipt-on inline receipts (v2 #463) | Per-event PASS / WATCH / ASK / BLOCK |
| Incident close-out | pilot-incident-evidence | trace + explain + compare + bundle + history + audit + chained receipts (--input-attestation, v2 #463) | Incident verdict + immutable evidence pack |
| Rollback decision | pilot-rollback-decision | history + impact + per-candidate receipt verify --at-commit <sha> chained into chosen-target receipt | Rollback target SHA + safety verdict |
| Promotion gate | pilot-promotion-gate | compare three-way per variant + bindingSource graph diff + chained variant-A receipt | Cross-variant PASS / WATCH / ASK / BLOCK with diff reasons |
| Compliance audit | pilot-compliance-audit | scope-wide source-truth + scan + audit list + per-resource saved receipts | Compliance report (Compliant / with-caveats / Non-compliant / Insufficient-evidence) + fingerprinted evidence inventory |
| Release verification | pilot-release-verification | gitops status --with-confighub + compare three-way + history --since <deploy-time> + receipt evidence; summary.agreement and deliveryEvidence drive convergence signals | Post-deploy PASS / WATCH (wait) / BLOCK / ASK |
cub scout observes and explains; it never decides. It is the read-only Kubernetes and GitOps observer — it surfaces evidence about ownership, health, drift, and provenance, but it never mutates the cluster and never makes authority calls about what should be true. ConfigHub (driven by cub) is the authority; cub-scout is the witness.
cub scout is the preferred documented form. In this repo, use ./cub-scout ... for exact local commands.
cub scout fordoctor, map, trace, tree, scan, graph, snapshot, watch, bot, statusexplain, debug, suggest-remedy, patterns, gitops statuscompare drift, compare three-way, compare source-truth, compare <kind>/<name>cause / managerHint / gitSource / bindingSource on compare and explain JSONimport --dry-run, import --from-bundle, import --git-path, import parse-repo, import argocd, import cluster-aggregatorhistory, impact, fleet outliers, summary, views resolve, audit list, bundle inspect/diff/timeline, catalog listmcp serve, context-pack, botreceipt verify / show / validate / list (typed, fingerprinted evidence; receipt verify <kind>/<name> --with-confighub can freeze object-correlated delivery evidence under predicate.evidence.deliveryEvidence)cub forcub variant upload (load already-rendered resources as units)cub link list / get (the data feed for cub-scout's connected attribution layer)cub is the writer side of the triadcub-scout import --git-path is a local structure / import-preview flow — it does not render manifests or upload to ConfigHubcub variant upload ingests already-rendered resources and writes them as units — it renders nothing, and cub gitops discover / cub gitops import no longer exist (removed from cub 2026-07-25, #573)cub, not an implied cub-scout featurecompare / explain JSON is read-only enrichment — never implies a writecause + managerHint + gitSource{repoUrl,revision,path,file,line} + bindingSource on every field mismatch. See scout-attribute.compare source-truth with Phase 1 + Phase 2 strategies (9 total).views resolve, views open, views project --with-reality, compare three-way --view.doctor / explain with --presentation and --hint-mode.mcp serve): standalone + connected tool sets, including gitops_status for GitOps delivery and controller-coverage evidence.gitops status --with-confighub, doctor --with-confighub, map activity --with-confighub, trace --with-confighub, explain --with-confighub, and single-resource receipt verify --with-confighub add bounded release history, live-status freshness, and event-consumer health. doctor adds a scope-level delivery rollup, map activity renders the evidence as timeline rows, and receipts freeze object-correlated snapshots as fingerprint-covered supporting evidence.gitops status emits controllerCoverage[] for Flux, Argo CD, ConfigHub, Sveltos, and Modelplane so absence and RBAC/API omissions stay distinguishable.compare three-way --source-path <local-checkout> populates gitSource.file:line for raw YAML manifests.applied-matches-spec, source-truth-pass, no-manual-edits-since. verify / show / validate / list + local store with immutable canonical filenames. See scout-verify.AI-README-FIRST.md — cold-start guide, current shipped capabilities, current open queueHANDOVER.md — latest execution snapshotREADME.md § "Capability Map" — the eight verb groupsdocs/reference/commands.md — exact command surfacedocs/reference/json-contracts.md — JSON shapesreferences/capability-assistant.md (in this directory) — the original capability-assistant profile, kept for back-compatibilityDo not invent command surfaces.
Verify from local help before claiming capability. help <command> is the
auto-approved form. <command> --help is not: a wildcard grant for it would
also admit import -y --audit-reason --help, where --help is the flag's
value and the import runs:
./cub-scout --help
./cub-scout help doctor
./cub-scout help explain
./cub-scout help compare three-way
./cub-scout help compare source-truth
./cub-scout help import
./cub-scout help views
./cub-scout help mcp serve
When the workflow crosses into ConfigHub:
cub variant upload --help
cub k8s --help
cub link --help
cub link list --help
cub-scout is cluster read-only by defaultsuggest-remedy describes a fix; it does not apply it (the executor was removed in #428)When adding skills under skills/, follow:
skills/SKILL_TEMPLATE.md — the canonical template (cub-scout, read-only variant)allowed-tools, everWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (confighub/cub-scout) — no native marketplace selected
npx claudepluginhub p/confighub-cub-scout35 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./confighub-source-truthUse when the user wants a STRATEGY-TYPED, PILOT-ACCEPTANCE-SHAPED VERDICT about whether ConfigHub / controller / runtime agree under a declared delivery strategy — the `compare source-truth` workflow with the explicit `--strategy <name>` requirement. Natural phrasing: "give me a source-truth verdict for deploy/api", "verify under git-argo strategy that ConfigHub matches the cluster", "run the source-truth contract for upstream Pilot acceptance", "compare source-truth confighub-oci-flux strategy across the namespace", "produce strategy-relative correctness evidence", "show me where the strategy declaration is being violated". Composes `compare source-truth --strategy <s>` + the source-truth evidence contract + (optionally) `receipt verify --strategy <s>` for a fingerprinted version. Requires CONNECTED MODE. Do NOT load for: a single-resource live drift question without a declared strategy (use investigate-drift), a triage (use triage-unhealthy-workload), or a fleet-wide audit that doesn't need strategy framing (use audit-fleet-conformance). cub-scout NEVER infers a strategy — this skill enforces that boundary./investigate-driftUse when the user wants to compare live and desired state and inspect available manager and source evidence. Natural phrasing: "why is this Deployment different from the git manifest?", "which recognized manager is recorded for this path?", "controller-drift or interactive-manager evidence?", "compare three-way + attribution for deploy/api". Composes `compare three-way` + `compare drift` + the attribution layer (`cause` / `managerHint` / `gitSource` / `bindingSource`). Do NOT promise who changed the value or which manager wrote last: path-level manager evidence is not time-ordered, and resource-level `explain` evidence is not field-specific. Do NOT load for: a triage where the workload won't start (use triage-unhealthy-workload), pure inventory (use scout-observe), generating a fingerprinted evidence artifact (use scout-verify and the no-manual-edits-since predicate), or any mutating fix (cub-scout never mutates)./migrate-from-kubectlUse when the user is MIGRATING from ad-hoc `kubectl apply` toward GitOps (Argo / Flux / ConfigHub) — and needs to find the manual edits, decide what to do with each (revert / port to git / accept as canonical), and plan the transition. Natural phrasing: "find all the manual edits in this cluster", "we have years of kubectl-apply, help us move to GitOps", "which resources have been hand-edited?", "audit drift caused by humans not controllers", "port my cluster state to git", "show me everything kubectl-* has touched". Composes attribution layer (`cause: manual-edit`) + `map orphans` (resources without a controller owner) + `scan` (risk classification) + `snapshot` / `import --git-path` preview once a repo skeleton exists. Read-only throughout — the migration itself is user-driven. Do NOT load for: real-time triage (use triage-unhealthy-workload), single-resource drift question (use investigate-drift), a fleet conformance audit (use audit-fleet-conformance), or any mutating action./observe-argocdUse when the user wants to observe ARGO CD-managed resources specifically — the controller-specific observer skill for Argo. Natural phrasing: "is this resource managed by Argo CD?", "show me Argo applications in this cluster", "trace this Argo-owned deployment back to source", "which ApplicationSet generated this app?", "did Argo apply the latest commit?", "explain the Argo CSA migration default", "what tracking-id annotation does Argo write?". Load whenever intent involves Argo CD specifically — Applications, ApplicationSets, sync status, tracking-id annotation, the kubectl-client-side-apply migration default, or Argo-as-deliverer-for-ConfigHub. Do NOT load for: generic ownership detection (use scout-observe), comparing live state to git (use scout-compare), the ConfigHub authoring side (use cub skills), or general Argo CRD authoring (Argo is a separate tool — this skill is about *observing* Argo-managed resources, not configuring Argo itself).Other plugins' skills for the same job