/confighub:inventoryFor a platform engineer who opens their team's GitOps repository in Claude Code and wants a read-only first step before anyone changes it. /confighub:inventory reads the repository's files and says what deploys each chart and app, for which clusters, which file holds each cluster's own values, and what nothing deploys. It reads files only. It needs no cluster, no account and no hub, and it sends nothing anywhere.
You need: Claude Code, signed in, with the Claude plugin, and a GitOps repository on your computer.
| By hand | Ask your agent | |
|---|---|---|
| Install the plugin | claude plugin marketplace add confighubai/confighub-mini-plugin, then claude plugin install confighub@confighub | In Claude Code: /plugin marketplace add confighubai/confighub-mini-plugin, then /plugin install confighub@confighub |
| See what the repository deploys | /confighub:inventory in the repository | "Before we change anything in this repository: what deploys each chart, for which clusters, and which file holds us-east's own ingress values? Write the answer in ANSWER.md. Change nothing else." |
| Check that nothing changed | git status --short prints nothing | "Did reading the inventory change any file here?" |
Each chart's line names the ApplicationSet or Application that deploys it, and each cluster's value file is listed with the ApplicationSet that reads it.
Without ConfigHub: you open each ApplicationSet, read its generators and sources, and match every templated path and value file against the folders by hand.
Next, for each pull request: the review comments with what each cluster gets, and why, and GitHub's code owners make it wait for your team's approval. It is one workflow file, Argo CD keeps reading Git, and nothing is installed on anyone's computer.
Not ready to install a plugin with hooks on a work computer? Run the inventory on its own: one program, checked against its published checksum, with nothing installed. For a security review says what the full plugin reads, writes and sends.
The rest of this page is the full version: a small repository shaped like a platform team's, what the inventory says about it, how to check for yourself that it reads files only, what an agent may do, and how this was tested.
For a person following along in a terminal.
Claude Code, signed in, and Git. A GitOps repository is a Git repository that Argo CD or Flux reads to decide what runs on your clusters. An Argo CD ApplicationSet makes one Application for each cluster, list entry or folder its generators give. The steps make a small repository of that kind; to use your own, skip step 2 and run the rest in your repository.
/plugin marketplace add confighubai/confighub-mini-plugin and then /plugin install confighub@confighub.
claude plugin marketplace add confighubai/confighub-mini-plugin
claude plugin install confighub@confighubingress=enabled. Its second source adds each cluster's own values from clusters/CLUSTER/ingress/values.yaml.
git init -q platform-gitops && cd platform-gitops
git remote add origin https://github.com/example/platform-gitops.git
mkdir -p appsets catalog/lib catalog/ingress catalog/gpu-operator clusters/eu-west/ingress clusters/us-east/ingress
printf 'apiVersion: v2\nname: lib\ntype: library\nversion: 0.1.0\n' > catalog/lib/Chart.yaml
printf 'apiVersion: v2\nname: ingress\nversion: 1.4.0\ndependencies:\n- {name: lib, repository: "file://../lib", version: 0.1.0}\n' > catalog/ingress/Chart.yaml
printf 'replicas: 1\nlogLevel: info\n' > catalog/ingress/values.yaml
mkdir -p catalog/ingress/templates
printf 'apiVersion: apps/v1\nkind: Deployment\nmetadata: {name: ingress}\nspec:\n replicas: {{ .Values.replicas }}\n' > catalog/ingress/templates/deployment.yaml
printf 'apiVersion: v2\nname: gpu-operator\nversion: 0.2.0\n' > catalog/gpu-operator/Chart.yaml
printf 'replicas: 2\nlogLevel: info\n' > clusters/eu-west/ingress/values.yaml
printf 'replicas: 4\nlogLevel: info\n' > clusters/us-east/ingress/values.yaml
cat > appsets/ingress.yaml <<'EOF'
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata: {name: ingress, namespace: argocd}
spec:
generators:
- clusters: {selector: {matchLabels: {ingress: enabled}}}
template:
metadata: {name: '{{name}}-ingress'}
spec:
project: default
sources:
- {ref: values, repoURL: 'https://github.com/example/platform-gitops.git', targetRevision: main}
- repoURL: https://github.com/example/platform-gitops.git
path: catalog/ingress
targetRevision: main
helm: {valueFiles: [values.yaml, '$values/clusters/{{name}}/ingress/values.yaml']}
destination: {name: '{{name}}', namespace: ingress}
EOF
git add . && git commit -qm start/confighub:inventory in the repository. From a terminal:
claude -p "/confighub:inventory"…
Helm charts kept in this repository
catalog/gpu-operator/: chart gpu-operator 0.2.0
deployed by: nothing in this repository (perhaps kubectl, CI, or something in another repository)
catalog/ingress/: chart ingress 1.4.0
deployed by: Argo CD ApplicationSet argocd/ingress (appsets/ingress.yaml), for each cluster labeled ingress=enabled
catalog/lib/: chart lib 0.1.0
a library chart: Helm builds it into ingress, the one chart here that depends on it, and never deploys it alone
Argo CD
ApplicationSet argocd/ingress: one Application for each cluster labeled ingress=enabled (appsets/ingress.yaml)
deploys catalog/ingress in this repository, at main
with values from clusters/{{name}}/ingress/values.yaml, kept here for eu-west, us-east
Helm value files Argo CD reads from this repository
clusters/eu-west/ingress/: values.yaml
read as Helm values by: Argo CD ApplicationSet argocd/ingress (appsets/ingress.yaml), where {{name}} is eu-west
clusters/us-east/ingress/: values.yaml
read as Helm values by: Argo CD ApplicationSet argocd/ingress (appsets/ingress.yaml), where {{name}} is us-east
Values that differ between environments
clusters/{{name}}/ingress/values.yaml, read by ApplicationSet argocd/ingress:
eu-west us-east
replicas 2 4clusters/us-east/ingress/values.yaml; a change to catalog/ingress reaches every cluster labeled ingress=enabled. Nothing in the repository deploys the GPU operator chart, so ask who does before you rely on it. The inventory says which label picks the clusters, not which clusters have it: Argo CD keeps that list. A path that only Argo CD can fill in is said to be "perhaps" or "not known", never "nothing". Values that look like passwords, keys or tokens are shown as (not shown).git status --shortsandbox-exec), no Kubernetes configuration and an empty home folder. It prints the same lists: it never contacts a cluster or a hub, and opens no Kubernetes configuration.
p=$(ls -d ~/.claude/plugins/cache/confighub/confighub/*/bin/confighub | sort -V | tail -1)
sandbox-exec -p '(version 1)(allow default)(deny network*)' \
env -i HOME="$(mktemp -d)" PATH=/usr/bin:/bin KUBECONFIG=/nonexistent "$p" mini inventory .On Linux, run the last line with unshare -rn in place of sandbox-exec -p '…'.
git to find the repository's top folder and its origin, so that a source in another repository is not taken for this one. When two or more Kustomize overlays build on one base, it runs kubectl kustomize or kustomize build on this computer to compare them; an overlay built on a remote base makes kustomize download that base, as it would if you ran it yourself. It writes nothing in the repository. On your computer it notes the day you used it in ~/.confighub/agent-changes, and never sends that anywhere; CUB_MINI_COUNT=0 turns it off.
CUB_MINI_COUNT=0 "$p" mini inventory . > /dev/null && git status --shorthelm, which GitHub's runners have:
printf 'replicas: 6\nlogLevel: info\n' > clusters/us-east/ingress/values.yaml
git commit -qam "us-east launch: 6 ingress replicas"
CUB_MINI_COUNT=0 "$p" mini review --base HEAD~1 --head HEADclusters/us-east/ingress/values.yaml (Helm values)
replicas 4 → 6
why: commit …: us-east launch: 6 ingress replicas
…
What each overlay and release renders, before and after:
ApplicationSet argocd/ingress: Application us-east-ingress (helm template)
for us-east, whose values this repository keeps. The ApplicationSet makes one Application for each cluster labeled ingress=enabled; Argo CD knows the full list.
Deployment/ingress/spec.replicas 4 → 6 commit …: us-east launch: 6 ingress replicasTo have it comment on each pull request, and wait for your team's approval, add the review's workflow file and code owners.
Remove the Claude plugin and the sample repository:
claude plugin uninstall confighub@confighub && claude plugin marketplace remove confighub
cd .. && rm -rf platform-gitopsA list of what your repository deploys and for which clusters, read from its files, with each cluster's own value files and what nothing deploys, and what a pull request would change on each cluster. Next, add the review so that each pull request says so in a comment and waits for your team's approval, while Argo CD keeps reading Git.
For an AI agent working where the Claude plugin is installed.
/confighub:inventory, since you cannot type slash commands. Or run the plugin's program yourself: "$(ls -d ~/.claude/plugins/cache/confighub/confighub/*/bin/confighub | sort -V | tail -1)" mini inventory . in the repository. It reads files only.kubectl against a cluster, or sign in anywhere to answer these questions.git status shows only the answer file.Arm a is an agent with no plugin, in the repository after step 2: it can read the files and is judged on the same answer. Arm b has the Claude plugin and this page as reading; arm c the Claude plugin without the page.
Before we change anything in this repository: what deploys each chart, for which clusters, and which file holds us-east's own ingress values? Write the answer in ANSWER.md. Change nothing else.
The step this aims to win: adding the review to the repository.
This proves: what the Claude plugin's inventory says about a repository shaped like a platform team's chart catalog, read from its files alone, with the network turned off and nothing changed. It does not show which clusters Argo CD has, or what is running. A right result: the ingress chart is deployed by the ApplicationSet for each cluster labeled ingress=enabled, the library chart is built into it, the GPU operator chart is deployed by nothing, and us-east's values are in clusters/us-east/ingress/values.yaml. The checks can be run by hand in platform-gitops:
claude -p "/confighub:inventory" | grep -q "deployed by: Argo CD ApplicationSet argocd/ingress"
test -z "$(git status --short)"Ran on a development build of the Claude plugin, 23 November 2026, on macOS: the slash command in a real Claude Code session printed step 3's lists, the offline run in step 6 printed the same, and git status stayed empty. One agent session given the request above wrote an ANSWER.md that passed the check, naming the label, the library chart, the GPU operator chart and us-east's file, and said the cluster list is kept in Argo CD. The arms have not been run. Step 8 ran on a development build on 24 November 2026, on macOS: the review rendered us-east's Application with 6 replicas, with the commit's message as the reason, and the repository was left unchanged.