VdustR/cc-skill-buddy-reroll
9 stars · Last commit 2026-04-01
Claude Code skill for rerolling /buddy companions to Legendary ★★★★★
README preview
# cc-skill-buddy-reroll A Claude Code skill for rerolling your `/buddy` companion to Legendary (★★★★★). ## How It Works Claude Code's buddy system uses a deterministic PRNG (Mulberry32) seeded by `hash(userId + salt)` to generate companion attributes. This skill finds alternative salt values that produce Legendary rolls for your account, then patches the Claude Code binary with the new salt. ## Usage ``` /buddy-reroll ``` The skill will: 1. **Preflight** — Verify tools (`bun`, `codesign`, `python3`), locate the binary, extract the current salt, and validate the algorithm against your existing buddy 2. **Gacha Roll** — Generate Legendary seeds and present them for selection. Roll again until you find one you like - **Hack Mode** — Alternatively, patch the rarity weights, species array, and/or stat base values directly in the binary. Force Legendary rarity, bias toward a specific species, or boost stats beyond their normal ranges 3. **Apply** — Backup the binary, patch the salt (and hack constants if selected), re-sign with ad-hoc codesign, and clear the companion for re-hatch