Skip to content
Back to skills

Mainframe Argocd

ASecurity

Argo CD GitOps application ownership, sync, drift, rollout, rollback, or deletion via CLI/API. Excludes Argo Workflows.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 16, 2026
ai-agentsgogitapidocumentation

Works with

  • terminal
  • cli
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned November 16, 2026

npx -y skills add CATWILLgh/MAINFRAME --skill mainframe-argocd --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mainframe Argocd?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mainframe Argocd
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/catwillgh-mainframe-argocd/badge)](https://www.skillsdirectory.com/skills/catwillgh-mainframe-argocd)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mainframe-argocd
description: Argo CD GitOps application ownership, sync, drift, rollout, rollback, or deletion via CLI/API. Excludes Argo Workflows.
---

# Operate Argo CD against an explicit target

Establish the requested result and reuse its existing authority. This method
does not grant permission to deploy, prune, delete, change access, or repair a
cluster. A read-only diagnosis remains read-only. Stop only an action whose
target, authority, or recovery boundary is missing; continue useful inspection.

## Identify what will actually change

Before a remote operation, resolve:

- Argo CD API server, environment, observed client/server versions and transport;
- Application name **and its metadata namespace**, AppProject, destination
  cluster identity and workload namespace; these namespaces are different;
- source repository/path or chart, requested revision, and all sources/overrides
  for a multi-source Application;
- configuration owner: Git, parent Application, ApplicationSet or explicitly
  unmanaged Application; current automated sync, self-heal, prune, sync options
  and pending operation.

A CLI on this machine, localhost, a port-forward or the in-cluster destination
alias does not identify a disposable cluster. Resolve the remote owner instead
of accepting a familiar name or the active CLI/kubeconfig context as proof.
If the environment is uncertain, treat it as shared/non-disposable and resolve
the ambiguity before writes. Use the same established identity for CLI and API.

## Load the relevant reference

| Decision | Read |
| --- | --- |
| Connect, authenticate, inspect an app or invoke bounded CLI commands | [CLI](references/cli.md) |
| Build authenticated REST requests, interpret errors or handle uncertain outcomes | [API](references/api.md) |
| Configure GitOps, sync, diagnose drift, recover or remove an app | [Operations](references/operations.md) |
| A version-sensitive flag, schema or behavior | [Official sources](references/sources.md), then the target release documentation/help |

Use `mainframe-secrets` for credential delivery, `mainframe-curl-requests` for
raw curl transport, and `mainframe-infrastructure` for deployment coordination.
Use `mainframe-k3s` when the problem actually concerns the underlying K3s cluster.
Do not preload unrelated references or replace the project's release runbook.

## Separate inspection from deployment

Inspect only the app and fields needed. Do not dump CLI config, tokens,
repository/cluster credentials, Secret manifests, full parameter values or
unreviewed logs. Generated manifests and diffs may also contain sensitive data.

Before a change, make its scope reviewable: exact app/revision/resources,
controller ownership, diff, hooks and migrations, deletion/data effects,
required access, recovery route and acceptance condition. Git edits, merge or
push to a watched source can deploy automatically; local editing authority does
not by itself authorize that release. Reuse explicit release authority without
asking again for an unchanged bounded operation.

Prefer correcting the declarative owner. Do not patch a generated child merely
because the API accepts it. Never widen selection to all apps, use force/replace,
skip checks, enable prune or remove a finalizer as generic error recovery.
Preview is evidence, not permission or proof that real hooks/data effects are safe.

## Prove the requested result

After an authorized write, observe the same operation and resolved revision(s),
terminal result, sync and health independently. Check relevant live resources,
images and application behavior. `Synced`, `Healthy`, HTTP 200, or a completed
CLI process alone does not establish the intended release.

A timeout/disconnection leaves a write outcome uncertain. Read the app's
operation state and live effects before considering another write; do not
blindly repeat sync, migration hooks, delete or rollback. A failed multi-resource
sync can already have changed some resources.

Report the exact target, action taken, revision(s), observed evidence and any
remaining gap. For planning or diagnosis, say that no release was performed.

Files in this skill

  • SKILL.md4.1 KB
  • references/api.md4.9 KB
  • references/cli.md4.8 KB
  • references/operations.md6.5 KB
  • references/sources.md2.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.