Creator · fluxcd
Last updated · Sep 6, 2026
Flux CD and Flux Operator expert — answers questions and generates schema-validated YAML for all Flux CRDs (not repo auditing or live cluster debugging). Use when users ask about Flux concepts, want manifests for HelmRelease, Kustomization, GitRepository, OCIRepository, ResourceS
Sandbox only
Install targets
Codex install prompt
Install the "gitops-knowledge" agent skill from https://github.com/fluxcd/agent-skills/tree/main/skills/gitops-knowledge. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Flux CD and Flux Operator expert — answers questions and generates schema-validated YAML for all Flux CRDs (not repo auditing or live cluster debugging). Use when users ask about Flux concepts, want manifests for HelmRelease, Kustomization, GitRepository, OCIRepository, ResourceSet, FluxInstance, or any Flux resource. When user needs guidance on GitOps repository structure, bootstrap Flux with Terraform, multi-tenancy, OCI-based delivery, image tag automation, drift detection, preview environments, monorepo app delivery, running migration Jobs before or after a deployment, notifications, or the Flux Web UI and MCP Server. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"fluxcd-gitops-knowledge","task":"Install gitops-knowledge","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
GitHub automation
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add fluxcd/agent-skills --skill gitops-knowledge
Maintenance
fresh
6d since push
Risk
Needs review
Dependency or permission surface needs review
GitHub quality
219
71/100 Quality · 71/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
219 GitHub stars
Repo activity
219 stars, 10 forks
Maintenance
6d since push
License
Apache-2.0
Install
npx skills add fluxcd/agent-skills --skill gitops-knowledge
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add fluxcd/agent-skills --skill gitops-knowledgeDo not use when
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
high
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20gitops-knowledge%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20gitops-knowledge%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/fluxcd-gitops-knowledge/install
Agent should check
Copy prompt
Task: Use gitops-knowledge in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20gitops-knowledge%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/fluxcd-gitops-knowledge/install
Install command: npx skills add fluxcd/agent-skills --skill gitops-knowledge
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/fluxcd-gitops-knowledge/install
LLM text format
/api/skills/fluxcd-gitops-knowledge/install?format=text
Find alternatives
/api/skills/search?q=gitops-knowledge&limit=3
Agent prompt
Use gitops-knowledge for this task. Review https://www.openagentskill.com/api/skills/fluxcd-gitops-knowledge/install, then install with: npx skills add fluxcd/agent-skills --skill gitops-knowledgeRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/fluxcd-gitops-knowledge
LLM text
/api/registry/manifest/fluxcd-gitops-knowledge?format=text
Install alias
/api/registry/install/fluxcd-gitops-knowledge
Recommend
/api/registry/recommend?task=Use%20gitops-knowledge%20in%20an%20agent%20workflow&limit=3
Agent fit
GitHub automation
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
GitHub automation
Trust label
Prototype first
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO219 GitHub stars
Stars/forks activity
CHECK219 stars, 10 forks; issue activity unavailable in current metadata
Recent maintenance
PASS6d since push
License clarity
PASSApache-2.0
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Manage repositories
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Reduce risk
I need my agent to scan a project for security risks and summarize what needs attention.
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Workflow fit
Inspect, patch, and verify code
A workflow for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Design, build, test, and ship interfaces
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Alternative shortlist
Similar skills that may fit this task.
Wazuh - The Open Source Security Platform. Unified XDR and SIEM protection for endpoints and cloud workloads.
🕵️♂️ Collect a dossier on a person by username from 3000+ sites
Nuclei is a fast, customizable vulnerability scanner powered by the global security community and built on a simple YAML-based DSL, enabling collaboration to tackle trending vulnerabilities on the internet. It helps you find vulnerabilities in your applications, APIs, networks, DNS, and cloud configurations.
Infisical is the open-source platform for secrets, certificates, and privileged access management.
--- name: gitops-knowledge description: > Flux CD and Flux Operator expert — answers questions and generates schema-validated YAML for all Flux CRDs (not repo auditing or live cluster debugging). Use when users ask about Flux concepts, want manifests for HelmRelease, Kustomization, GitRepository, OCIRepository, ResourceSet, FluxInstance, or any Flux resource. When user needs guidance on GitOps repository structure, bootstrap Flux with Terraform, multi-tenancy, OCI-based delivery, image tag automation, drift detection, preview environments, monorepo app delivery, running migration Jobs before or after a deployment, notifications, or the Flux Web UI and MCP Server. license: Apache-2.0 ---
# Flux CD Knowledge Base
You are an expert on Flux CD, the GitOps toolkit for Kubernetes. Use this knowledge base to answer questions accurately, generate correct YAML manifests, and explain Flux concepts.
**Rules:** - Always use the exact apiVersion/kind combinations from the CRD table below. Never invent API versions. - Before generating YAML for any CRD, verify field names, types, enums and required fields against its field index in `assets/schemas/`. Each line is `<dotted.path> <type> [(required)] [enum=a|b] [default=x] [pattern="..."] [min=N max=N] # description` (arrays as `path[]`, maps as `<map[string]T>`). Grep a path prefix to list a subtree (`grep '^spec\.chart\.' assets/schemas/helmrelease-helm-v2.fields.txt`) or a field name to find where it lives. Mutual-exclusivity and other CEL rules are enforced by `flux schema validate`. - When a question requires detail beyond this file, load the relevant reference file from `references/`. - When working inside a GitOps repository, inventory the layout with `flux schema discover` before placing files, and after writing manifests validate them with `flux schema validate` — fix and re-run until clean. Load `references/flux-cli.md` for the full CLI workflow, local rendering, and overlay debugging. If the tools aren't installed, skip validation and say so. - Prefer Flux Operator (FluxInstance) for cluster setup. Do not reference `flux bootstrap` or legacy `gotk-*` files.
## What is Flux
Flux is a set of Kubernetes controllers that implement GitOps: Git or OCI registries are the source of truth, and Flux continuously reconciles that desired state with the cluster. Sources poll at their interval and produce versioned artifacts; appliers (kustomize-controller, helm-controller) build and server-side apply new revisions, detect drift and self-heal; notification-controller reports status externally. **Flux Operator** manages the Flux installation declaratively through a `FluxInstance` custom resource (install, configuration, upgrades, lifecycle of all controllers); only one FluxInstance named `flux` can exist per cluster.
``` Sources (Git, OCI, Helm, Bucket) ─▶ Artifacts ─▶ Appliers (Kustomization, HelmRelease) ─▶ Managed Resources (Deployments, Services, ...) ─▶ Notifications (Provider + Alert)
ResourceSetInputProvider (GitHub PRs, OCI tags, in-cluster ExternalArtifacts, ...) ─▶ exports inputs ─▶ ResourceSet (template + input matrix; optional ordered `steps`) ─▶ generates per-input: Namespaces, Sources, Kustomizations, HelmReleases, RBAC, Jobs, ... ```
**Two delivery models:** Git-based (Flux watches Git and applies on commit) and Gitless (Git → CI pushes OCI artifacts → Flux pulls from the registry; artifacts are immutable, signed, and need no Git credentials on clusters).
## Controllers, CRDs and References
The field index for each CRD is `assets/schemas/<kind>-<group>-<version>.fields.txt` in lowercase (e.g. `helmrelease-helm-v2.fields.txt`, `fluxinstance-fluxcd-v1.fields.txt`).
| Kind | apiVersion | Controller | Reference | |------|-----------|------------|-----------| | FluxInstance, FluxReport | fluxcd.controlplane.io/v1 | flux-operator | `references/flux-operator.md` | | ResourceSet, ResourceSetInputProvider | fluxcd.controlplane.io/v1 | flux-operator | `references/resourcesets.md` | | GitRepository, OCIRepository, HelmRepository, HelmChart, Bucket | source.toolkit.fluxcd.io/v1 | source-controller | `references/sources.md` | | ExternalArtifact | source.toolkit.fluxcd.io/v1 | (3rd-party controllers) | `references/sources.md` | | ArtifactGenerator | source.extensions.fluxcd.io/v1beta1 | source-watcher | `references/sources.md` | | Kustomization | kustomize.toolkit.fluxcd.io/v1 | kustomize-controller | `references/kustomization.md` | | HelmRelease | helm.toolkit.fluxcd.io/v2 | helm-controller | `references/helmrelease.md` | | Provider, Alert | notification.toolkit.fluxcd.io/v1beta3 | notification-controller | `references/notifications.md` | | Receiver | notification.toolkit.fluxcd.io/v1 | notification-controller | `references/notifications.md` | | ImageRepository, ImagePolicy | image.toolkit.fluxcd.io/v1 | image-reflector-controller | `references/image-automation.md` | | ImageUpdateAutomation | image.toolkit.fluxcd.io/v1 | image-automation-controller | `references/image-automation.md` |
| Topic | Reference | |-------|-----------| | Repository structure, monorepo vs multi-repo, OCI-based fleet management | `references/repo-patterns.md` | | Monorepo directory-driven delivery (one pipeline per app/env directory), production fleet layout, layered infra reconcilers, per-env image policies | `references/monorepo-delivery.md` | | Jobs in sequence with deployments (migrations, smoke tests), ResourceSet `steps`, multi-tenancy, `force`/`recreateOnFailure`/`checksumFrom` annotations | `references/resourcesets.md` | | Best practices, dependency management, remediation, versioning | `references/best-practices.md` | | Gitless GitOps, Flux OCI artifacts, `flux push artifact`, registry-based delivery | `references/gitless-gitops.md` | | Gitless image automation (ResourceSet + OCIArtifactTag) | `references/gitless-image-automation.md` | | Flux CLI and plugins: `flux schema` discover/validate/extract, local rendering with `flux build` and `flux operator build`, overlay debugging | `references/flux-cli.md` | | Terraform bootstrap of Flux Operator | `references/terraform-bootstrap.md` | | Web UI, dashboard, SSO, OIDC, Dex, Keycloak, Entra ID, RBAC | `references/web-ui.md` | | MCP Server, AI assistant integration, in-cluster deployment | `references/mcp-server.md` |
## Ordering and Reactivity
Use `dependsOn` to control reconciliation order (CRDs before CRs, infrastructure before apps):
```yaml spec: dependsOn: - name: infra-controllers # wait for this Kustomization to be Ready ```
ResourceSet `dependsOn` entries take `apiVersion`/`kind`/`name`/`namespace` of any resource, plus `ready: true` or a `readyExpr` CEL expression for custom readiness. For ordering *within* a single ResourceSet, use `spec.steps` (ordered named steps, each applied and health-checked before the next) instead of `spec.resources` — see `references/resourcesets.md`.
Controllers poll sources at their interval. To react immediately when a ConfigMap or Secret referenced via `postBuild.substituteFrom` or `valuesFrom` changes, label it `reconcile.fluxcd.io/watch: Enabled`.
## Decision Trees
### Which Source Type?
- **Git repo with Kustomize overlays or plain YAML** → `GitRepository` - **OCI artifact (container image with manifests)** → `OCIRepository` - **Helm chart from OCI registry** → `OCIRepository` with `layerSelector` for Helm media type - **Helm chart from HTTPS Helm repo** → `HelmRepository` (default type) - **S3/GCS/MinIO bucket** → `Bucket` - **Monorepo that needs splitting** → `ArtifactGenerator` (creates `ExternalArtifact` per path) - **Monorepo where every `apps/<app>/envs/<env>` directory gets its own pipeline automatically** → `ArtifactGenerator` `pathPattern` + `ResourceSetInputProvider` (`type: ExternalArtifact`) + `ResourceSet` templating a `Kustomization` per artifact — load `references/monorepo-delivery.md` - **Helm chart + env-specific values from Git** → `ArtifactGenerator` (composes chart with values overlay)
### Kustomization vs HelmRelease vs ResourceSet?
- **Plain YAML or Kustomize overlays, one deployment** → `Kustomization` - **Helm chart** → `HelmRelease` - **Same template deployed for N inputs (tenants, components, environments)** → `ResourceSet` (generates resources from an input matrix; Kustomizations apply a fixed set of manifests) - **Jobs that must run before/after a deployment (DB migration, smoke test, cache warmup)** → `ResourceSet` with `spec.steps` — one object with a `pre-deploy` Job → `deploy` Kustomization → `post-deploy` Job sequence, instead of three `dependsOn`-chained Kustomizations. See `references/resourcesets.md` (Step-Based Reconciliation). - Kustomization and HelmRelease can target remote clusters via `kubeConfig`.
### How to Set Up GitOps from Scratch
Install Flux Operator (Helm chart or Terraform) → create a `FluxInstance` named `flux` in `flux-system` with `.spec.sync` pointing at the Git repo or OCI registry → organize manifests as Kustomize base+overlays → add `Kustomization` resources per component → add `Provider` + `Alert`.
## Canonical YAML Patterns
### 1. GitOps Pipeline (GitRepository + Kustomization)
```yaml apiVersion: source.toolkit.fluxcd.io/v1 kind: GitRepository metadata: name: my-app namespace: flux-system spec: interval: 5m url: https://github.com/org/my-app.git ref: branch: main secretRef: name: git-credentials # optional, for private repos --- apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: my-app namespace: flux-system spec: interval: 10m sourceRef: kind: GitRepository name: my-app path: ./deploy/production prune: true wait: true timeout: 5m ```
### 2. Helm from OCI Registry (Recommended)
```yaml apiVersion: source.toolkit.fluxcd.io/v1 kind: OCIRepository metadata: name: cert-manager-chart namespace: cert-manager spec: interval: 1h url: oci://quay.io/jetstack/charts/cert-manager layerSelector: mediaType: "application/vnd.cncf.helm.chart.content.v1.tar+gzip" operation: copy ref: semver: "1.x" --- apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease metadata: name: cert-manager namespace: cert-manager spec: interval: 1h chartRef: kind: OCIRepository name: cert-manager-chart install: strategy: name: RetryOnFailure retryInterval: 5m upgrade: strategy: name: RetryOnFailure retryInterval: 5m values: crds: enabled: true ```
For HTTPS Helm repositories use `HelmRepository` + `HelmRelease` with `spec.chart.spec` (`chart`, `version: "3.x"`, `sourceRef`) instead of `chartRef` — see `references/helmrelease.md`.
### 3. FluxInstance with OCI Sync (Gitless GitOps)
```yaml apiVersion: fluxcd.controlplane.io/v1 kind: FluxInstance metadata: name: flux namespace: flux-system spec: distribution: version: "2.x" registry: "ghcr.io/fluxcd" components: - source-controller - source-watcher - kustomize-controller - helm-controller - notification-controller cluster: type: kubernetes size: medium multitenant: true tenantDefaultServiceAccount: flux networkPolicy: true sync: kind: OCIRepository url: "oci://ghcr.io/my-org/fleet-manifests" ref: "latest" path: "clusters/production" pullSecret: "registry-auth" ```
### 4. ResourceSet for Multi-Component Orchestration
A `ResourceSet` lists `spec.inputs` (e.g. `tenant`/`environment` pairs) and `spec.resources` templates that reference them with `<< inputs.tenant >>`; each input renders its own Namespace, source and Kustomization/HelmRelease. For the full example and the multi-tenant pattern — per-tenant ServiceAccount + RoleBinding, `serviceAccountName` impersonation, `dependsOn`, and the `reconcileEvery` annotation — load `references/resourcesets.md`.
### 5. Image Automation
- **Git-based** — `ImageRepository` + `ImagePolicy` + `ImageUpdateAutomation` commit tag bumps to Git via `$imagepolicy` YAML mark
Source provenance
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for gitops-knowledge, ready for a manual X post.
gitops-knowledge: Flux CD and Flux Operator expert — answers questions and generates schema-validated YAML for... 219 stars https://www.openagentskill.com/skills/fluxcd-gitops-knowledge?ref=x
Listing + install path for gitops-knowledge: https://www.openagentskill.com/skills/fluxcd-gitops-knowledge?ref=x Install: npx skills add fluxcd/agent-skills --skill gitops-knowledge
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to fluxcd but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/fluxcd-gitops-knowledge?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/fluxcd-gitops-knowledge?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/fluxcd-gitops-knowledge/audit)
[](https://www.openagentskill.com/skills/fluxcd-gitops-knowledge?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)fluxcd
@fluxcd
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
Wazuh
Wazuh - The Open Source Security Platform. Unified XDR and SIEM protection for endpoints and cloud workloads.
16.3K StarsMaigret
🕵️♂️ Collect a dossier on a person by username from 3000+ sites
32.9K StarsNuclei
Nuclei is a fast, customizable vulnerability scanner powered by the global security community and built on a simple YAML-based DSL, enabling collaboration to tackle trending vulnerabilities on the internet. It helps you find vulnerabilities in your applications, APIs, networks, DNS, and cloud configurations.
29.2K StarsInfisical
Infisical is the open-source platform for secrets, certificates, and privileged access management.
27.4K StarsPermission surface
secrets or environment access, shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness