Claude Code's /buddy command hatches a companion pet that lives beside your input box. Each pet has a species, rarity, eyes, hat, personality, and five stats (Debugging, Patience, Chaos, Wisdom, Snark). It's a small easter egg that adds character to your terminal sessions.
The catch: your buddy is deterministically assigned based on your account ID and a fixed salt string baked into the binary. There's no official way to reroll or swap — you get what you get.
This tool lets you preview every possible buddy for your account and choose one you actually like. It works by finding a replacement salt that produces your desired pet, then patching the single string in the Claude Code binary. No logic is changed — only the 15-character seed that determines your pet's traits.
Run the command at the top of this page and paste the result into the User ID field.
Click any card above — patch command appears at the bottom — click the copy icon.
Creates a backup (.buddy-bak), replaces the salt, re-signs on macOS.
Copy the rename command. Replace NEW_NAME with your preferred name.
Close and reopen to see your new companion.
Or reinstall: npm install -g @anthropic-ai/claude-code