From infra
Print a concise inventory of IaC artifacts and cloud auth status for the current repo
How this command is triggered — by the user, by Claude, or both
Slash command
/infra:infra-inventoryThe summary Claude sees in its command listing — used to decide when to auto-load this command
Report the current repo's infrastructure surface and available cloud credentials. This is a **read-only** pre-flight intended to be run before any `/review-*` or `/triage-*` skill. ## Instructions When this command is invoked, follow these steps exactly: 1. **Run the scope detector:** If `CLAUDE_PLUGIN_ROOT` is not set (e.g., running from the plugin dev repo directly), fall back to `plugins/infra/scripts/detect-iac-scope.sh`. 2. **Run the cloud auth probe:** Same fallback as above. 3. **Format the output** as two sections: ### IaC surface Produce a compact table with on...
Report the current repo's infrastructure surface and available cloud credentials. This is a read-only pre-flight intended to be run before any /review-* or /triage-* skill.
When this command is invoked, follow these steps exactly:
Run the scope detector:
${CLAUDE_PLUGIN_ROOT}/scripts/detect-iac-scope.sh
If CLAUDE_PLUGIN_ROOT is not set (e.g., running from the plugin dev repo directly), fall back to plugins/infra/scripts/detect-iac-scope.sh.
Run the cloud auth probe:
${CLAUDE_PLUGIN_ROOT}/scripts/cloud-auth-check.sh all
Same fallback as above.
Format the output as two sections:
Produce a compact table with only the categories that are present: true:
| Category | Count | Sample paths (up to 3) |
|-----------------|-------|----------------------------------------------|
| Terraform | N | path/a, path/b, path/c |
| Ansible roles | N | ... |
| Kubernetes | N | ... |
| Helm charts | N | ... |
| Docker Compose | N | ... |
Skip any category with no findings. If nothing is present, say so explicitly: No IaC artifacts detected in this repo.
One line per provider, in this format:
- **AWS** — OK / UNAUTHENTICATED / EXPIRED / MISSING_CLI · identity: <arn-or-null>
- **GCP** — ...
- **kubectl** — ...
If a provider is MISSING_CLI, note that the corresponding review skills (review-aws-*, review-gcp-*, review-gke, review-kubernetes-rbac) will SKIP live-account checks but may still review IaC.
Based on the surface detected, suggest one or two relevant skills to run next. Examples:
/review-drift or /assess-change-risk/review-ansible-playbooks, /review-linux-hardening/review-kubernetes-rbacsecurity/ or reports/ → /triage-vulnerabilitiesKeep suggestions specific to what was actually detected. Do not list every available skill.
npx claudepluginhub brenthaertlein/universal-skills --plugin infra