ConfigHub · Durable config for coding agents

Commands · Security & trust · Guides · Machine index

Docs & reference for humans and coding agents

The 6 Claude slash commands, 7 canonical cub <noun> <verb> groups across Zero Hub → Local Hub → Cloud Hub, security docs, host guides, and machine-readable indexes.

Visual Decks & Stories: 4 interactive storyboards · Video demos · 6-slide Agentic Ops story · 5-slide Swarms deck · Zero → Cloud story table

Security & Stages: Security review (plugin) · Security review (hub) · Proof & limits · Host guides · Plugins · Zero Hub / Local Hub / Cloud Hub

Agent Machine Files: mini.md · auth.md · llms.txt

Everyday commands (7 canonical nouns · 6 Claude slash commands)

Claude Code slash commands (6)

  • /confighub:help — print a 1-screen, repo-aware menu across Zero Hub, Local Hub, and Cloud Hub (backed by cub agent card --guide).
  • /confighub:why NAME — show every change to one setting and why (cub agent why NAME).
  • /confighub:changes — list recorded config edits and their prompts (cub agent changes).
  • /confighub:inventory — list what the repo deploys and how (cub repo inventory).
  • /confighub:staging — step up from Zero Hub to a Local Hub with staging, live, and production approvals.
  • /confighub:to-hub — graduate Zero/Local Hub records and apps up to a Cloud Hub (cub local to-hub).

CLI-only agent/starter commands: use cub agent permissions, cub agent checks, and cub repo starter directly in terminal.

7 canonical cub <noun> <verb> groups

  • cub env (Zero Hub + Hub preview): share, join, exec, preview, shell, try — in-memory env sharing (Story 29), test-mode sandbox boot with --capture, and isolated local previews.
  • cub bundle (Zero Hub): init, validate, build, inspect, podspec — deterministic, non-secret OCI Config Bundles for Kubernetes 1.36+ volumes[].image (Story 31 · Story 32).
  • cub agent (Zero Hub + Hub keys): why, changes (--export-html / --export-md), lock, undo, halt, card, permissions, checks, require-approval, reach, revoke, auth, setup.
  • cub repo (Zero → Local/Cloud): inventory, review, adopt, deliver (--compare --card), rollback, upload (--roll-on-configmap), set, status, drift, upgrade, starter, starter-export, deploy-from-hub, back-to-git.
  • cub secret (ESO/CSI + Local dev): install official confighub/cub-secret (v0.1.0 early preview, MIT: cub plugin install confighub/cub-secret) and run cub secret list to project ESO ExternalSecret and CSI SecretProviderClass (AWS/Vault) keys directly from ConfigHub Units with zero plaintext values stored or cluster creds needed (secretsbot status/vet/set coming next). Legacy local-dev owner-only Spaces (set, files, pull, pull-key) remain strictly for local dev.
  • cub inbox (Local/Cloud Hub): list (--card), approve ID --note "Why", refuse ID --reason "Why", review.
  • cub local (Local ↔ Cloud): start, stop, status, uninstall, connect, offer, copy, to-hub.

Compatibility & relay note: legacy cub mini ... commands remain supported as a silent alias. Self-hosted agentauth-server relay works today for cub agent auth and cub env share/join (auth.md); hosted confighub.com endpoints are Provisional. Full CLI mapping →

Teams & Kubernetes

Fleet & governance (cub) commands for Kubernetes & teams

  • cub resource list --where ... — query live resources, drift, and configuration fields across Spaces and Kubernetes clusters.
  • cub secret list --target prod/prod-cluster -o wide — list every secret key named by ESO ExternalSecret / CSI SecretProviderClass (AWS/Vault) and which workloads mount it, with zero cluster or cloud creds (via confighub/cub-secret v0.1.0 early preview).
  • cub unit blame UNIT --space SPACE — trace which shared base, per-environment override, revision, and reason supplied each field in a Unit.
  • cub unit set-guard UNIT --space SPACE --guard "RESOURCE_TYPE:RESOURCE_NAME:PATH=KEY=VALUE" — attach path-level guards on a Unit (for example --guard ":api:spec.template.spec.containers.*.image=Compliance=Locked") so protected fields require clearance before edits or merges overwrite them.

Plain-English glossary

WordWhat it means
HubThe ConfigHub server that holds revisions, reasons, and approvals: either a Local Hub on 127.0.0.1 or a Cloud Hub (hosted or self-hosted).
ComponentOne app or service (such as shop), grouping its shared base, environment variants (staging, live), and linked settings.
SpaceA folder in a hub (such as shop-base, shop-staging, or shop-live) that holds configuration Units and their revision history.
UnitOne configuration file or resource inside a Space (for example app or web-service), tracked by numbered revisions as changes are made.
BaseThe shared settings an app starts from. Make a shared change once in the base so staging and live inherit it cleanly.
Copy (Variant)One environment's settings (preview, staging, or live) derived from the base while keeping its own overrides.
StarterA versioned YAML file of team defaults, rules, and written reasons that multiple apps stay linked to.
ChangeSetA named batch of Unit revisions grouped together for bulk upload, diff comparison, or rollback (distinct from a human-approved Change order).
Change orderA proposed change to production created by an agent's scoped key that waits for a named human owner's approval.

Full glossary

Machine-readable index for coding agents

Point Claude Code, Codex, Google Antigravity, or any shell-capable agent straight at these raw files:

llms.txt & catalog.json

Agent router and machine-readable catalog for coding agents, plus the upstream plugin repo router.

llms.txt · catalog.json · Plugin repo llms.txt

AGENTS.md, mini.md & auth.md

Operating contract for coding agents: allowed actions, idempotent Consent Card install, and pull-only cross-env sync.

Site AGENTS.md · mini.md · auth.md · Plugin AGENTS.md

SKILL.md, GitOps AI kits & Workshop

The installed app-with-confighub skill, copy-ready Flux/Argo CD/Sveltos AI starter skills, and the Kubernetes Workshop index.

app-with-confighub · Flux/Argo/Sveltos AI kits · Workshop llms.txt