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.
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)
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.
[ -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)
[ -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
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.
.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:
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.
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):
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).
Open a fresh session in the same folder and ask:
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.
✓ 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
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).
Open claudecodexantigravity in an empty folder and ask:
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:
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.
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:
Try a warmer greeting in a preview and show me the preview link alongside staging.
Open the local URL your agent returns. Close the chat, open a fresh session in the same folder, and ask:
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.
If your hub already held production settings on Friday, run today’s app code against Friday’s saved settings without touching live production:
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
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.
In your first app’s chat from Exercise 2, promote the preview greeting to your shared defaults:
Make the preview greeting our shared default for welcoming visitors. Put it in staging and show me what the app serves there.
Open a new claudecodexantigravity chat in a new empty folder (any name, e.g. catalog) and ask it to inherit from your first app:
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.
See why ConfigHub sits in the middle: change the shared greeting once and verify both apps update without overwriting each app’s own settings:
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.
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:
| Pattern | What is isolated | What ConfigHub makes durable |
|---|---|---|
| Local settings preview | App settings & local port only (not your external DB) | Preview settings + reason survive across fresh chats |
| Daytona cloud sandbox | Full disposable cloud container/VM | Winning setting + reason survive after the sandbox is deleted |
| Unikraft microVM | Same immutable image in staging & prod | Gated config rollover directly from staging to approved production |
OS agent sandbox (nono) + restricted keys | Local files, shell commands & API access | Agent edits staging freely; hub blocks self-approval of production |
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 →
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.
Explore ready-to-use starters, 35 field walkthroughs & stories, or integrations for your stack.
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.
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.
Hosting a web app? Next.js on Vercel · Rails on Fly.