Skip to content
ConfigHub for coding agents

COMMANDS · SECURITY & TRUST · GUIDES · MACHINE INDEX

Docs & reference for humans and coding agents

Every slash command, everyday cub mini verb, security & threat-model doc, host guide, and machine-readable index in one place.

Everyday commands

Claude Code slash commands

  • /confighub:changes: list recorded config edits and their prompts.
  • /confighub:why NAME: show every change to one setting and why.
  • /confighub:inventory: list what the repo deploys and how.
  • /confighub:checks: control MCP write checks (log, warn, repeats, ask).
  • /confighub:permissions: show what agents may run without asking.
  • /confighub:staging: give the current app staging, live, and approvals in a local hub.
  • /confighub:to-hub: copy local plugin records into a hub.
  • /confighub:start-from APP: start a new app inheriting from an existing app.

cub mini & plugin binary commands

Plugin-only commands run through your installed binary: ~/.claude/plugins/marketplaces/confighub/plugins/confighub/bin/confighub (Claude Code) or ~/.codex/confighub/bin/confighub (Codex CLI). Once downloaded with mini get (or /confighub:staging), hub commands run via cub mini.

  • bin/confighub mini get: download, verify release SHA256SUMS, unpack, and start the local hub package on 127.0.0.1 (prints the PATH line to export for cub).
  • cub mini install: start an already-downloaded local hub on 127.0.0.1.
  • cub mini adopt FOLDER: connect an app's settings without modifying files.
  • cub mini upload FOLDER --variant V: push changes (staging updates, live proposes).
  • cub mini set: set one value in one copy with a written reason.
  • cub mini waiting [--card]: inspect pending production orders, captured sandbox handoffs, and exact diffs.
  • cub mini approve ID --note "Why" / cub mini refuse ID --reason "Why": owner decision.
  • cub mini deliver --compare --card: inspect 1:1 live host state vs. approved hub revision (host secrets hidden).
  • cub mini rollback APP-live --change-order ID --reason "Why": propose restoring the earlier values.
  • cub mini secret set: store a secret readable by runtime, hidden from agent keys.
  • bin/confighub mini lock KEY --reason "Why" / mini undo / mini card / mini starter-export . --out starter.yaml: personal field locks, config-only undo, folder status card, and YAML starter export.
  • bin/confighub env exec --app APP --mode test --connections .confighub/connections.yaml --capture -- CMD (alias: cub mini exec ...): pull hub staging defaults at boot (--pull/--no-pull), block live keys, and capture surviving diff handoffs (including on SIGTERM).
  • eval "$(bin/confighub env shell --app APP --mode test --capture-on-exit)": export test/staging connections in a persistent shell and arm an EXIT/TERM diff trap.
  • bin/confighub mini changes --export-md diff.md (or cub mini changes --export-html diff.html): shareable secret-redacted Markdown/HTML diffs.
  • bin/confighub mini changes --upload-diff URL / bin/confighub mini agent-auth --server URL: upload TTL diff link and zero-install Ed25519 agent bootstrap (Provisional: preview hosted endpoint not yet live on confighub.com).

How each cub mini verb maps to plain cub

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 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.

Documentation index

Direct entrypoints to every guide, security audit, and operations runbook in this section.

Plain-English glossary

WordWhat it means
HubThe ConfigHub server that holds revisions, reasons, and approvals: either a free local hub on 127.0.0.1 or a shared team hub.
miniRefers to three related pieces: the open-source plugin repository (confighub-mini-plugin), the offline plugin subcommand (bin/confighub mini), and the lightweight single-machine hub CLI (cub mini).
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, 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

Operating contract for coding agents: allowed actions, refusal rules, Approval Card, and exact commands.

Agent guide (HTML) · AGENTS.md (raw local) · Raw GitHub 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