Three things to try first

No fiddly env variables, no breaking things, and always easy to go back. Stay inside Claude Code, Codex, or Antigravity: start offline with Zero Hub, add an optional Local Hub for isolated previews, or scale straight to Cloud Hub.

Add ConfigHub to Claude Code, Codex, or Antigravity (macOS & Linux · MIT-licensed AI plugin v0.99.48 · Zero Hub offline to Cloud Hub)

Terminal (one-time install)
claude plugin marketplace add confighubai/confighub-mini-plugin && claude plugin install confighub@confighub

On first use in a folder, checks the last 30 days of local Claude Code transcripts so you can ask why last week’s edit happened (set CUB_MINI_EARLIER_SESSIONS=lazy for on-demand only, =0 to opt out, or CUB_MINI_MODE=team for strict team mode). Add --scope project for one repo only. Prefer letting your agent run an idempotent setup? Point it at mini.md → · Security review →

Open a fresh Claude Code chat in your project folder—everything below happens inside Claude. Type /confighub:changes anytime for the full record. Already installed? Check your own app or build your first app.

Terminal (pinned v0 clone + SHA256SUMS — no curl | bash)
[ -d "$HOME/confighub-mini-plugin" ] || git clone --depth 1 --branch v0 https://github.com/confighubai/confighub-mini-plugin "$HOME/confighub-mini-plugin"
"$HOME/confighub-mini-plugin/plugins/confighub/bin/confighub" agent setup

In Codex CLI, run /hooks, approve the ConfigHub hooks once, then open a fresh chat in your project folder. (Checksum & removal steps · Agent setup via mini.md)

Terminal (Google Antigravity plugin install)
[ -d "$HOME/confighub-mini-plugin" ] || git clone --depth 1 --branch v0 https://github.com/confighubai/confighub-mini-plugin "$HOME/confighub-mini-plugin"
mkdir -p "$HOME/.gemini/config/plugins" && ln -sfn "$HOME/confighub-mini-plugin/plugins/confighub" "$HOME/.gemini/config/plugins/confighub"

Symlinks the MIT-licensed ConfigHub plugin into Google Antigravity, then start a fresh session in your project folder. (Agent setup via mini.md · Security review →)

01 · Zero Hub (plugin alone) · Start offline · Zero servers, zero account

Find out why a setting changed—even from before you installed

Git shows the edit after you commit. The plugin keeps the request with supported edits in ~/.confighub right away, and can also recover edits from your last 30 days of local Claude Code sessions.

Already have a real mystery in .env.local? Try this first (30 seconds)

If Claude Code edited a config file in your project during the last 30 days, open claude in that repo right after installing and ask:

Ask in your existing repo
Why did NEXT_PUBLIC_API_URL (or another setting in .env.local) change last week? Show me the old value, new value, and what was asked.

What success looks like: ConfigHub recovers the old value → new value and quotes the exact earlier prompt (e.g. “point staging preview at the EU endpoint”), with credentials automatically redacted. If no reason was ever stated in the earlier chat (or the edit happened outside Claude Code), it says so plainly instead of guessing. Privacy control: set CUB_MINI_EARLIER_SESSIONS=lazy to backfill only when you ask, or CUB_MINI_EARLIER_SESSIONS=0 / CUB_MINI_MODE=team before opening a folder to skip reading earlier transcripts (Security review →).

Starting in an empty folder? Ask for one uncommitted change, then open a fresh session in the same folder. Your agent makes the edit and later explains it from the local record.

  1. Open claudecodexantigravity in any project or empty folder and ask for a small config change (uses app-config.json to avoid Claude Code’s default .env permission prompt):

    Ask in Session 1
    Create app-config.json with {"cache": false}, then turn cache to true for Saturday’s sale and leave it uncommitted.

    Prefer .env.local? Works the exact same way—ask: “Create .env.local with CACHE=off, then set CACHE=on for Saturday’s sale and leave it uncommitted” (approve Claude Code’s one-time .env prompt if asked).

  2. Open a fresh session in the same folder and ask:

    Ask in a fresh session
    Why is the cache on?

    ConfigHub automatically supplies the recorded change and reason to your fresh chat. You can also inspect it directly with /confighub:why cache.

    You can also inspect the record in Terminal with cub agent changes (or ~/.codex/confighub/bin/confighub agent changes).

    Antigravity reads the recorded change and reason from the plugin automatically, or you can inspect it in Terminal with cub agent why cache.

