Skip to content
ConfigHub for coding agents

Step 2 of 3 · Local on 127.0.0.1 · Free · No Docker or account

Show me both versions of my app

Try a change in a running preview while your usual app stays untouched, and reopen that preview tomorrow from a fresh chat. Production waits for your approval. No Docker and no account.

Can I see the change before I keep it?

Pick the example that fits your app. A local preview runs your app the way it already runs: npm run dev, npm start, a Procfile, or a command you give. Next.js, Vite and Python apps work this way. When you ask to keep it, the plugin offers local setup.

Local preview

Keep a preview running for tomorrow

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.

Observed result: Both URLs ran side by side. A fresh chat in the same folder found the running preview and read its response. Run a preview

Saved production settings

Open Friday’s production settings as a preview

Open Friday’s production settings as a new preview.

ConfigHub runs today’s code using the settings this hub held at the end of the last completed Friday in your time zone. If the app joined later, its history starts then.

In our local test, the web and Daytona starters supplied the settings. We dated the older revision Friday. Its preview queued the sample job after three attempts. Production kept delivering on attempt four. A new chat in each client found its original preview without the address. Archived run (mini.29) · Current release (0.11.24-mini.53)

Daytona sandbox

Throw away the sandbox. Keep what you learned.

The queue spiked. In a disposable Daytona sandbox, run the same jobs at 120 and 240 per batch. Show me the difference and save the change and its reason for review before you delete the sandbox.

Observed result: In the Daytona walkthrough, tuned settings and written reasons survive container deletion in Staging while Production holds pending review (Daytona walkthrough · Daytona quick guide).

How one app lives in a local hub

Connecting an app does not modify your tracked app files (local setup writes only .claude/settings.local.json and .git/info/exclude; running /confighub:staging also sets autoAllowBashIfSandboxed: true in .claude/settings.local.json unless CUB_MINI_MODE=team). ConfigHub creates three copies of its settings (base, staging, and production, named live in the CLI) and an optional isolated preview, plus a scoped key for the agent.

Shared source

app-base

Shared settings and starter defaults, each with a written reason. Changes start here once.

Agent can update

preview

A running local copy on its own port that survives across chats while leaving your usual app alone.

Agent can update

app-staging

Takes base changes right away so your agent can verify behavior before proposing to production.

Owner approves

app-live (production)

Agent proposes a change order on its scoped key; the hub refuses self-approval until you approve.

Two ways to start using a local hub

You do not have to pre-install a server. Ask for a durable preview in your app folder, or download the standalone package directly.

Opt-in from chat

Ask for a preview you can reopen tomorrow

In a local Node app reading .env, ask in plain words:

Try "Evening collection" as the heading. Keep the usual app as it is. I'd like to open the preview again tomorrow.

Say yes when the plugin offers to attach the app. First use downloads the package for your machine and starts the local hub on 127.0.0.1. Existing app preview guide.

Explicit CLI

Attach any repo or run in CI and sandboxes

Works with .env, Compose, Terraform, and Kustomize repos, or inside a disposable CI job with one hub per run. If the local hub is not downloaded yet, run ~/.claude/plugins/marketplaces/confighub/plugins/confighub/bin/confighub mini get (Claude Code) or ~/.codex/confighub/bin/confighub mini get (Codex), or run cub mini install to start an already-downloaded hub.

cub mini install
cub mini adopt . --name myapp
cub mini require-approval myapp --variant live --agent myapp-agent
cub mini waiting

Install ConfigHub & checksums · CI & sandboxes

Review, approve, refuse, or roll back

The agent proposes changes using its own scoped key. You inspect and decide in your own terminal using the order IDs shown below.

cub mini waiting

Review the proposed values. To approve one, run cub mini approve BASE/ORDER with the exact ID shown. To decline it, run cub mini refuse BASE/ORDER --reason "Why". You can leave it pending and come back later.

To undo an approved change, run cub mini rollback APP-live --change-order BASE/ORDER --reason "Why" with your app and order. Review the new proposal before production changes.

Clean exit ramp. Your tracked app files are never modified during adopt. At any point you can export every setting back to plain files and stop or remove the local hub. Going back and uninstalling · Approvals detail.

Ready to share history, approvals, and starters across a team?

Step 3 moves the exact same app and cub commands to a shared hub.