Commands
# The projectkeyfit init # register this repository; offers the accounts found on this Mac (--yes: ask nothing)keyfit status # check every account of this project now: always online, refreshes the cache (--offline: local only)keyfit doctor # check the installation: shims, PATH order, real tools, git, registry, Keychainkeyfit which -v # which project this folder belongs to, why, and its accountskeyfit projects # all registered projects
# Agentskeyfit add claude # the Claude login in ~/.claude; for a second login: --new --name globexkeyfit add codex # the Codex login in ~/.codex; another one: --codex-home PATHkeyfit add opencode # the providers signed in in OpenCode's database; another set: --new --name NAMEkeyfit add copilot # Copilot CLI runs as the project's GitHub account; another one: --login LOGINkeyfit add gemini # Gemini CLI's Google sign-in in ~/.gemini; another one: --new; a Gemini API key: --key
# CLIskeyfit add aws --profile acme-dev # add or change one account of this projectkeyfit add github --login octocat # one of the accounts `gh auth status` listskeyfit add vercel # the login the vercel CLI has now, and its team; another login: --new --name NAMEkeyfit add supabase # paste a Supabase token (hidden): checked, stored in the Keychain; or --clikeyfit add cloudflare # the wrangler profile bound to this folder and its Cloudflare accountkeyfit add convex --cli # the login the convex CLI has now, and the team of the folder's deploymentkeyfit add google --email me@acme.com # the project's Google account (work or personal), for every Google toolkeyfit add gcloud # the gcloud configuration signed in as that account, and its projectkeyfit add firebase # the Firebase project the folder uses; the firebase CLI's sign-in there must be that account
# Linear and MCP serverskeyfit add linear # paste a key (hidden): checked with Linear, stored in the Keychainkeyfit add linear --key env:LINEAR_ACME_API_KEY # or a key you keep elsewhere (env:VAR, keychain:service/account)keyfit add google-mcp --server gmail_acme # a Gmail, Drive or Calendar MCP server signed in as that accountkeyfit add mcp 'globex_cloud_*' # these MCP servers belong to this project; every other project stops seeing them
# Anything elsekeyfit run -- terraform plan # run any other command with the project's accounts (checked first)keyfit secret set NAME # store a key from a hidden prompt; prints keychain:keyfit/NAME to usekeyfit secret list # names of the keys Keyfit stored (never the values)--project NAME makes any keyfit add … change another project. Account names (--name) can be shared between projects that use the same login; given another login, a shared name changes for all of them, and keyfit add names the projects it changed. Without --name, a second login never takes the first one’s name: it gets the next free one, such as pro-2. The registry lives in ~/.config/keyfit/registry.toml. It stores where secrets live, never their values; see security.