ConfigHub · Durable config for coding agents

Zero Hub · Plugin alone · Zero background servers · No account

Remember why your agent changed a setting

Ask why a setting changed before you change it back. The plugin keeps the original request with supported edits, even before you commit.

Ask about a setting in my app

What does my next chat remember?

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.

Paste into Claude Code, Codex, or Antigravity

Ask why before undoing

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.

Observed result

Recovered reason + exact code line

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.

Read the recorded run · Try it in a sample folder

What’s recorded, privacy & how to delete it

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 →

Recorded locally

Config keys, prompts & 30-day first-run backfill

  • Supported edits: Changed keys in .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.
  • Quoted prompts: The request you gave the agent and the reason it stated, signed on disk.
  • First-run 30-day transcript read (Claude Code): On first use in a folder, the plugin reads the last 30 days of local Claude Code session transcripts for that folder so your very first chat already knows why recent settings changed before you installed the plugin.
Redacted, skipped & easy to wipe

Credentials, off switches & deletion

  • Credential redaction: Named secret keys, 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).
  • No raw dumps: Full file copies and raw command stdout are not stored; ordinary code edits outside config files are skipped.
  • Turn off or delete anytime: Opt out of the 30-day transcript backfill with 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.

Claude Code, Codex CLI & Google Antigravity capabilities

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.

CapabilityClaude CodeCodex CLIGoogle Antigravity
Installclaude plugin marketplace add confighubai/confighub-mini-plugin then claude plugin install confighub@confighubPinned 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 promptRecorded on edit; fresh session sees prior reasons automaticallyapply_patch edits recorded right after they run; fresh session recovers themNative hooks.json records file/shell config edits into the same shared journal
Warn before undoing an editWarns before overwriting an earlier uncommitted changeRecovers the history after the turn; see capability matrixHolds 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 checkscub agent checks (log calls, warn once, catch repeats, or ask before running)Supported with a local MCP serverSupported via native hooks & cub agent checks

Zero Hub guardrails (before you add a Local or Cloud Hub)

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):

Hub 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.

Personal field locks & config-only undo

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-run

Also 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).

Safe sandbox boot & shareable starters

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.yaml

3-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

Emergency stop, PR review & Git sharing

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 halt

Incident recovery · PR review Action · Five-minute guide

Ready for isolated previews, staging, and production approval gates?

Connect 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).

Local Hub (127.0.0.1) → Cloud Hub (Cloud / VPC) →