Ship faster with coding agents—with durable config that remembers every setting and why it changed. Start offline with Zero Hub, add a Local Hub on your laptop when you want previews and production approvals, and graduate to a Cloud Hub (confighub.com or self-hosted Helm) when your team or fleet joins.
Free, open-source (MIT license) plugin for Claude Code & Codex that works offline in 10 seconds with zero background servers and zero accounts (Security review):
.env, JSON/YAML, Kubernetes, Helm, Terraform) with pattern-based secret redaction (~/.confighub/agent-changes, 30-day retention), refuses direct production secret/env commands once so agents pause and ask, freezes keys (cub agent lock), undoes only config edits (cub agent undo), packs immutable OCI Config Bundles (cub bundle), and shares staging envs in memory (cub env share / cub env join)./confighub:staging or cub local start): Adds a free local ConfigHub + PostgreSQL on 127.0.0.1 (~300 MB disk / ~70 MB RAM; configures Claude Code's sandbox in .claude/settings.local.json) with isolated previews (cub env preview), fast staging, and a hard server-side approval gate where agents propose and you approve (cub inbox approve BASE/ORDER) and deliver (cub repo deliver) 1:1 to Fly, Vercel, Heroku, Unikraft, or Argo CD / Flux (read-only inventory covers Helm & Kustomize; governed OCI delivery is Kustomize only) (Limits)./confighub:to-hub or cub local to-hub): Copies your config, reasons, and history to a shared team hub (confighub.com or self-hosted Helm + OIDC/SSO) with fleet queries (cub resource list), lineage (cub unit blame), field guards (cub unit set-guard), and unified approvals (cub inbox approve / cub variant approve).Install in 10 seconds · 60s video & 6 slides · 6 live demos · Learn step by step · Try in 5 minutes · Security review · PR review Action · Product overview
| Stage | What runs | How you start | Key commands |
|---|---|---|---|
| Zero Hub | Local hooks + ~5 MB plugin binary (no server, no account) | claude plugin install confighub@confighub | cub agent why/lock/undo, cub bundle, cub env share/join/exec, cub repo inventory/starter-export |
| Local Hub | Free local ConfigHub + PostgreSQL on 127.0.0.1 (no Docker, no account) | /confighub:staging or cub local start | cub env preview/try, cub repo adopt/set/upload/deliver, cub secret, cub inbox list/approve/refuse |
| Cloud Hub | Shared confighub.com or self-hosted Helm + OIDC/SSO | /confighub:to-hub or cub local to-hub | Same 7 noun groups + fleet cub resource list, cub unit blame, cub unit set-guard, cub audit |
Install once (macOS & Linux only; Windows not yet supported)—works offline right away in Zero Hub mode. A lightweight Local Hub (~300 MB disk) installs only if you later type /confighub:staging or run cub local start.
claude plugin marketplace add confighubai/confighub-mini-plugin && claude plugin install confighub@confighubBefore you install (transparency):
- 30-day transcript backfill: On first use in a folder, the plugin reads the last 30 days of local Claude Code session transcripts (storing prompts and up to 1,500 chars of replies locally) so your very first chat can explain why last week's setting changed. Set
CUB_MINI_EARLIER_SESSIONS=0before first opening a folder to opt out (Security review).- Project-scoped install & marketplace check: The command above installs user-wide; add
--scope projectto limit to one repo. If you already installedconfighub-skills, checkclaude plugin marketplace listfirst (migration note).- Free & open source: Free, open-source (MIT) plugin and local hub—stays free and offline (SHA-256 checksums).
curl -sSfL https://raw.githubusercontent.com/confighubai/confighub-mini-plugin/main/install-codex.sh | bash, then /hooks in Codex to approve ConfigHub hooks (Codex setup).confighub.com or self-hosted Helm + OIDC/SSO) so full audit history lives in one place from day 1.Open claude in any folder (uses app-config.json so strict .env permission rules never block you) and ask:
Create app-config.json with {"cache": false}, then turn cache to true for Saturday’s sale and leave it uncommitted.Open a fresh claude chat in the same folder and ask Why is the cache on? (or type /confighub:why cache):
╭─ ConfigHub · Why cache changed ───────────────────────────────────────╮
│ └── app-config.json · cache (true in the file now) │
│ ├── false → true session sess-1 │
│ └── asked: "Create app-config.json ... for Saturday’s sale..." │
├───────────────────────────────────────────────────────────────────────┤
│ recorded locally in ~/.confighub (offline, no hub needed) │
╰───────────────────────────────────────────────────────────────────────╯(Full five-minute guide · Three guided exercises on the web)
Git tracks committed code. Claude or Codex edits files and runs commands. When you step up to a Local Hub (/confighub:staging) or Cloud Hub, ConfigHub holds the durable settings above ephemeral chats, sandboxes, and deploys—with a 1:1 mapping to your live host and an approval gate your agent cannot bypass:
Git (your code) ConfigHub (settings + reasons + 1:1 live mapping)
───────────────────── ────────────────────────────────────────────────────────
server.js shared defaults ─┬─▶ preview (temp local test copy)
package.json ├─▶ staging (agent edits freely)
└─▶ production ⏳ waits for YOUR yes
└── 1:1 target: Fly / Vercel / K8sMeasured vs. Git +
CLAUDE.md(440 agent sessions, 10+ hostile inputs each):
- Structural enforcement Git + prompts cannot provide:
13/13vs0/13spoofed multi-agent delegations refused,11/11vs1/11unforgeable per-agent attribution,10/10vs0/10tampered turn traces flagged,9/10vs1/10staging keys blocked from prod, and10/10vs5/10shared queryable triggers.- Honest parity when teams maintain strict rules: Plain tools tied on
12items (20/20) when handwrittenCLAUDE.md/READMErules and tool-by-tool allowlists were present and read.- Real-world default guardrails: When handwritten rules were missing, unread, or overly broad, plain setups dropped to
0/20(production held),0/20(reasons recorded),0/20(risky MCP calls gated), and1/20(avoided duplicate actions) vs20/20with ConfigHub (0of190silent undos vs144of190without the plugin). (Full tables & limits →)
| State | Meaning | Action |
|---|---|---|
⏳ waiting | Paused safely for your decision (prod approval, sandbox promotion, starter v2, upgrade) | Review & approve (cub inbox list --card) |
↻ syncing / ⚠ drifted | Live host delivery state or 1:1 mismatch against your approved config | Inspect 1:1 live check (cub repo deliver --compare --card) |
✓ recorded | Saved to cross-session memory (~/.confighub or hub) | No action needed |
ConfigHub pairs with ephemeral runtimes and real hosts—keeping what survives after a chat closes, a sandbox is deleted, or a container redeploys:
| Pattern | What is isolated | What ConfigHub makes durable | Guide |
|---|---|---|---|
| Local settings preview | App settings + local port (not your external DB) | Preview settings + reason survive across fresh chats | Local preview |
| Daytona cloud sandbox | Disposable cloud container/VM | Winning setting + reason survive after the sandbox is deleted | Daytona |
| Unikraft microVM | Same immutable image in staging & prod | 1:1 gated config rollover when you approve | Unikraft |
| Vercel / Fly / Heroku | Staging vs. live production host | Agent updates staging; production waits (⏳) for your approval | Vercel · Fly · Heroku |
| Moment | What you use | Guide |
|---|---|---|
| Waiting & drift cards | Review gated changes (cub inbox list --card) and 1:1 live host drift (cub repo deliver --compare --card) | Decision inbox & approvals |
| Personal field locks & config-only undo | Freeze sensitive keys before edits (cub agent lock) or revert config edits cleanly (cub agent undo) | 7-noun CLI & plain cub |
| Safe sandbox boot & teardown capture | Block live keys in --mode test, pull staging defaults at boot, resolve .confighub/connections.yaml (env://, 1password://, vault://), and capture diffs on exit or SIGTERM (cub env exec / cub env shell --capture-on-exit, nono, google-ax) | nono + Daytona sandbox guide |
New 12-Factor & OCI Config Bundles (cub bundle) | Auto-run --validate-config on every edit via .confighub-bundle.yaml, block secrets fail-closed, and pack deterministic OCI Image Volumes for K8s 1.36+ volumes[].image (even > 1 MiB) | Story 30 (YAML) · Story 31 (OCI) · Story 32 (20 Grafana dashboards) |
Share a working staging env in memory (cub env share / join) | Pass staging config + X25519-sealed test keys or revocable Tier 3 ch_proxy_ tokens straight into memory with zero .env in Slack (works today against self-hosted agentauth-server; hosted confighub.com Provisional) | Story 29 |
| Interactive storyboards, silent videos & 6 runnable demos | Click through 4 interactive storyboards, watch calm silent videos (1m 50s overview + focused clips), or run all 6 self-contained CLI demos locally | Interactive storyboards · Silent demos · Runnable scripts |
| Shareable redacted diffs & starter exports | Export secret-redacted HTML/Markdown PR cards (cub agent changes --export-md diff.md, --export-html) or a 1-file MIT starter (cub repo starter-export --out starter.yaml); --upload-diff and hosted confighub.com/auth.md (cub agent auth) are Provisional | From laptop to Cloud Hub |
Teams & Kubernetes fleet governance (cub) | Query across clusters (cub resource list --where ...), trace field lineage (cub unit blame), and attach field guards (cub unit set-guard) | 7-noun CLI & plain cub |
| Inspect an unfamiliar GitOps repo (read-only, Zero Hub) | /confighub:inventory or cub repo inventory | Inventory |
| Review agent PRs on GitHub | PR review Action | Git & GitHub |
| Staging + gated production (Local Hub) | /confighub:staging | Vercel · Fly · Heroku · Unikraft |
| Team, CI, or self-hosted Helm + OIDC/SSO (Cloud Hub) | /confighub:to-hub or cub local to-hub | Self-hosted Helm · PR audit hub |
ConfigHub never replaces Git, your host, or Argo CD / Flux—they still run and deliver your app. (Why not just Git? · All 11 steps)
cub <noun> <verb> groupsEvery workflow across Zero Hub, Local Hub, and Cloud Hub uses the same 7 noun groups:
| Noun group | Stage | Verbs |
|---|---|---|
cub env | Zero Hub (+ Hub preview) | share, join, exec, preview, shell, try |
cub bundle | Zero Hub | init, validate, build, inspect, podspec |
cub agent | Zero Hub (+ Hub keys) | why, changes, lock, undo, halt, card, permissions, checks, require-approval, reach, revoke, auth, setup |
cub repo | Zero → Local/Cloud | inventory, review, adopt, deliver, rollback, upload, set, status, drift, upgrade, starter, starter-export, deploy-from-hub, back-to-git |
cub secret | Local / Cloud Hub | set, list, files, pull, pull-key |
cub inbox | Local / Cloud Hub | list, approve, refuse, review |
cub local | Local ↔ Cloud | start, stop, status, uninstall, connect, offer, copy, to-hub |
Compatibility note: cub mini ... remains a silent compatibility alias for every command above (7-noun CLI & plain cub).
/confighub:help 1-screen menu of Zero/Local/Cloud Hub + the 7 cub noun groups
/confighub:why LOG_LEVEL ASCII trace of every change to one setting and what was asked
/confighub:changes ASCII summary of what agents changed in this folder and why
/confighub:inventory read-only map of what this GitOps repository deploys
/confighub:staging Zero → Local Hub: connect this folder for staging + gated production
/confighub:to-hub Zero/Local → Cloud Hub: copy recorded history into a Cloud Hub(Agent permissions, MCP watch levels, and starters are CLI commands: cub agent permissions, cub agent checks, and cub repo starter / cub local start-from.)
cub local uninstall --delete-data and rm -rf ~/.confighub/agent-changes.security@confighub.com · Docs index · Walkthroughs · Kubernetes Workshop