kcchien

Buddy Gacha β€” Development skill for Claude Code

Development community

Reverse-engineered Claude Code /buddy pet system.

How to install Buddy Gacha

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

What Buddy Gacha does

Reverse-engineered Claude Code /buddy pet system. Brute-force the gacha until you get your Legendary Shiny Capybara. 🎰

Alternatives in Development

  • Master Routing β€” reverse-skill PRIMARY εΏ«θ·―εΎ„ 29.6k β˜…
  • Desloppify β€” Agent harness to make your slop code well-engineered and beautiful 3k β˜…
  • Claude Desktop Buddy β€” Reference and an example for the Bluetooth API for makers in Claude Cowork & Claude Code Desktop 2.5k β˜…

README

buddy-gacha

Reverse-engineered the Claude Code /buddy pet system.
Brute-force the multiverse until you find the one where you got a Legendary Shiny Capybara.

Bun License: MIT Claude Code PRs Welcome

Because your CLI companion deserves to be legendary.

繁體中文 Β· English


What is this?

Claude Code `2.1.89` shipped a `/buddy` command on April 1, 2026 β€” a virtual pet that lives beside your terminal input. Cute ASCII art, five stats, 18 species, rarity tiers from Common to Legendary.

The catch? **Your pet is deterministically generated from your user ID.** Same user, same pet, forever. No rerolls. No gacha. No mercy.

Unless you understand the algorithm.

**buddy-gacha** reverse-engineers the companion generation pipeline β€” hash function, PRNG, attribute rolls β€” and lets you brute-force search across millions of candidate user IDs to find exactly the pet you want. Then it surgically edits your config to make it yours.

How It Works

The companion system uses a two-layer architecture:

                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                    β”‚            ~/.claude.json                β”‚
                    β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
  BONES            β”‚  userID ─┬─ + SALT("friend-2026-401")