Skip to content
KurrentDB

accounts

Terminal window
kcap accounts
kcap accounts add claude|codex <dir> [--skip-codex-network-access]
kcap accounts remove <id|dir>
kcap accounts rename <id|dir> <label>
kcap accounts rewire [<id|dir>]

Records every Claude Code config directory (CLAUDE_CONFIG_DIR) and Codex home (CODEX_HOME) you use, not only the default, and wires kcap’s hooks into each so sessions from it are stored. The bare command lists the accounts and whether each is wired, plus directories found on the machine that are not added yet. remove takes kcap out of the directory and forgets it; the directory and its sign-in are left alone. rewire wires the hooks again into one account, or every account when none is named, after a wiring step failed

The desktop app’s Settings → Accounts does the same: Add account…, and Refresh, Rename, Reconnect and Remove in each account’s menu. It also draws usage bars for each account’s limits