ConfigHub · Durable config for coding agents
Docs / examples/gitops-ai/flux/README.md Source on GitHub →

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

FileWhat it does
.claude/settings.jsonDeclares 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.jsonOptional 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.mdRepo-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.mdReusable 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.json