A collection of reusable skills that give AI Agents expertise in Flux CD, Kubernetes, and GitOps best practices for auditing repository structure, security, operational readiness, and debugging live cluster installations.
Important
This project is under active development. Skill definitions, reference files, and evaluation criteria may change in a backwards incompatible manner.
Install skills for AI Agents with support for .agents/skills e.g. Codex, Copilot, Gemini, etc:
npx skills add https://github.com/fluxcd/agent-skillsFor Claude Code, add the marketplace and install the skills with:
/plugin marketplace add fluxcd/agent-skills
/plugin install gitops-skills@fluxcdThe skills in this repository rely on the following tools being available in the environment:
fluxfor dry running and manifest generationawkfor text processing and data extractionyqfor YAML parsing and validationkustomizefor building kustomize overlayskubeconformfor validating Kubernetes manifests against OpenAPI schemasflux-operator-mcpfor debugging Flux on live Kubernetes clusters (required bygitops-cluster-debug)
A Brewfile is provided for easy installation of the prerequisites on macOS.
Audits Flux GitOps repositories for structure, security, and operational best practices. Validates manifests against OpenAPI schemas, detects deprecated API versions, reviews secrets management, source authentication, RBAC and multi-tenancy configuration, and generates a structured report with prioritized recommendations.
To invoke the skill, use the following prompt:
Audit the current repo and provide a GitOps report.
In Claude Code, you can also invoke the skill directly with /gitops-repo-audit.
To run only the manifest validation phase, use:
Validate my repo without auditing it.
This prompt can be used when changes have been made to the repository, and you want to re-run the validation checks without performing a full audit.
You can also use the skill to audit only the files with changes:
Run a GitOps audit only on the files with changes.
Debugs and troubleshoots Flux CD on live Kubernetes clusters using the Flux MCP server. Inspects Flux installation health, diagnoses HelmRelease and Kustomization failures, analyzes pod logs and traces dependency chains.
To invoke the skill, use the following prompts:
Check the Flux installation on my current cluster.
Debug the failing HelmRelease podinfo in the apps namespace on my current cluster.
Troubleshoot the Kustomization flux-system/infra-controllers in the staging cluster.
The flux-operator-mcp server can be configured in Claude Code with:
claude mcp add --scope user --transport stdio flux-operator-mcp \
--env KUBECONFIG=$HOME/.kube/config \
-- flux-operator-mcp serve --read-onlyNote that the --read-only flag is will prevent the Agent from making any changes to the cluster.
The MCP server masks Kubernetes Secrets, the Agent receives only the data key names without values.
Each skill follows the Agent Skills Open Standard:
SKILL.md- Instructions for the agentscripts/- Helper scripts for automationreferences/- Supporting documentation