Claude Code's /buddy: Meet Your AI Coding Pet
Claude Code now has a virtual pet feature. Type /buddy to adopt one of 18 species across 5 rarity tiers. Here's how it works and how to roll for a Legendary.
Claude Code now has a virtual pet feature. Type /buddy in your terminal and you will get your very own AI companion that lives beside your coding session.
Key Takeaways
- The
/buddycommand in Claude Code assigns you a unique virtual pet generated from your account ID, with 18 possible species across 5 rarity tiers. - Each pet has stats (Debugging, Patience, Chaos, Wisdom, Snark) and will occasionally comment on your work and interact with you during coding sessions.
- Rarity tiers range from Common (60%) to Legendary (1%), plus a separate 1% chance for any pet to be a "Shiny" variant with rainbow animation effects.
- A community-built open source tool lets you re-roll your pet until you get the rarity and species you want.
- Use
/buddy petto interact with your companion mid-session.
What You Get When You Type /buddy
When you first run the command, Claude Code generates a pet based on your account ID. My first roll? A perfectly ordinary duck. Debugging ability: 55. Wisdom: 15. Snark: 9. In short -- not exactly impressive.
But the system is deeper than it first appears. CCLeaks analysis previously surfaced BUDDY as one of 8 unreleased features, and now it is live.
18 Species Across 5 Rarity Tiers
The full pet roster includes 18 species, each with its own personality and visual style:
| Species | Species |
|---|---|
| Duck | Goose |
| Cat | Rabbit |
| Owl | Penguin |
| Turtle | Snail |
| Dragon | Octopus |
| Axolotl | Ghost |
| Robot | Blob |
| Cactus | Mushroom |
| Chonk | Capybara |
Rarity Distribution
| Rarity | Drop Rate | What It Means |
|---|---|---|
| Common | 60% | Most players start here (hello, duck) |
| Uncommon | 25% | Slightly special, still modest |
| Rare | 10% | Noticeably different, bragging rights begin |
| Epic | 4% | Genuinely impressive, conversation starter |
| Legendary | 1% | The unicorn -- respect in every terminal session |
On top of this, every pet has an independent 1% chance of being a Shiny variant, which adds a rainbow iridescent animation effect. A Shiny Legendary? That is a 0.01% chance -- one in ten thousand.
What Your Pet Actually Does
Your buddy appears next to the input prompt in your terminal during normal Claude Code usage. It is not just decorative:
- It reacts to what you are doing with occasional comments and quips
- Stats like Debugging, Patience, Chaos, Wisdom, and Snark influence its personality
- You can interact with it using
/buddy petto give it attention - It persists across your session, keeping you company during long coding stretches
This is the kind of feature that sounds trivial but actually matters for developer experience. Long coding sessions with an AI agent can feel isolating. A small companion with personality makes the terminal feel less like a void.
How to Roll for a Legendary Pet
Not satisfied with your Common duck? Neither was the community.
One developer read through the leaked Claude Code source to understand exactly how the pet generation mechanism works. Then they built an open source tool that lets you re-roll your pet until you get the species and rarity you want.
The result: cc-buddy-roller -- a command-line tool that brute-forces the pet generation algorithm to find account seeds that produce your desired combination.
Installation
curl -fsSL https://github.com/liuxiaopai-ai/cc-buddy-roller/raw/refs/heads/main/install.sh | bash
cc-buddy-roller guide
Source code: github.com/liuxiaopai-ai/cc-buddy-roller
With this tool, you can target a specific species at a specific rarity -- including Legendary pets with the Shiny variant. The screenshots from the community show Legendary Shiny pets appearing right beside the terminal input, complete with iridescent animation effects.
What BUDDY Tells Us About the Platform
This might look like just an Easter egg, but it carries a deeper signal for anyone following the 32 feature flags shaping Claude Code's development.
BUDDY was one of the build-time feature flags discovered in the CCLeaks analysis. The fact that it shipped -- even as a playful feature -- tells us several things:
-
Anthropic ships personality, not just capability. Developer tools that feel human tend to win. VS Code has themes. GitHub has contribution graphs. Claude Code now has pets.
-
The feature flag pipeline works. BUDDY went from a hidden flag to a live feature, which means the other feature flags we analysed (KAIROS, Coordinator Mode, UltraPlan) are on the same pipeline.
-
Community engagement matters. A feature that inspires someone to build an open source re-roller within days of launch is a feature that creates ecosystem energy. That energy is what makes skill marketplaces viable.
Frequently Asked Questions
How do I get a virtual pet in Claude Code?
Type /buddy in your Claude Code terminal. A pet will be generated based on your account ID, with one of 18 species and 5 rarity tiers (Common through Legendary). Each pet has unique stats and personality traits.
What are the 18 pet species in Claude Code?
The 18 species are: Duck, Goose, Cat, Rabbit, Owl, Penguin, Turtle, Snail, Dragon, Octopus, Axolotl, Ghost, Robot, Blob, Cactus, Mushroom, Chonk, and Capybara. The Capybara is a nod to Claude's internal model codename.
What is a Shiny pet in Claude Code?
Every pet has an independent 1% chance of being a Shiny variant, which adds a rainbow iridescent animation effect to the pet sprite. A Shiny Legendary pet has a 0.01% probability -- one in ten thousand accounts.
How do I interact with my Claude Code pet?
Use the /buddy pet command to pet your companion. During normal coding sessions, your buddy will appear beside the input prompt and occasionally react to your work with comments influenced by its personality stats.
Can I change my Claude Code pet?
Your pet is generated from your account ID, so it is deterministic. However, the community-built cc-buddy-roller tool lets you find account seeds that produce your desired species and rarity combination.
Explore production-ready AI skills at aiskill.market/browse or submit your own skill to the marketplace.