Flux + ConfigHub AI Starter Pack
Drop these files into a Flux GitOps repository so Claude Code or Codex automatically pairs Flux (live cluster reconciliation via flux CLI or the Flux MCP server) with ConfigHub (offline inventory, cross-env diffs, change reasons, and optional human-gated OCI releases).
No changes to upstream flux are required.
What is in this folder
| File | What it does |
|---|---|
.claude/settings.json | Declares the confighub plugin marketplace and enables confighub@confighub at repo scope. When a teammate clones the repo and opens Claude Code, Claude prompts once to trust and enable it. |
.mcp.json | Optional project-level MCP entry for flux-operator-mcp (Flux's MCP server) so the AI can read live Flux reconciliation status alongside ConfigHub's config history. Remove if you only use the flux CLI. |
AGENTS.md | Repo-level instructions (read by Claude Code, Codex, and Antigravity) defining when the AI uses Flux vs. ConfigHub and enforcing human-only production approvals. |
skills/flux-with-confighub/SKILL.md | Reusable skill for existing Flux repos: copy to .claude/skills/flux-with-confighub/ or ~/.codex/skills/flux-with-confighub/. |
Copy into your Flux repository
# From your Flux GitOps repository root:
mkdir -p .claude/skills/flux-with-confighub
cp path/to/examples/gitops-ai/flux/.claude/settings.json .claude/settings.json
cp path/to/examples/gitops-ai/flux/AGENTS.md AGENTS.md
cp path/to/examples/gitops-ai/flux/skills/flux-with-confighub/SKILL.md .claude/skills/flux-with-confighub/SKILL.md
# Optional: if you have flux-operator-mcp installed on PATH:
cp path/to/examples/gitops-ai/flux/.mcp.json .mcp.jsonRelated guides
- Walkthrough (AI + Flux pairing):
examples/walkthroughs/starter-flux-ai.md - Kustomize OCI delivery walkthrough:
examples/walkthroughs/starter-kustomize-flux.md - Starter YAML:
starters/kustomize-flux.yaml - Read-only GitOps inventory:
docs/inventory.md