webup-buddy-reroll

Installation
SKILL.md

Buddy Reroll

Brute-force a new /buddy companion by finding a userID that hashes to the desired species and rarity.

How It Works

Claude Code generates companions deterministically: hash(userID + SALT)mulberry32 PRNG → rarity, species, eyes, hat, shiny. Same userID = same companion, always.

To reroll: replace userID in ~/.claude.json, clear companion field, restart.

Critical: Claude Code is Bun-bundled, so Bun.hash() (xxHash64) is the correct hash function. Node.js FNV-1a produces wrong results — the script MUST run under Bun.

Script Directory

Important: All scripts are located in the scripts/ subdirectory of this skill.

Agent Execution Instructions:

  1. Determine this SKILL.md file's directory path as SKILL_DIR
  2. Script path = ${SKILL_DIR}/scripts/<script-name>.mjs
Related skills
Installs
135
Repository
webup/skills-cc
GitHub Stars
37
First Seen
Apr 1, 2026