ConfigHub · Durable config for coding agents
Docs / docs/try-confighub-mini.md Source on GitHub →

A first run of confighub mini

This page is for someone trying the local hub for the first time, on their own machine. A hub is a ConfigHub server and database that stores your app's settings, the reason for each value, and who approved each change. The local hub (confighub mini) is ConfigHub made small enough to run on one machine, with no Docker, no cluster and no account. You install it, try one short story, put your agents' record into the hub if you have one, and tell us how it went.

The words on this page are explained in the glossary.

Install it

In a terminal, run bin/confighub mini get from the Claude plugin, or follow the install steps up to and including cub space list. In Claude Code, /confighub:staging, typed in an app's folder, installs and starts the hub too, and also gives that app a staging and a production copy of its settings. To type cub yourself, put the package's folder first on your path: export PATH="$HOME/.confighub/mini/confighub-mini-VERSION-OS-ARCH/bin:$PATH".

Try one story

Each walkthrough shows every command and what it prints, and removes what it made at the end:

The package's START-HERE.txt lists more stories, and its ./verify checks, on your machine, the size and speed claimed for the local hub.

Put your agents' record into the hub

If you have used the Claude plugin in a repository, its record of what agents changed can go into the hub. Each recorded change becomes a revision, with the request or reason behind it. If you typed /confighub:staging in the repository, it is there already.

  1. Go to the repository, and see what would be written, without writing it:
    cub local copy --from-record --dry-run

    In the repository from the five-minute try, it printed:

    .env, as try-confighub-env:
      would make try-confighub-env-base, the file as it was before the first recorded change, and try-confighub-env-local
      would set CACHE off → on: Asked: Turn the cache on in .env for next week's sale. Don't commit. (agent session e7a0a61a, 27 October 2026 14:31)
      would set CACHE on → off: Asked: We're chasing a memory leak: turn the cache off and set debug logging. Don't commit. (agent session f3e8ff28, 27 October 2026 14:32)
      would set LOG_LEVEL warn → debug: Asked: We're chasing a memory leak: turn the cache off and set debug logging. Don't commit. (agent session f3e8ff28, 27 October 2026 14:32)
  2. Write it:
    cub local copy --from-record

    Each file becomes a Component. Its base is the file as it was before the first recorded change, and each recorded change is a revision of its local copy. Running it again writes only what was recorded since.

Remove it

This removes the hub and its data:

cub local uninstall --delete-data

What to send back