Usage

Ten commands, most of which you will never need because the menu covers them.

The two you will actually type

$ yoink$ yoink <name>

Bare yoink opens the interactive menu. yoink <name> skips it and switches straight to a saved profile: any argument that is not a known command is treated as a profile name.

Managing profiles

$ yoink add$ yoink save ci-account$ yoink edit work$ yoink rename work humain$ yoink remove old-account

add runs a fresh Claude sign-in or registers an external provider. save snapshots whatever login is currently live under a name you choose. edit renames a Claude profile, or changes any field of an external one (name, provider, base URL, API key, model). remove deletes the snapshot only, never your live login.

Inspecting state

$ yoink list$ yoink current

list prints every profile with its account label; the active one is marked. current prints just the active profile. Profiles live in ~/.config/yoink/profiles.json at chmod 600.

A refreshed token is never lost

Claude Code refreshes its OAuth token silently while you work. Every switch re-snapshots the live Keychain entry into the active profile before writing the target one, so the profile store always holds the newest token for each account. If a Claude Code session is running during a switch, yoink warns you first: a live session can overwrite the token on its next refresh.