# Flux

> Use when working with Flux CD — debugging live clusters, writing/auditing Flux resources, or asking Flux CD questions. Routes to 3 sub-skills depending on the task.

- **Type:** Skill
- **Install:** `agentstack add skill-aidas-dev-k8s-agent-skills-flux`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [Aidas-dev](https://agentstack.voostack.com/s/aidas-dev)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [Aidas-dev](https://github.com/Aidas-dev)
- **Source:** https://github.com/Aidas-dev/k8s-agent-skills/tree/main/skills/flux
- **Website:** https://git.kubexa.tech/Aidas/k8s-agent-skills

## Install

```sh
agentstack add skill-aidas-dev-k8s-agent-skills-flux
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Flux CD

Skill router. Pick the right sub-skill based on what user is doing.

## Which Sub-Skill?

| User wants to... | Load skill | What it does |
|---|---|---|
| Debug a failing HelmRelease/Kustomization on a live cluster | `gitops-cluster-debug` | Inspects Flux resource status, controller logs, traces dependency chains on live K8s |
| Write/understand Flux CRDs, generate YAML, ask what a concept means | `gitops-knowledge` | CRD schemas, YAML patterns, API versions, Flux concepts, FluxInstance/ResourceSet |
| Audit a GitOps repo for best practices, deprecated APIs, security | `gitops-repo-audit` | Scans repo files, validates schemas, flags deprecated APIs, checks RBAC/secrets |

## Two Domains

**Cluster (live):** HelmRelease stuck, Kustomization failing, FluxInstance broken → `gitops-cluster-debug`

**Repo (static):** Write new Flux YAML, understand CRD fields, audit existing repo → `gitops-knowledge` for reference, `gitops-repo-audit` for validation

## Common Task Map

| Task | Sub-skill |
|---|---|
| "Why is my HelmRelease failing?" | `gitops-cluster-debug` |
| "Show me how to write a ResourceSet" | `gitops-knowledge` |
| "Audit my GitOps repo" | `gitops-repo-audit` |
| "What API version for Flux CRDs?" | `gitops-knowledge` |
| "Check if my repo has deprecated APIs" | `gitops-repo-audit` |
| "FluxInstance not ready" | `gitops-cluster-debug` |
| "Explain OCI-based GitOps" | `gitops-knowledge` |
| "Check HelmRelease valuesFrom refs" | `gitops-repo-audit` |
| "Monitor reconciliation, set up alerts" | `gitops-knowledge` |

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [Aidas-dev](https://github.com/Aidas-dev)
- **Source:** [Aidas-dev/k8s-agent-skills](https://github.com/Aidas-dev/k8s-agent-skills)
- **License:** MIT
- **Homepage:** https://git.kubexa.tech/Aidas/k8s-agent-skills

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-aidas-dev-k8s-agent-skills-flux
- Seller: https://agentstack.voostack.com/s/aidas-dev
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