How to read every ConfigHub card (✓ recorded, ⏳ waiting, ↻ syncing)
✓ recorded Saved to cross-session memory (~/.confighub or hub) — no action needed. /confighub:why · /confighub:changes
⏳ waiting Paused safely for your decision (production approval, sandbox changes, or shared-default updates). Review & approve (Exercises 2–3)
↻ syncing / ⚠ drifted Your live host (Vercel, Fly, Unikraft) is syncing or differs from your approved settings. Compare against live host (Real hosts)

More detail: Five-minute plugin guide · Audited first-use stories · Measured runs with and without the plugin

02 · Optional Local Hub (127.0.0.1) · Safe previews & saved settings

Try a change in a running preview before shipping it

Testing a setting or reproducing a bug usually means touching the running app you already rely on. With an optional Local Hub (or Cloud Hub), previews run on their own settings and tomorrow’s chat still knows where to find them.

What’s added in Exercises 2 & 3: Your agent starts an optional Local Hub (cub local start via confighub/cub-server — Apple Silicon Mac, ~125 MB, loopback 127.0.0.1, no Docker, no account; Linux and Intel Macs use Cloud Hub or K8s/kind). Three plain environments: preview (temporary test copy on its own port), staging (shared test copy your agent can update freely), and production (protected copy that waits for your approval).

  1. Start from a new folder or attach your app:

    Open claudecodexantigravity in an empty folder and ask:

    Ask your agent
    Build a small greeting app using ConfigHub. Give it a configurable greeting and run it locally.

    In a local Node HTTP app (node server.js on 127.0.0.1), ask:

    Ask in your existing app
    Show me my app as it is and a local preview with the heading “Evening collection.” Give me both links and keep the preview running for tomorrow.

    Say yes to local setup. Your agent sets up the local store on first use and shows both links—go straight to Step 3.

  2. Start a fresh Claude Code chat in the same folder (Claude Code reads new folder permissions on startup, loading a restricted key that lets it edit staging without touching production) and ask:

    For the new app, open its scoped session using the run-codex command printed at the end of Step 1, then ask:

    Start a fresh Antigravity session in the same folder (using the scoped staging key created in Step 1) and ask:

    Ask your agent
    Try a warmer greeting in a preview and show me the preview link alongside staging.
  3. Open the local URL your agent returns. Close the chat, open a fresh session in the same folder, and ask:

    Ask in a later session
    Where’s the preview I left running? What does it serve?

    A fresh session finds the running preview address and process without being given the URL. Ask your agent to stop the preview when you finish.

Or reopen Friday’s production settings as a preview

If your hub already held production settings on Friday, run today’s app code against Friday’s saved settings without touching live production:

Ask your agent
Open Friday’s production settings as a new preview.

In the recorded run, Friday’s lower retry limit left the sample job queued in the preview while production kept delivering on attempt four. More preview examples · See the published run in Stories

Step-by-step guides: New app in Claude Code · Attach an existing app · Preview & second app in Codex

03 · Multi-app inheritance · Keep per-app overrides

Give a second app the greeting you just tried

A copied template gives you today’s settings. With ConfigHub, the new app stays linked to shared defaults, so a later fix can reach both apps while each keeps its own values.

You choose the greeting to share and open a new Git folder. Your agent runs both apps with their staging settings and checks that the second app inherited the greeting.

  1. In your first app’s chat from Exercise 2, promote the preview greeting to your shared defaults:

    Ask your agent
    Make the preview greeting our shared default for welcoming visitors. Put it in staging and show me what the app serves there.
  2. Open a new claudecodexantigravity chat in a new empty folder (any name, e.g. catalog) and ask it to inherit from your first app:

    Ask your agent
    Build a small catalog service linked to my first app’s ConfigHub defaults so it inherits the greeting while keeping its own port and title. Run it with staging settings and show me the response.
  3. See why ConfigHub sits in the middle: change the shared greeting once and verify both apps update without overwriting each app’s own settings:

    Ask your agent
    Update the shared greeting to “Welcome back!” and show me both staging apps’ responses so I can see they both picked it up.

