An agentic skills framework & software development methodology that works.
GitOps skills for Claude Code, Codex, and Copilot
This repo packages reusable skills for agents that work with Flux CD and Kubernetes. The skills help an agent generate YAML, review repo structure, check security and operational readiness, and debug Flux on live clusters, with Flux schema access and MCP support where needed.
Builders who use agent tools to create, audit, and debug Flux GitOps repositories.
You can have your agent generate, review, and troubleshoot GitOps changes with Flux-specific context instead of starting from scratch.
What it does
GitOps knowledge skill
Answers Flux CD questions and generates YAML for Flux custom resources using bundled schemas and reference docs.
Repository audit skill
Reviews GitOps repositories for structure, security, deprecations, RBAC, secret handling, and operational readiness.
Cluster debug skill
Uses the Flux MCP server to inspect live clusters, trace failures, and diagnose HelmRelease and Kustomization issues.
Agent packaging
Ships installs and plugin metadata for Claude Code, Codex, and GitHub Copilot, plus canonical `.agents/skills` layout support.
Validation assets
Includes benchmarks and tests for GitOps knowledge and repo audit behavior.
How to get it
- 1Install the operator plugin with
flux plugin install operator
- 2Navigate to your GitOps repository root and run
flux operator skills install ghcr.io/fluxcd/agent-skills --agent claude-code
- 3Install the skills with Vercel's skills tool
npx skills add fluxcd/agent-skills
- 4For Claude Code, add the marketplace and install the skills with
/plugin marketplace add fluxcd/agent-skills /plugin install gitops-skills@fluxcd
- 5Add the FluxCD marketplace and install the plugin with
codex plugin marketplace add fluxcd/agent-skills codex plugin add gitops-skills@fluxcd
- 6For Copilot CLI, add the FluxCD marketplace and install the plugin with
copilot plugin marketplace add fluxcd/agent-skills copilot plugin install gitops-skills@fluxcd
README
GitOps Agent Skills
A collection of reusable skills that give AI Agents expertise in Flux CD, Kubernetes, and GitOps best practices for generating manifests, answering Flux questions, auditing repository structure, security, operational readiness, and debugging live cluster installations.
[!NOTE] These are the official AI Skills for Flux CD, developed by the Flux project maintainers. We are looking for users to try them out and provide feedback on accuracy, usefulness, and any gaps when steering Agents through GitOps tasks. If you have suggestions for improvements or new skills, please open an issue.
Install
Using Flux CLI
Install the operator plugin with:
flux plugin install operator
Navigate to your GitOps repository root and run:
flux operator skills install ghcr.io/fluxcd/agent-skills --agent claude-code
The Flux Operator CLI verifies the cosign signature
(validating that the OCI artifact is published by the Flux team)
and extracts the skills in the repo root at .agents/skills.
The --agent flag creates per-skill symlinks from agent-specific directories to the canonical
location. If your agent supports the conventional .agents/skills path, you can omit the --agent flag.
To update the skills run flux operator skills update.
Using NPX
Install the skills with Vercel's skills tool:
npx skills add fluxcd/agent-skills
Using Claude Code
For Claude Code, add the marketplace and install the skills with:
/plugin marketplace add fluxcd/agent-skills
/plugin install gitops-skills@fluxcd
Using Codex
Add the FluxCD marketplace and install the plugin with:
codex plugin marketplace add fluxcd/agent-skills
codex plugin add gitops-skills@fluxcd
Start a new Codex thread after installation so the skills are discovered.
Using GitHub Copilot
For Copilot CLI, add the FluxCD marketplace and install the plugin with:
copilot plugin marketplace add fluxcd/agent-skills
copilot plugin install gitops-skills@fluxcd
Prerequisites
The skills in this repository rely on the following tools being available in the environment:
fluxfor dry running and manifest generationflux-schemafor discovering and validating Kubernetes manifests (install withflux plugin install schema)kustomize(orkubectl, which embeds kustomize) for building kustomize overlaysflux-operator-mcpfor debugging Flux on live Kubernetes clusters (required bygitops-cluster-debug)
A Brewfile is provided for easy installation of the prerequisites on macOS.
Kubernetes Ecosystem Schema Catalog MCP
The skills are complemented by the Flux Schema Catalog MCP server, which gives the agent access to JSON schemas and field indexes for core Kubernetes, OpenShift and a broad set of Cloud Native projects. The AI Agent uses it to look up the real kinds, field names, types, constraints, when generating or reviewing custom resources.
When installing the skills as a plugin (Claude Code, Copilot or Codex), the schema MCP server is configured automatically. For the other installation methods, it can be added manually. See the schema catalog documentation for more details.
Available Skills
The skills are designed to work together and the agent automatically selects the right one
based on context: gitops-knowledge for answering Flux questions and generating manifests,
gitops-repo-audit for validating and auditing repository contents,
and gitops-cluster-debug for troubleshooting live clusters.
gitops-knowledge
Answers questions about Flux CD and generates up-to-date YAML for all Flux custom resources. Bundled with OpenAPI schemas for every Flux resource and reference documentation covering sources, HelmRelease, Kustomization, ResourceSets, image automation, notifications, repository patterns, and the Flux Operator APIs.
To invoke the skill, use the following prompts:
What's the recommended GitOps structure for a multi-cluster fleet?
Generate a HelmRelease for oci://ghcr.io/my-org/frontend,
and a Kustomization to deploy it in the staging cluster.
How do I set up preview environments for pull requests with Flux Operator?
This skill works best in the context of a GitOps repository that contains an AGENTS.md
or CLAUDE.md with details about your organization's structure, cluster topology,
and secret management approach. The agent combines the skill's reference files with
the repository context to generate manifests tailored to your setup.
gitops-repo-audit
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.
[!NOTE] Check the Claude Code Guide for how to orchestrate Flux CD sub-agents and generate audit reports in HTML format.
gitops-cluster-debug
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.
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 project --transport stdio flux-operator-mcp \
--env KUBECONFIG=$HOME/.kube/config \
-- flux-operator-mcp serve --read-only
Note that the --read-only flag 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.
3rd-Party Indexing
The Flux skills are indexed by various 3rd-party services:
Files in the repo
- .agents
- .claude-plugin
- .codex-plugin
- .github
- agents
- benchmarks
- docs
- instructions
- internal
- skills
- tests
- .gitignore
- .mcp.json
- AGENTS.md
- Brewfile
- CLAUDE.md
- LICENSE
- Makefile
- README.md
Discussion (0)
Ask about usage, or say what you built with itSign in to join the discussion.
No comments yet. Be the first to say what this is good for.
More skills

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.
Topic in, narrated explainer video out. A Claude Code / Codex skill that turns any topic into a black-canvas motion-graphics explainer video with TTS voiceover, subtitles and a chapter progress bar. Chinese or English; every frame drawn in code with Remotion.
Public repository for Agent Skills
Open-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)

Production-grade engineering skills for AI coding agents.