Claude Code Buddy Reroll banner
ithiria894 ithiria894

Claude Code Buddy Reroll

Development community

Description

Reroll your Claude Code /buddy companion — brute-force for any species + rarity, with accountUuid trap fix for Team/Pro users

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Reroll Your Claude Code Buddy

![Before and After](images/preview.png)

Unhappy with your Claude Code companion? This guide explains exactly how the buddy system works under the hood and how to reroll for the species + rarity you actually want.

**Tip:** Clone this repo, then copy this entire README and paste it into your Claude Code session. Claude will read it, explain how it works, and do everything for you.

git clone https://github.com/ithiria894/claude-code-buddy-reroll.git
cd claude-code-buddy-reroll

Tested on Claude Code v2.1.89, April 2026. The buddy system was introduced as part of the `/buddy` command.

Table of Contents


How the Buddy System Works

Your buddy is **not random**. It's deterministically generated from your user identity using a seeded PRNG. Same identity = same buddy, every time.

The Algorithm

identity + "friend-2026-401"  →  FNV-1a hash  →  Mulberry32 PRNG seed
                                                        │
                                              ┌─────────┼─────────────┐
                                              ▼         ▼             ▼
                                           rarity    species    eye/hat/stats
  1. **Identity resolution** (`companionUserId()`):

    oauthAccount.accountUuid  ??  userID  ??  "anon"

    If you're logged in with OAuth, `accountUuid` takes priority. `userID` is only used as a fallback.

  2. **Hashing**: The identity string + salt `"friend-2026-401"` is hashed with FNV-1a (32-bit).

  3. **PRNG**: The hash seeds a Mulberry32 generator, which produces deterministic random numbers.

  4. **Rolling**: The PRNG is consu