Second app in Claude Code · Second app in Codex · Browse all Config Starters · More multi-app stories.

Try it on a sandbox or real host

Not all “sandboxes” do the same job. Pick the isolation level you need—ConfigHub keeps your winning settings and reasons after a chat closes or a sandbox is deleted, and ties production settings directly to your live host:

PatternWhat is isolatedWhat ConfigHub makes durable
Local settings previewApp settings & local port only (not your external DB)Preview settings + reason survive across fresh chats
Daytona cloud sandboxFull disposable cloud container/VMWinning setting + reason survive after the sandbox is deleted
Unikraft microVMSame immutable image in staging & prodGated config rollover directly from staging to approved production
OS agent sandbox (nono) + restricted keysLocal files, shell commands & API accessAgent edits staging freely; hub blocks self-approval of production
╭─ ConfigHub · Daytona sandbox handoff ──────────────────────────╮ │ 1. Daytona sandbox ● tuned BATCH_SIZE: 120 → 240 (tested) │ │ 2. Sandbox deleted ✗ container gone, local disk wiped │ │ 3. ConfigHub hub ⏳ proposal kept (staging=240, prod=120) │ │ └── reason: "Queue spike load test" │ ╰────────────────────────────────────────────────────────────────╯

Pick your host for the 1-screen guide, ready-to-copy prompt, and sign-in prerequisites:

Wiring payments, databases, AI, email, or sandboxes? See Stripe, Supabase, OpenAI, Resend Mail, and nono OS sandbox starters alongside Fly, Argo CD, and Flux on Config Starters & recipes →

When your team joins

Move from Zero Hub or Local Hub to a Cloud Hub on confighub.com or your own server with your current settings, reasons, and compact revision history intact (how Cloud Hub & SSO work · graduation guide). Teammates and CI then approve changes as named owners and manage one base across ten services. See the 7-noun cub CLI reference for the commands.

Already using Redis in the Kubernetes Workshop? Follow the same Redis package from Local Hub to Cloud Hub. The staging change kept its reason, and the cluster had two ready read replicas after approval.

Where to go next

Explore ready-to-use starters, 35 field walkthroughs & stories, or integrations for your stack.

Starters & add-ons

Wire hosting and add-ons cleanly—Vercel, Fly, Daytona, Unikraft, plus Stripe, Supabase, OpenAI, Resend Mail, and the nono OS sandbox—or write your own 1-file YAML starter.

Browse Starters & recipes →

35 field walkthroughs

See every walkthrough from empty folder to Story 29 key-to-key env sharing, Stories 30–32 immutable OCI Config Bundles, Stories 33–35, and the 6-slide Agentic Ops visual story.

Explore Field Stories → · Agentic Ops slides →

Integrations & guardrails

Connect GitHub PR checks, HashiCorp Vault, OpenTelemetry, workload signing, and agent tool guardrails.

See all Integrations →

Advanced rehearsals: Temporal worker rollouts & Kubernetes cluster drift

Restart a Temporal worker during a rollout

You choose the local rehearsal and ask what happens if the worker restarts while a change is waiting. Requires Local Hub, Go, Python 3, and the Temporal CLI.

Your agent shows the old retry limit while approval is pending, one attempt after approval, and a refusal if policy differs.

Run the Temporal worker rehearsal

Find out why the cluster disagrees with Git

You choose a disposable local cluster (Docker, kind, kubectl, and cluster drift checks) and compare Git, the hub, and the running cluster.

Your agent highlights two replicas in Git, three in the hub with a reason, and four on the cluster with an extra environment variable.

Compare Git, the hub and the cluster

Hosting a web app? Next.js on Vercel · Rails on Fly.