/prometheus-devops-skills:argocd-multicloudfrom prometheus-devops-skills
Installs, configures, and manages ArgoCD as a multi-cloud GitOps control plane on GKE, with AKS and EKS registered as remote cluster destinations. Covers: fresh ArgoCD installation with --insecure mode behind Envoy Gateway, wildcard TLS certificate setup, cluster registration via argocd CLI, App-of-Apps root application creation, ArgoCD ApplicationSet authoring for cross-cluster fan-out delivery, ArgoCD project isolation per client/environment, RBAC configuration, and Dex OIDC SSO wiring. Use when setting up ArgoCD for the first time or adding remote clusters to an existing control plane.
Ships in prometheus-devops-skills. 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.
Establishes ArgoCD on GKE as the single control plane for all cluster environments. AKS and EKS are registered as remote destinations — ArgoCD does NOT run on those clusters.
Use this skill when the user says any of:
Detect the latest stable ArgoCD version and install using server-side apply (handles large CRDs):
ARGOCD_VERSION=$(curl -s https://api.github.com/repos/argoproj/argo-cd/releases/latest \
| jq -r .tag_name)
kubectl create namespace argocd --dry-run=client -o yaml | kubectl apply -f -
kubectl apply -n argocd \
-f https://raw.githubusercontent.com/argoproj/argo-cd/${ARGOCD_VERSION}/manifests/install.yaml
# Server-side apply handles applicationsets CRD annotation size limit:
curl -sL https://raw.githubusercontent.com/argoproj/argo-cd/${ARGOCD_VERSION}/manifests/install.yaml \
| kubectl apply --server-side --force-conflicts -n argocd -f -
Patch argocd-server to --insecure mode (TLS terminates at Envoy Gateway):
kubectl patch deployment argocd-server -n argocd --type='json' \
-p='[{"op":"add","path":"/spec/template/spec/containers/0/args/-","value":"--insecure"}]'
Patch argocd-cm with the public URL:
kubectl patch configmap argocd-cm -n argocd --type merge \
-p '{"data":{"url":"https://argocd.{domain}"}}'
If a wildcard TLS secret exists in another namespace, copy it to argocd:
kubectl get secret {wildcard-secret} -n {source-ns} -o json \
| jq 'del(.metadata.namespace,.metadata.resourceVersion,.metadata.uid,
.metadata.creationTimestamp,
.metadata.annotations."kubectl.kubernetes.io/last-applied-configuration")
| .metadata.name = "wildcard-tls"
| .metadata.namespace = "argocd"' \
| kubectl apply -f -
Generate Envoy Gateway Gateway + HTTPRoute + GRPCRoute from assets/templates/argocd-gateway.yaml.
Check Gateway API version to use correct GRPCRoute API group (v1 vs v1alpha2).
For each non-GKE cluster, fetch kubeconfig and register:
# AKS
az aks get-credentials --resource-group {rg} --name {cluster} --file /tmp/aks-kubeconfig
argocd cluster add {context-name} \
--kubeconfig /tmp/aks-kubeconfig \
--name aks-prod \
--system-namespace argocd \
--in-cluster=false
# EKS
aws eks update-kubeconfig --name {cluster} --region {region} --kubeconfig /tmp/eks-kubeconfig
argocd cluster add {context-name} \
--kubeconfig /tmp/eks-kubeconfig \
--name eks-prod \
--system-namespace argocd \
--in-cluster=false
argocd cluster list # verify all three show as Successful
Create the root Application CR pointing at the gitops/apps/ directory.
Generate from assets/templates/root-app.yaml, substituting the GitOps repo URL.
Apply to the cluster — this creates all child Application CRs automatically.
If the user wants fan-out delivery across all clusters for a service, generate an
ApplicationSet using the list generator pattern from references/APPLICATIONSET.md.
The ApplicationSet template path services/{service}/overlays/{{.cloud}}-{{.env}} must
match the Kustomize overlay structure created by the gitops-bootstrap skill.
Generate argocd-rbac-cm policy for the standard role set:
role:admin — full access (Prometheus AGS operators only)role:developer — sync, get application; no delete, no cluster managementrole:readonly — get only; for client stakeholdersGenerate dex.config for the argocd-cm ConfigMap. Supported connectors:
After SSO is configured, disable local admin:
kubectl patch configmap argocd-cm -n argocd --type merge \
-p '{"data":{"admin.enabled":"false"}}'
Output initial admin password retrieval command and remind user to:
argocd-initial-admin-secretkubectl -n argocd get secret argocd-initial-admin-secret \
-o jsonpath="{.data.password}" | base64 -d
argocd login {domain} --username admin
argocd account update-password
kubectl -n argocd delete secret argocd-initial-admin-secret
selfHeal: true and prune: trueWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub prometheus-ags/prometheus-skill-system --plugin prometheus-devops-skills5 skills in this plugin
/fabric-integrationEnforce the cross-repository fabric version invariants (Loro minor, wasmtime major, iroh floor, WIT world pinning) so a drift that would surface as a merge error, a cache miss, or a component that will not instantiate fails at check time instead./gitops-bootstrapScaffolds a complete multi-cloud GitOps CI/CD system from scratch following the TJ-CICD-001 standard. Detects target cloud environments (GKE, AKS, EKS — any combination), creates the GitOps repository structure (base / cloud / environment Kustomize overlays), generates GitHub Actions workflows with keyless OIDC authentication per cloud, creates ArgoCD Application CRs or ApplicationSets, and registers remote clusters with an ArgoCD control plane on GKE. Use when a project has no existing GitOps pipeline and needs one built from the ground up.
/gitops-transformDetects and transforms existing GitHub Actions workflows and Kubernetes deployment configurations to the TJ-CICD-001 multi-cloud GitOps standard. Analyzes the current CI stack (registry provider, auth mechanism, deploy strategy, target cloud) and produces a diff-based transformation plan before making any changes. Handles: raw kubectl deploy workflows, Helm-based deploys, single-cloud workflows missing multi-cloud support, static credential auth (service account keys, access key IDs) needing OIDC migration, and workflows that deploy directly instead of committing to a GitOps repo. Use when a project has existing CI/CD that needs upgrading or modernizing.
/kustomize-overlayGenerates a complete three-dimensional Kustomize overlay structure (base / cloud / environment) for a new or existing service following TJ-CICD-001. Creates cloud-specific annotation patches for GKE Workload Identity, Azure Workload Identity, and EKS IRSA. Validates existing overlays for structural compliance and repair broken overlay chains. Use when adding a new service to the GitOps repository, adding a new cloud target to an existing service, or auditing and repairing existing Kustomize structures.
2 plugins in one repository ship this exact skill · first indexed Nov 27, 2026