agentleFS
abevzabevz/devops-skills/skills/argocd/SKILL.md

argocd

Skill0 starsChanged 41 days agoMITView on GitHub

Use when installing, configuring, or operating Argo CD itself — HA deployment, controller sharding, SSO/RBAC, AppProject design, repository/credential setup, sync policy design, config management plugins, disaster recovery, and scaling. Mention "install argocd", "argocd HA", "argocd rbac", "argocd sso", "appproject", "argocd backup", or "argocd sharding"; use argocd-debug for one stuck Application, argocd-applicationset for generators, and gitops-review for repository flow.

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not assume Git alone preserves repository credentials or other cluster-held configuration.

    line 22
  2. Distinctive:

    Follow the Workflow, Safety rules, and Quality checklist below.

    line 26
  3. Distinctive:

    Use when standing up or operating Argo CD as a platform: HA install, scaling/sharding, SSO and RBAC, AppProject boundaries, connecting …

    line 37
  4. Very specific:

    Never put repository/cluster credentials or SSO client secrets in plaintext in git — reference a secrets mechanism (see secrets-management).

    line 90

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Argo CD

TL;DR checklist

  • Choose the Argo CD operation area and its reference.
  • Record version, install method, HA shape, cluster/app count, and auth source.
  • Check tenancy boundaries and recovery inputs before recommending a design.

Key read-only checks

  • Inspect current installation, AppProjects, RBAC, repositories, and sync configuration.

Common pitfalls

  • Do not assume Git alone preserves repository credentials or other cluster-held configuration.

Agent procedure

Follow the Workflow, Safety rules, and Quality checklist below.

Quick references

  • references/install-ha.md
  • references/rbac-sso.md

Last verified: unverified

When to use

Use when standing up or operating Argo CD as a platform: HA install, scaling/sharding, SSO and RBAC, AppProject boundaries, connecting repositories and credentials, designing sync policy, config-management plugins, backup/DR, and upgrades. For troubleshooting a single out-of-sync Application use argocd-debug; for ApplicationSet generator design use argocd-applicationset; for the GitOps repo layout and promotion flow use gitops-review. This skill is the operator/ platform view of Argo CD itself.

Goal

A correctly-sized, secure, recoverable Argo CD install: HA where it matters, RBAC/projects that actually contain tenants, repositories connected without plaintext secrets, sync behavior chosen deliberately per environment, and a tested way to rebuild it.

Workflow

  1. Scope to an area and load its reference:

    AreaReference
    Install, HA topology, components, controller sharding, repo-server scaling, upgradesreferences/install-ha.md
    SSO (Dex/OIDC), RBAC model, AppProject as security boundary, project-scoped tokens, sync windowsreferences/rbac-sso.md
    Repository connections, credential types, private/OCI registries, config-management plugins, secret injectionreferences/repositories.md
    Application/sync design: syncPolicy, sync options, waves, hooks, tracking, health, ignoreDifferencesreferences/sync-design.md
    Backup/DR, notifications, metrics/monitoring, performance tuning, multi-tenancyreferences/operations.md
  2. Confirm the baseline — Argo CD version, install method (Helm argo-cd chart vs raw manifests), single vs HA, how many clusters/apps it manages (drives sharding and repo-server sizing), and where it authenticates users from.
  3. Right-size, don't over-build — a single-instance Argo CD is fine for a small setup; HA (redis-ha, controller sharding, multi-replica repo-server) is warranted by app/cluster count and blast-radius requirements. Recommend HA against a real need, not reflexively.
  4. Security first-class — SSO + RBAC + AppProject are the tenancy boundary; a shared admin Argo CD with no projects is a foot-gun. Treat the argocd-server and its RBAC like any other privileged control plane.
  5. Make it recoverable — Argo CD is declarative, but its repo/cluster credentials and RBAC live in k8s Secrets/ConfigMaps; DR means both "everything in git" AND those Secrets backed up.
  6. GitOps the platform itself — Argo CD config (ConfigMaps, projects, repos, RBAC) is declarative and belongs in git (often an app-of-apps managing Argo CD) — not clicked in the UI.
  7. Verify read-only — argocd admin settings, kubectl get on argocd resources, argocd proj get, metrics; never change live config as "investigation."

References

  • references/install-ha.md, references/rbac-sso.md, references/repositories.md, references/sync-design.md, references/operations.md — one per area, each with decision tables, Helm/CRD/config examples, prerequisites, and gotchas.

Safety rules

  • Design/operate-planning skill: do not argocd app sync/delete, apply projects/RBAC, rotate credentials, or run argocd admin import against a live install — propose manifests/values.
  • RBAC and AppProject changes can lock users out or widen access cluster-wide — frame them as reviewed, reversible changes; never loosen a project to * reflexively.
  • Never put repository/cluster credentials or SSO client secrets in plaintext in git — reference a secrets mechanism (see secrets-management); never echo a token/secret value.
  • DR/import operations overwrite state — treat argocd admin import, credential rotation, and redis flushes as destructive, requiring explicit confirmation.

Output format

## Area & baseline (version, install method, HA?, #clusters/#apps, auth source)
## Recommendation (what to configure/change, and explicitly what NOT to over-build)
## Prerequisites & blast radius
## Proposed config (Helm values / projects / RBAC / repo secrets — for review)
## Rollout & rollback
## DR/verification (read-only checks, backup coverage)

Quality checklist

  • The relevant area reference was consulted, not reasoned from memory
  • HA/sharding recommended against actual app/cluster scale, not reflexively
  • AppProject + RBAC form a real tenancy boundary, not a shared-admin free-for-all
  • Credentials/secrets are referenced via a secrets mechanism, never plaintext in git
  • DR covers both git state AND the Secrets/ConfigMaps Argo CD needs to rebuild
  • Nothing was synced/applied/imported on a live install

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.