sveltosctl ai setup Prototype)Unlike upstream CNCF Flux or Argo CD, Sveltos already has a working cub sveltos integration (confighub/sveltos-confighub) and a single maintainer team—making an explicit, opt-in AI setup or co-launched Sveltos community edition practical today.
This folder is a working prototype you can run as-is or adapt directly into a subcommand such as sveltosctl ai setup.
sveltosctl never touches ~/.claude/ or ~/.codex/ behind a user's back../sveltos-ai-setup.sh / sveltosctl ai setup in their fleet repo, or by cloning a Sveltos fleet starter repo).--undo.| File | What it does |
|---|---|
sveltos-ai-setup.sh | Working opt-in CLI prototype (--dry-run, --client claude|codex|both, --install-plugins, --undo). Checks installed tools, writes project-scoped AI config, and prints exact next steps and undo commands. |
.claude/settings.json | Declares the confighub plugin marketplace and enables confighub@confighub at repo scope so Claude Code prompts once to enable it. |
AGENTS.md | Repo-level instructions defining Sveltos vs. ConfigHub ownership and forbidding agents from applying live ClusterProfiles or running apply.sh/handover.sh unreviewed. |
skills/sveltos-with-confighub/SKILL.md | Reusable skill combining sveltosctl, cub sveltos plan / apply / status, cub config check, and ConfigHub change history. |
chmod +x sveltos-ai-setup.sh
# Preview what would be written in your fleet repo without touching anything:
./sveltos-ai-setup.sh --dir /path/to/your-sveltos-fleet --dry-run
# Apply project-scoped setup for Claude Code (or --client codex / --client both):
./sveltos-ai-setup.sh --dir /path/to/your-sveltos-fleet --client claude
# Undo cleanly at any time:
./sveltos-ai-setup.sh --undo --dir /path/to/your-sveltos-fleetsveltosctl ai setup command: Embed the same project-scoped writer (AGENTS.md, .claude/settings.json, and sveltos-with-confighub/SKILL.md) behind an explicit sveltosctl ai setup subcommand with --dry-run and --undo.sveltos-with-confighub, cub sveltos plan, and the Workshop Sveltos onboarding guide—starting 100% read-only and offline before any live cluster handover.examples/walkthroughs/starter-sveltos-ai.mdbring-sveltos-into-confighub.htmlconfighub/sveltos-confighub