/cub-scout:scout-ingestfrom cub-scout
Discovers Kubernetes/GitOps workloads from live clusters or git repos and proposes ConfigHub unit/space/target structures as a read-only preview before import.
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 adoption/import verb group of cub-scout. Start from the live cluster when possible, then use repo parsing only when the repository itself is under review. These commands read cluster, bundle, git-repo, and controller structure and propose the corresponding ConfigHub unit/space/target tree. The actual write into ConfigHub uses import apply and is intentionally NOT in this skill's allowed-tools.
Explicit phrasings:
--git-path produce for this repo layout?"Implicit intents:
scout-comparescout-observecub variant upload) — that's cub, not cub-scout. Route to confighub/confighub-skills.cub-scout import apply (mutating; writes to ConfigHub) — this skill refuses to invoke it directly. Recommend the user run it themselves once they've reviewed the preview.import --dry-run reads live workloads and produces a proposal document. No ConfigHub auth needed for the preview itself.import --git-path <repo> and import parse-repo <repo> read a local git checkout and produce a proposal. No cluster, no ConfigHub.cub auth login): the proposal is rendered against the connected ConfigHub instance (existing spaces, naming conflicts, etc. are surfaced) and import apply (mutating; not in this skill) becomes available to write the proposal.cub-scout import parse-repo * — pure parser; read-onlycub-scout import cluster-aggregator * — emits the proposal as JSON / YAML; import apply is the separate mutating verbcub-scout app list * — read-only ConfigHub App inventorycub <entity> get / list for the entities named in allowed-tools, for connected-mode contextargocd app get, argocd appset get, flux get for source-side structure readscub-scout import --dry-run (live-cluster preview) and cub-scout import --git-path <dir> (local repo preview; --git-path forces --dry-run in cmd/cub-scout/import.go) change nothing as written. A later flag overrides either one (--dry-run=false, or --git-path= to clear the path), so a wildcard grant would admit a real import; they are left out of allowed-tools and the host asks before each run.cub-scout import apply * — writes ConfigHub units / spaces / targetscub-scout import argocd * — without --dry-run it calls createUnitWithConfigAndLabels (line 465 in cmd/cub-scout/import_argocd.go) and can also --disable-sync or --delete-app. Because the wildcard cannot enforce --dry-run, the verb is out of allowed-tools entirely; recommend the user run cub-scout import argocd <app> --dry-run themselves and pipe the output back to the agent for review.cub-scout app create * — creates ConfigHub Apps; app list is the read-only form in allowed-toolscub * create/update/delete, cub variant upload (different tool boundary — cub, not cub-scout), any kubectl apply/edit/patch/deleteimport apply boundary: the skill describes import apply's shape and what it would do, but does NOT run it. If the user wants to apply, the skill says "you run cub-scout import apply --space <s> yourself after review" — the user is the actor for any mutation.| Question | Verb | Notes |
|---|---|---|
| "Preview ConfigHub units from a live namespace" | cub-scout import --dry-run -n <namespace> --json | First adoption path. Reads live workloads, ownership, and labels; emits a proposal without writing. |
| "Preview ConfigHub units from a local git repo" | cub-scout import --git-path <repo> --dry-run --json | Advanced path. Walks the repo, classifies kustomize / helm / raw manifests, emits a proposal. Does not upload or render. |
| "Parse the repo structure deterministically" | cub-scout import parse-repo <repo> | Lower-level parser. Extracts ApplicationSet generator directories, helm chart paths, kustomization roots. Used as a primitive by other verbs. |
| "Import existing Argo Applications / ApplicationSets" | cub-scout import argocd --space <s> | Reads Argo state from the cluster and proposes one ConfigHub unit per Application. ApplicationSet generators (git directories, lists, clusters) preserved as hierarchy. |
| "Import via a cluster aggregator" | cub-scout import cluster-aggregator --space <s> | Multi-cluster bundle-based import. Aggregates per-cluster snapshots into a single ConfigHub proposal. |
| "Manage ConfigHub Apps (existing units → App)" | cub-scout app * | Read-only manipulations of the App/Deployment/Target metadata in ConfigHub. |
--json if the proposal is going into a script or a PR-bot; ASCII if the user is reading it.cub-scout import ... --json > proposal.json) so people can review the structure before any write.cub-scout import apply <proposal.json> themselves. The skill does not invoke it. The mutation is the user's decision, not the agent's.$ cub-scout import --git-path ./platform-config --dry-run --json
{
"units": [
{
"slug": "apps-prod-api",
"path": "apps/prod/api",
"kind": "Deployment",
"rendererHint": "kustomize",
"confidence": "high"
},
{
"slug": "apps-prod-worker",
"path": "apps/prod/worker",
"kind": "Deployment",
"rendererHint": "kustomize",
"confidence": "high"
}
],
"spaces": ["platform-prod"],
"targets": ["Kubernetes:prod-use2"]
}
$ cub-scout import argocd guestbook --space payments --dry-run
$ # proposal has one unit per Argo Application,
$ # with ApplicationSet origin preserved as hierarchy
$ cub-scout import --git-path ./platform-config --dry-run --json > proposal.json
$ git checkout -b adopt-confighub
$ git add proposal.json
$ git commit -m "preview ConfigHub units for platform-config"
$ # ...proposal review happens in git, not in ConfigHub
This keeps the proposal reviewable without touching ConfigHub. A future import --git-path --output-dir flow is tracked separately for emitting proposed unit YAMLs directly.
Every preview returns a structured proposal Pilot or a CI bot can consume:
| Field | Meaning |
|---|---|
units[] | Proposed ConfigHub units, one per workload. Each carries slug, path, kind, rendererHint, confidence. |
spaces[] | Proposed ConfigHub spaces (typically grouped by environment / cluster) |
targets[] | Proposed ConfigHub targets (the K8s clusters / contexts the units would deploy to) |
conflicts[] | (Connected mode) existing ConfigHub names that would clash with the proposal |
unsupported[] | Workloads / resource shapes the parser can't classify — surface as gaps, not silent skips |
cub-scout's import verbs are structure-and-preview focused:
cub-scout import --git-path <repo> reads a local checkout, classifies it, emits a proposalcub-scout import argocd reads Argo Applications, emits a proposalcub-scout import apply writes the proposal to ConfigHub (mutation; out of this skill)cub variant upload (in the cub CLI) is the load already-rendered resources path:
-, or an oci:// bundle of rendered resourceshelm template, kustomize build, an installer)The two paths solve different problems. cub-scout's import is for adoption (existing live state → ConfigHub for the first time); cub variant upload is for ongoing load (rendered configuration → ConfigHub). Don't claim they overlap.
cub gitops discoverandcub gitops importno longer exist. cub deleted thegitopsgroup on 2026-07-25 and added no replacement;cub gitopsexits 1 withunknown command. The render-target model went with it. If a user asks for that flow, say so and point atcub variant upload(#573).
docs/reference/commands.md § import, § appexamples/argo-import-confighub-demo/examples/flux-import-confighub-demo/examples/fleet-import/cub-scout/#363)cub side of the boundary: confighub/confighub-skillsscout-verify handles typed evidence about a single resource. Adoption/import is about structural adoption; the output is a proposal document, not an evidence artifact.import apply is intentionally not in the allowed-tools. If a downstream agent is wired to apply automatically, that's an agent-policy decision; this skill says "preview, never apply."What 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.Other plugins' skills for the same job