Zero Hub · Plugin alone · Zero background servers · No account
Ask why a setting changed before you change it back. The plugin keeps the original request with supported edits, even before you commit.
New to the plugin? Ask about one setting you changed or try it in a sample app.
If you’re considering an undo, open a fresh chat in the app folder and ask about the original change.
I'm thinking of undoing our last settings change. Why did we make it, and where does this app use it? Just show me for now.Works locally with no hub and no account. You can also run /confighub:changes in Claude Code.
In the catalog example, a fresh chat found that CACHE went from off to on for Friday's sale and pointed straight to the code reading CACHE, even while the edit was untracked by Git.
Hooks run locally on your machine via the open-source MIT plugin (SHA-256 checksums), writing signed entries to ~/.confighub/agent-changes (30-day local retention; durable in PostgreSQL once connected to a hub). No external telemetry leaves your computer by default; when connected to a hub, model name and token counts are attached to that hub unless you set CUB_MINI_USAGE=0. Full details: Security review →
.env, Compose, Terraform, GitHub Actions, Kubernetes YAML, Helm values, and Kustomize files, plus state-changing CLI commands (vercel, fly, aws ssm, kubectl, helm, terraform, cub) and MCP tool calls.fly secrets set values, and values matching password, API key, token, or connection-string patterns are redacted rather than stored in plain text (pattern-based—an unnamed pasted secret is kept as written; see Security review and how it works).CUB_MINI_EARLIER_SESSIONS=0, stop every Claude Code tool call immediately with touch ~/.confighub/halt, silence hub tips with CUB_MINI_TIPS=0, wipe a folder’s record with cub agent changes --forget, or uninstall and run rm -rf ~/.confighub/agent-changes.All three consoles share one MIT plugin (v0.99.48) and recover the full history of untracked or uncommitted settings edits in a fresh chat or sibling git worktree. Pre-edit warnings differ because each client exposes different hook points.
| Capability | Claude Code | Codex CLI | Google Antigravity |
|---|---|---|---|
| Install | claude plugin marketplace add confighubai/confighub-mini-plugin then claude plugin install confighub@confighub | Pinned git clone --depth 1 --branch v0 + confighub agent setup with fail-closed SHA256SUMS (no curl | bash), then approve /hooks once (Codex setup · mini.md) | Clone --branch v0 and symlink plugins/confighub into ~/.gemini/config/plugins/confighub (native hooks.json → confighub mini hook --agy; mini.md) |
| Record edit and prompt | Recorded on edit; fresh session sees prior reasons automatically | apply_patch edits recorded right after they run; fresh session recovers them | Native hooks.json records file/shell config edits into the same shared journal |
| Warn before undoing an edit | Warns before overwriting an earlier uncommitted change | Recovers the history after the turn; see capability matrix | Holds silent cross-console reverts before writing and obeys cub agent halt |
| Inspect directly | /confighub:why NAME and /confighub:changes (or cub agent why NAME) | cub agent changes (or ~/.codex/confighub/bin/confighub agent changes) | cub agent why NAME and cub agent changes (Story 35) |
| MCP tool checks | cub agent checks (log calls, warn once, catch repeats, or ask before running) | Supported with a local MCP server | Supported via native hooks & cub agent checks |
Free & offline: Zero Hub is the MIT-licensed AI plugin v0.99.48 (~4.8 MB, 0 servers, runs locally in 16–25 ms median with zero outbound network calls; security & privacy review →). Optional Local Hub (confighub/cub-server, ConfigHub Evaluation License, Apple Silicon Mac, ~125 MB on 127.0.0.1) and Cloud Hub (confighub.com or self-hosted Helm) are distributed separately.
Zero Hub commands (no hub download needed):
cub agent: why, changes, card, lock, undo, halt, permissions, checkscub env: share, join, exec, shell (in-memory env sharing & safe test sandbox boot)cub bundle: init, validate, build, inspect, podspec (OCI Config Bundles)cub repo: inventory, review, starter-exportHub commands (cub repo adopt, cub env preview, cub inbox list/approve, cub repo deliver) use a Local or Cloud Hub; legacy cub mini ... remains a silent alias. Full command reference →
6 Claude Code slash commands: /confighub:help · /confighub:why · /confighub:changes · /confighub:inventory · /confighub:staging · /confighub:to-hub. Team policy in one switch: Set CUB_MINI_MODE=team (or CUB_MINI_EARLIER_SESSIONS=lazy for on-demand backfill) in Claude Code’s env settings to disable transcript backfill, enforce strict production holds on every attempt, and keep sandbox Bash prompts on.
Lock personal keys (like STRIPE_WEBHOOK_SECRET or PORT) before an AI edits, and undo config-only changes without touching app code.
cub agent lock PORT
cub agent undo --dry-runAlso run cub agent card for a 10-line ASCII posture card or export redacted diffs with --export-html / --export-md / --upload-diff (Provisional — preview hosted endpoint not yet live on confighub.com).
Gate sandbox startup in test mode with .confighub/connections.yaml (including 1password:// and vault:// resolvers) and export hardened non-secret defaults.
cub env exec --mode test --capture -- npm test
cub repo starter-export --out starter.yaml3-layer boundary: ConfigHub Core holds non-secret config only; teams plug in Vault/1Password/LiteLLM or a self-hosted agentauth-server relay (works today for cub agent auth and zero-knowledge cub env share/cub env join — hosted confighub.com relay endpoints are Provisional; see auth.md) · Nono + Daytona · Sandboxes & CI
Pause every Claude Code run at its next tool call with cub agent halt (or touch ~/.confighub/halt), post AI config diffs on PRs via GitHub Actions, and share via .claude/settings.json.
cub agent haltConnect the plugin to a Local Hub on 127.0.0.1 (Apple Silicon Mac, ~125 MB, no Docker or account) — or jump straight to a Cloud Hub (hosted or self-hosted Helm).