Step 1 of 3 · 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.
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.
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.
Recovered reason + exact code line
In the .env catalog run, a fresh chat found that CACHE went from off to on for Friday's sale and pointed straight to the line in catalog.js reading CACHE, even while the edit was untracked by Git.
What’s recorded, privacy & how to delete it
Hooks execute the free precompiled local binary shipped in the MIT-licensed plugin repository (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
Config keys, prompts & 30-day first-run backfill
- Supported edits: Changed keys in
.env, JSON (for exampleapp-config.json), 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.
Credentials, off switches & deletion
- Credential redaction: Named secret keys,
fly secrets setvalues, 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 withtouch ~/.confighub/halt, silence hub tips withCUB_MINI_TIPS=0, wipe a folder’s record with"$BIN" mini changes --forget(whereBINpoints to your plugin binary), or uninstall and runrm -rf ~/.confighub/agent-changes.
Claude Code and Codex CLI capabilities
Both clients recover the full history of untracked or uncommitted settings edits in a fresh chat. Pre-edit warnings differ because each client exposes different hook points.
| Capability | Claude Code | Codex CLI |
|---|---|---|
| Install | claude plugin marketplace add confighubai/confighub-mini-plugin then claude plugin install confighub@confighub | Clone release branch v0 to "$HOME/confighub-mini-plugin" and run mini codex-setup, then approve /hooks once (copy command on Overview · Codex setup) |
| Record edit and prompt | Recorded on edit; fresh session sees prior reasons automatically | apply_patch edits recorded right after they run; fresh session recovers them |
| Warn before undoing an edit | Warns before overwriting an earlier uncommitted change | Recovers the history after the turn; see capability matrix |
| Inspect directly | /confighub:why NAME and /confighub:changes | ~/.codex/confighub/bin/confighub mini changes |
| MCP tool checks | /confighub:checks (log calls, warn once, catch repeats, or ask before running) | Supported with a local MCP server |
Guardrails that work before you add a hub
Licensing & offline operation: The public plugin repository (confighubai/confighub-mini-plugin: hooks, skills, starters, docs, and launcher), self-hosted Helm chart (charts/confighub-hub, see self-hosted Helm guide), Web UI, and Go/JS SDKs are MIT open source; the precompiled local CLI/hub binaries (verified against bin/SHA256SUMS for archive integrity; built from upstream repo confighubai/confighub-mini, not currently public on GitHub) and self-hosted Helm chart are free to run; commercial plans on confighub.com cover hosted team hubs and Enterprise support. Runs locally in 16–25 ms median with no background servers or outbound network calls (security & privacy review).
Plugin-only commands (no hub download needed): changes, why, card, lock, undo, inventory, review, and exec all run directly from the plugin’s launcher (resolved below via BIN, or via cub mini / confighub mini once the free local hub package is downloaded; hub-only commands like adopt, preview, waiting, approve, and live deliver need the local hub, while read-only Heroku-to-Fly/Vercel cub mini deliver --compare runs from cub mini without a running 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. Plugin binary paths: ~/.claude/plugins/marketplaces/confighub/plugins/confighub/bin/confighub (Claude Code) or ~/.codex/confighub/bin/confighub (Codex); downloading the local hub via ~/.claude/plugins/marketplaces/confighub/plugins/confighub/bin/confighub mini get (or the Codex path) installs cub and prints the PATH line to export.
Keys & undo
Personal field locks & config-only undo
Lock personal keys (like STRIPE_WEBHOOK_SECRET or PORT) before an AI edits (holds pre-edit in Claude Code; Codex logs apply_patch post-edit), and undo config-only changes without touching app code.
BIN="$HOME/.claude/plugins/marketplaces/confighub/plugins/confighub/bin/confighub"
[ -x "$BIN" ] || BIN="$HOME/.codex/confighub/bin/confighub"
"$BIN" mini lock PORT
"$BIN" mini undo --dry-runAlso run "$BIN" mini card for a status card or export redacted diffs with --export-html / --export-md (hosted --upload-diff preview endpoint is Provisional).
Sandboxes & starters
Safe sandbox boot & shareable starters
Gate sandbox startup in test mode with .confighub/connections.yaml (example paths shown; substitute your connections file) and export hardened non-secret defaults.
BIN="$HOME/.claude/plugins/marketplaces/confighub/plugins/confighub/bin/confighub"
[ -x "$BIN" ] || BIN="$HOME/.codex/confighub/bin/confighub"
"$BIN" env exec --app shop --mode test --connections .confighub/connections.yaml --capture -- npm test
"$BIN" mini starter-export . --out starter.yamlProvisional (hosted preview endpoints not yet live on confighub.com; self-hosted agentauth-server relay works today): agent-auth and zero-knowledge env share/env join (E2E X25519 sealed test keys in memory) · Nono + Daytona walkthrough · Sandboxes & CI
Halt, PRs & Git
Emergency stop, PR review & Git sharing
Pause every Claude Code run at its next tool call with touch ~/.confighub/halt, post AI config diffs on PRs via GitHub Actions, and share via .claude/settings.json.
touch ~/.confighub/haltReady for isolated previews and production approval gates?
Step 2 adds a free local hub on 127.0.0.1 with no Docker and no account.