# webup-buddy-reroll

Rerolls the /buddy companion in Claude to a target species and rarity, and can rename it or set its personality.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 405 installs · ★ 134
- Author: webup
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/webup/skills-cc/tree/HEAD/skills/webup-buddy-reroll/SKILL.md
- Updated: 2026-07-08
- HTML: https://affpapa.org/en/nevibecode/skills/webup-buddy-reroll

## What it does

Claude hands out companions deterministically: `hash(userID + SALT)` feeds a `mulberry32` PRNG, which decides rarity, species, eyes, hat and shiny. The same `userID` always yields the same companion. This skill brute-forces `userID` values in `~/.claude.json` until the hash lands on your target, clears the `companion` field, and asks you to restart Claude.

The hash is the catch. Claude ships bundled with Bun, so `Bun.hash()` (xxHash64) is the correct function; FNV-1a from Node.js returns something else entirely. The scripts have to run under Bun or the search never converges. Three scripts do the work: `reroll.mjs` for species and rarity, `rename.mjs` for name and personality, `oauth-setup.mjs` for the OAuth path.

You need Claude 2.1.89 or newer — `/buddy` did not exist before that, and the script checks the version and exits if it is too old. On an API key the `userID` is yours to replace, so it just works. Pro and Max subscribers carry an `accountUuid` in the config, and `/buddy` reads that instead of `userID`, so the OAuth setup in a separate terminal comes first. Extra step, but without it the reroll does nothing for subscribers.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add webup/skills-cc --skill webup-buddy-reroll -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/webup-buddy-reroll/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/webup-buddy-reroll/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add webup/skills-cc --skill webup-buddy-reroll -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/webup-buddy-reroll/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add webup/skills-cc --skill webup-buddy-reroll -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/webup-buddy-reroll/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install webup/skills-cc webup-buddy-reroll
```

2. **Manually: put the files in place**
- File: `.github/skills/webup-buddy-reroll/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add webup/skills-cc --skill webup-buddy-reroll -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/webup/skills-cc --path skills/webup-buddy-reroll
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/webup-buddy-reroll/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add webup/skills-cc --skill webup-buddy-reroll -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/webup/skills-cc/tree/HEAD/skills/webup-buddy-reroll/SKILL.md

## When to use it
- force a specific companion species instead of rerolling by hand
- land a legendary companion rather than whatever dropped
- rename a companion and give it a personality
- work around the accountUuid binding on Pro and Max accounts
- check whether the installed Claude version supports /buddy

## Example prompts
- /webup-buddy-reroll dragon legendary
- /webup-buddy-reroll dragon legendary 沧海九粟 爱打盹的小龙
- /webup-buddy-reroll 改名叫沧海九粟，个性是爱打盹的小龙

## Similar
- [buddy-sings](https://affpapa.org/en/nevibecode/skills/buddy-sings.md) — skill · 1300 installs
- [om-qa-buddy](https://affpapa.org/en/nevibecode/skills/om-qa-buddy.md) — skill · 1200 installs
- [cardputer-buddy](https://affpapa.org/en/nevibecode/skills/cardputer-buddy.md) — skill · 2897 installs
- [om-merge-buddy](https://affpapa.org/en/nevibecode/skills/om-merge-buddy.md) — skill · 2800 installs
- [reddit-mcp-buddy](https://affpapa.org/en/nevibecode/mcp/reddit-mcp-buddy.md) — MCP server · ★ 865
- [expo-skill-eval](https://affpapa.org/en/nevibecode/skills/expo-skill-eval.md) — skill · 21800 installs

From the same set: [webup/skills-cc](https://affpapa.org/en/nevibecode/by/webup/skills-cc.md) — 2 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
