/confighub:inventoryThis page is for anyone who opens a GitOps repository they did not write, or have not looked at in a while, and needs to know what it deploys before they or an agent change it.
The walkthrough what your GitOps repository deploys runs /confighub:inventory on a repository shaped like a platform team's, with charts deployed by Argo CD ApplicationSets, and shows how to check that it reads files only. The Claude plugin runs it with the Claude plugin's other commands.
A GitOps repository is a Git repository that a tool such as Flux or Argo CD reads to decide what runs on your clusters. Its folders do not say which of them reach a cluster. A folder can look deployed and be deployed by nothing. Two environments can differ in values nobody wrote down. And an agent's change to production can sit in a file nobody opens.
/confighub:inventory reads the repository's files and tells you:
$values/... refs and single-source helm.valueFiles: [values-prod.yaml] layouts for remote or in-repo charts);It needs no cluster, no account and no hub, it changes nothing, and it sends nothing anywhere. What it reads and what it writes has the details a security reviewer asks for.
Amara joins a platform team and is given the shop's GitOps repository. Her first task is to raise the api's memory in production. Before she asks an agent to do it, she opens Claude Code in the repository and types:
/confighub:inventoryShe reads:
What shop-gitops deploys, read from its files
Kustomize overlays
apps/api/overlays/prod, built on apps/api/base
deployed by: Flux Kustomization flux-system/api (clusters/prod/api.yaml)
apps/api/overlays/staging, built on apps/api/base
deployed by: Flux Kustomization flux-system/api (clusters/staging/api.yaml)
Helm releases
shop-prod/redis: chart redis 18.1.0 from https://charts.bitnami.com/bitnami (infra/redis/helmrelease.yaml)
deployed by: nothing in this repository (perhaps kubectl, CI, or something in another repository)
Argo CD
Application argocd/payments: apps/payments in https://github.com/example/shop-gitops at main, to https://kubernetes.default.svc namespace payments (argocd/payments.yaml)
Plain manifests
apps/payments/: ConfigMap payments-config
deployed by: Argo CD Application argocd/payments (argocd/payments.yaml)
k8s-tools/: CronJob cleanup
deployed by: nothing in this repository (perhaps kubectl, CI, or something in another repository)
Values that differ between environments
The overlays built on apps/api/base:
prod staging
Deployment/api/spec.replicas 8 2
Deployment/api/spec.template.spec.containers[api].resources.limits.memory 512Mi 256Mi
Values agents changed, latest first (from the record)
apps/api/overlays/prod/replicas.yaml Deployment/api/spec.replicas: 6 → 8, 27 October, asked "Black Friday: production api needs 8 replicas"In one screen she learns four things she did not know:
apps/api/overlays/prod, and Flux deploys it from clusters/prod/api.yaml. That is the file her change belongs in./confighub:inventory in the repository.bin/confighub mini inventory DIR, where DIR is the repository. Without DIR, it reads the current folder.A security review may come before anyone installs a plugin with hooks. You can run the inventory first, on its own: one program, downloaded from the plugin's latest release and checked against the checksum published with it. Nothing is installed, and no hook is set up. Pick your computer's program, confighub-darwin-arm64 for a Mac with Apple silicon, or confighub-darwin-amd64, confighub-linux-arm64 or confighub-linux-amd64:
p=confighub-darwin-arm64
curl -fsSLO https://github.com/confighubai/confighub-mini-plugin/releases/latest/download/$p.gz
curl -fsSLO https://github.com/confighubai/confighub-mini-plugin/releases/latest/download/SHA256SUMS
shasum -a 256 -c SHA256SUMS --ignore-missing
gunzip $p.gz && chmod +x $p
CUB_MINI_COUNT=0 ./$p mini inventory ~/code/your-gitops-repositoryThe checksum line must print OK. On Linux, use sha256sum -c SHA256SUMS --ignore-missing. On a Mac, download with curl as shown: a program downloaded with a browser is blocked, because it is not code-signed. With CUB_MINI_COUNT=0, the program writes nothing anywhere. Without it, it notes the day you used it in ~/.confighub/agent-changes. For a security review says what the full plugin reads, writes and sends.
To compare environments, it builds each Kustomize overlay with kubectl kustomize or kustomize. If neither is installed, it lists everything else and says that the comparison needs one of them.
Kustomize overlays. An overlay is a Kustomize folder that no other folder builds on: usually one environment of one app. Each is listed with the folders it builds on, and with what deploys it.
Helm releases. Each Flux HelmRelease, with its chart, the chart's version, and where the chart comes from. A release patched in an overlay is listed once, where it is defined.
Helm charts kept in this repository. Each folder with a Chart.yaml, and what deploys it. A chart's own dependencies, in its charts/ folder, are not listed. A chart that other charts here take as a dependency from a folder, with file://, is said to be built into them; a library chart, that Helm never deploys it alone.
Argo CD. Each Application, with the folder or chart it deploys, the revision, and the cluster and namespace it deploys to. Each ApplicationSet, with its generators in plain words, such as "one Application for each cluster labeled cert-manager=enabled", and what its template deploys, from its source or each of its sources. A source counts as this repository's when its repoURL is the repository's origin, written as ssh or https. List and Git generators of this repository, and combinations of them, are filled into the template for each Application, so apps/api/{{env}} deploys only the folders the list names. If it names a branch other than HEAD, the line says which, so you can tell one that points at an old or missing branch.
Helm value files Argo CD reads from this repository. A value file a source reaches through another source's ref:, such as $values/clusters/{{name}}/ingress/values.yaml, is matched against the repository's files, and each file found is listed with the ApplicationSet or Application that reads it and what {{name}} is for it. With two or more, the values that differ between them are shown, as for environments.
Plain manifests. Folders of Kubernetes objects that no Kustomize folder includes.
Deployed by. For each folder, what in the repository deploys it:
kustomization.yaml of its own;flux-system folder that flux bootstrap writes.Where an ApplicationSet's path is filled in from what only Argo CD knows, such as a cluster's labels, a folder that matches it is "perhaps deployed by" that ApplicationSet. When the whole path comes from Argo CD, a folder nothing else deploys is "not known", never "nothing".
When nothing in the repository deploys a folder, it says so. That is not always a mistake. An Argo CD Application kept in another repository, a CI job or a person with kubectl may deploy it. It is something to ask about before you rely on it.
Values that differ between environments. For each base with more than one overlay, the overlays are built and compared value by value. Only values that differ are shown, up to twelve for each base. Values that look like passwords, keys or tokens are shown as (not shown).
Values agents changed. The latest changes from the Claude plugin's record in this repository: the value, from what to what, when, and the request or reason behind it. /confighub:why VALUE shows every recorded change to one value.
If your team manages 40+ Helm releases with values.yaml + values-dev.yaml / values-staging.yaml / values-prod.yaml via Argo CD or Flux, you do not need a hub or a pipeline replacement to get production safety today:
Application, ApplicationSet, HelmRelease, and values file in the repo with no local-hub chart cap (the ~12-chart note applies only to rendering charts inside a local laptop hub; note that review@v0 renders up to 12 Applications per single ApplicationSet and counts the rest).confighubai/confighub-mini-plugin/review@v0 on a branch + .github/CODEOWNERS on your values-prod.yaml paths, open a PR, and see every layered value diff and reason in the PR comment—nothing installed on anyone's laptop and zero cluster credentials.helm.valueFiles example (Argo CD multi-source $values/... or umbrella chart): For an Argo CD multi-source Application pointing at a remote chart (kube-prometheus-stack) with helm.valueFiles: [$values/charts/monitoring/values.yaml, $values/charts/monitoring/values-prod.yaml] (or an in-repo umbrella chart), /confighub:inventory lists the chart, version, and exact layered value files per environment:
Argo CD
Application argocd/kube-prometheus-staging: chart kube-prometheus-stack 65.1.0
valueFiles: $values/charts/monitoring/values.yaml, $values/charts/monitoring/values-staging.yaml
Application argocd/kube-prometheus-prod: chart kube-prometheus-stack 65.1.0
valueFiles: $values/charts/monitoring/values.yaml, $values/charts/monitoring/values-prod.yaml
Values that differ between environments (charts/monitoring)
staging prod
prometheus.prometheusSpec.retention 7d 30d
alertmanager.alertmanagerSpec.replicas 1 3initContainers, RBAC). Pair inventory + PR review with the cub CLI's cub config values / cub config diff (ConfigHub CLI docs) to check rendered objects before merge, and when ready, classify releases by flattening verdict (safe-to-flatten charts move to render-once OCI delivery via cub helm; unsafe-to-flatten charts stay explicitly on the render-late path while Argo CD or Flux HelmRelease keeps rendering).Here's what the inventory finds in the two example repositories most teams copy:
ArtifactGenerator that copies the repository's folders for Flux. It finds the podinfo release in the shared base, deployed through both environments. And it finds the three values in which production and staging differ, such as the chart version range >=1.0.0 against >=1.0.0-alpha.plugins/kustomized-helm. It also shows that many folders are matched only by an ApplicationSet named git-broken, which points at a branch that does not exist.bin/confighub mini drift --dir DIR, which reads the cluster and changes nothing.git on this computer, to find the repository's top folder and its origin. When two or more Kustomize overlays build on one base, it runs kubectl kustomize or kustomize build to compare them. An overlay built on a remote base makes kustomize download that base, as it would if you ran it yourself.~/.confighub/agent-changes, and never sends that anywhere; CUB_MINI_COUNT=0 turns it off.(not shown).The inventory tells you what the repository deploys today. It does not keep anything.
/confighub:staging in the app's folder: it starts the hub and gives the app a staging and a production copy of its settings (install the local hub).The last line of the inventory names the next step: the review, in a repository Argo CD or Flux reads, and otherwise the local hub. CUB_MINI_TIPS=0 turns that line off.