Azure ArgoCD CLI
Use this skill to turn ArgoCD GitOps requests into ordered CLI and Kubernetes actions, preserve the required project manifests, and return command results with sync, health, drift, and follow-up evidence.
When to invoke
- "Install ArgoCD on an AKS cluster."
- "Bootstrap the app-of-apps pattern."
- "Manage ArgoCD applications and repository credentials."
- "Verify sync status, health, or GitOps drift."
- "Troubleshoot an ArgoCD application or controller issue."
Prerequisites and context
- kubectl access to target cluster.
- Helm 3.12+ installed.
- ArgoCD CLI installed for day-2 operations.
- GitHub credentials for repository access.
Procedure
- Confirm the target cluster, namespace, ArgoCD server, repository, and application name before running mutating commands.
- Read
references/commands.md when the task needs installation, bootstrap, repository credentials, sync, health, troubleshooting, project file paths, or best practices.
- Use the project files reference in
references/commands.md to choose the manifest or values file that owns the requested workflow.
- Run the narrowest relevant command sequence from
references/commands.md.
- Capture sync, health, drift, or log evidence after every install, bootstrap, sync, or troubleshooting action.
- Return the result using the output template.
Installation and bootstrap
Use references/commands.md for the preserved Helm, kubectl, and argocd commands to install ArgoCD, retrieve the initial admin password, configure repository credentials, bootstrap app-of-apps, and configure External Secrets integration.
Day-2 operations
Use references/commands.md for the preserved authentication, application operations, health and status, and troubleshooting commands.
Project files reference and best practices
Use references/commands.md for the preserved project file paths and operational best practices, including diff-before-sync, production-sensitive prune usage, health verification, projects, notifications, and sync waves.
Output template
Return exactly this structure:
**Status:** PASS | FAIL | BLOCKED
**Summary:** One sentence describing the ArgoCD install, bootstrap, sync, health, drift, or troubleshooting outcome.
### Details
1. Command executed: `<argocd or kubectl or helm command>`
2. Application or component: `<app-name or argocd component>`
3. Sync status: `<Synced, OutOfSync, or not checked>`
4. Health status: `<Healthy, Progressing, Degraded, or not checked>`
5. Drift detected: `<yes, no, or not checked>`
6. Recommended actions: `<next ArgoCD action or none>`
### Validation
- Command result: `<exit code or observed CLI output>`
- Evidence: `<argocd app get, argocd app list, kubectl logs, kubectl events, or kubectl wait evidence>`
Limits
- Do not use this skill for Helm package management.
- Use
azure-helm-cli (skill) instead when the task is chart packaging, Helm values, repository management, release upgrades, or rollback operations outside ArgoCD control.
- Do not use this skill for kubectl cluster inspection.
- Use
azure-kubectl-cli (skill) instead when the task is direct Kubernetes resource inspection or pod troubleshooting not tied to an ArgoCD app.
- Do not use this skill for full platform deployment orchestration.
- Use
open-horizons-deploy-orchestration (skill) instead when the task spans prerequisites, Terraform, Kubernetes verification, and platform-wide rollout sequencing.
Progressive disclosure and bundled resources
references/commands.md: use when the task needs preserved ArgoCD installation, bootstrap, day-2, troubleshooting, project file, or best-practice command details.
Related primitives
| Name |
Type |
Use it when |
open-horizons-deployment-operator |
agent |
Coordinating an approved end-to-end platform deployment that includes ArgoCD. |
open-horizons-sre-investigator |
agent |
Investigating runtime incidents, degraded applications, or day-2 operational issues. |
azure-helm-cli |
skill |
Managing Helm charts and releases that ArgoCD deploys. |
azure-kubectl-cli |
skill |
Inspecting Kubernetes resources behind ArgoCD application health. |
open-horizons-deploy-orchestration |
skill |
Sequencing ArgoCD with Terraform, validation, and other platform stages. |
Quality gate
1---2name: azure-argocd-cli3description: ArgoCD CLI operations manage GitOps installation, bootstrap, synchronization, drift detection, rollback checks, and day-2 application workflows. Use this skill when working with argocd login, app create, app sync, app health, ApplicationSet, ArgoCD troubleshooting, GitOps drift, or repository credential configuration.4---56<!-- Generated from harness/github-copilot/skills/azure-argocd-cli/SKILL.md by harness/claude-code/scripts/convert_from_copilot.py. Edit the source, not this file. -->78# Azure ArgoCD CLI910Use this skill to turn ArgoCD GitOps requests into ordered CLI and Kubernetes actions, preserve the required project manifests, and return command results with sync, health, drift, and follow-up evidence.1112## When to invoke1314- "Install ArgoCD on an AKS cluster."15- "Bootstrap the app-of-apps pattern."16- "Manage ArgoCD applications and repository credentials."17- "Verify sync status, health, or GitOps drift."18- "Troubleshoot an ArgoCD application or controller issue."1920## Prerequisites and context2122- kubectl access to target cluster.23- Helm 3.12+ installed.24- ArgoCD CLI installed for day-2 operations.25- GitHub credentials for repository access.2627## Procedure28291. Confirm the target cluster, namespace, ArgoCD server, repository, and application name before running mutating commands.302. Read `references/commands.md` when the task needs installation, bootstrap, repository credentials, sync, health, troubleshooting, project file paths, or best practices.313. Use the project files reference in `references/commands.md` to choose the manifest or values file that owns the requested workflow.324. Run the narrowest relevant command sequence from `references/commands.md`.335. Capture sync, health, drift, or log evidence after every install, bootstrap, sync, or troubleshooting action.346. Return the result using the output template.3536### Installation and bootstrap3738Use `references/commands.md` for the preserved Helm, kubectl, and argocd commands to install ArgoCD, retrieve the initial admin password, configure repository credentials, bootstrap app-of-apps, and configure External Secrets integration.3940### Day-2 operations4142Use `references/commands.md` for the preserved authentication, application operations, health and status, and troubleshooting commands.4344### Project files reference and best practices4546Use `references/commands.md` for the preserved project file paths and operational best practices, including diff-before-sync, production-sensitive prune usage, health verification, projects, notifications, and sync waves.4748## Output template4950Return exactly this structure:5152```markdown53**Status:** PASS | FAIL | BLOCKED54**Summary:** One sentence describing the ArgoCD install, bootstrap, sync, health, drift, or troubleshooting outcome.5556### Details571. Command executed: `<argocd or kubectl or helm command>`582. Application or component: `<app-name or argocd component>`593. Sync status: `<Synced, OutOfSync, or not checked>`604. Health status: `<Healthy, Progressing, Degraded, or not checked>`615. Drift detected: `<yes, no, or not checked>`626. Recommended actions: `<next ArgoCD action or none>`6364### Validation65- Command result: `<exit code or observed CLI output>`66- Evidence: `<argocd app get, argocd app list, kubectl logs, kubectl events, or kubectl wait evidence>`67```6869## Limits7071- Do not use this skill for Helm package management.72- Use `azure-helm-cli` (`skill`) instead when the task is chart packaging, Helm values, repository management, release upgrades, or rollback operations outside ArgoCD control.73- Do not use this skill for kubectl cluster inspection.74- Use `azure-kubectl-cli` (`skill`) instead when the task is direct Kubernetes resource inspection or pod troubleshooting not tied to an ArgoCD app.75- Do not use this skill for full platform deployment orchestration.76- Use `open-horizons-deploy-orchestration` (`skill`) instead when the task spans prerequisites, Terraform, Kubernetes verification, and platform-wide rollout sequencing.7778## Progressive disclosure and bundled resources7980- `references/commands.md`: use when the task needs preserved ArgoCD installation, bootstrap, day-2, troubleshooting, project file, or best-practice command details.8182## Related primitives8384| Name | Type | Use it when |85| --- | --- | --- |86| `open-horizons-deployment-operator` | `agent` | Coordinating an approved end-to-end platform deployment that includes ArgoCD. |87| `open-horizons-sre-investigator` | `agent` | Investigating runtime incidents, degraded applications, or day-2 operational issues. |88| `azure-helm-cli` | `skill` | Managing Helm charts and releases that ArgoCD deploys. |89| `azure-kubectl-cli` | `skill` | Inspecting Kubernetes resources behind ArgoCD application health. |90| `open-horizons-deploy-orchestration` | `skill` | Sequencing ArgoCD with Terraform, validation, and other platform stages. |9192## Quality gate9394- [ ] `name` is `azure-argocd-cli` and matches the parent directory.95- [ ] The response includes the command executed and sync or health status when an application is involved.96- [ ] `argocd app diff <app-name>` evidence is captured before sync when drift or changes are in scope.97- [ ] Health is verified after sync, install, or bootstrap actions.98- [ ] Any use of `--prune` is explicitly called out as production-sensitive.99- [ ] Every referenced project path is preserved exactly in `references/commands.md`.