Claude Code /buddy: How the Pets Worked and Why They're Gone
Claude Code /buddy was a virtual pet that lived in your terminal while you coded, and I hatched mine live on video the day after it shipped.
Claude Code /buddy launched on April 1, 2026 in version 2.1.89 and was removed on April 9 in version 2.1.97. While it lasted, it gave you one of 18 species with a rarity tier, stats and a hat, all generated from your user ID. You can't hatch one in current Claude Code.
Here's exactly how the system worked, what I got, how I forced a shiny legendary dragon, and what I still think it told us about where Anthropic is heading.
How the leak predicted /buddy
The day before this video, Anthropic accidentally published the Claude Code source through a source map file, and I went through all of it in my full leak breakdown. One of the six biggest findings was this buddy system: 18 species, five rarity tiers, shiny variants, stats and hats, set to roll out from April 1 to 7 as a teaser.
A lot of people thought it was an April Fools' joke. Then it went live on April 1 in version 2.1.89, right on schedule, and every detail from the leak was real. That matters because it proved the leak was accurate, including everything else we saw in that code.
What I hatched
I updated Claude Code, typed /buddy (the text goes rainbow as you type it) and hit hatch. You were only supposed to be able to do this once.
I got a rare cactus. Its personality was a desert philosopher who tears into your bugs with surgical precision, then questions whether you should have written the code that way in the first place. It sat in the corner of my terminal, waved its arms when I petted it and waved back when I said hi.
The commands
/buddyhatched your pet the first time and showed it after that/buddy petmade hearts float around it/buddy cardshowed the stat card with the sprite, stats and rarity/buddy mutesilenced its speech bubbles and/buddy unmutebrought them back/buddy offhid it completely
You could also talk to it by name and it replied in character in a speech bubble. Claude Code told you straight up that your buddy wouldn't count towards your usage.
Species, rarity and shiny odds
There were 18 species, including duck, goose, blob, cat, dragon, octopus, owl, penguin, turtle, snail, ghost, axolotl, capybara, chonk and my cactus. Each one had its own art, five lines tall and 12 characters wide, with three animation frames cycling every 500 milliseconds. The capybara was hex encoded in the source, because capybara is also an internal Anthropic model code name.
| Rarity | Chance | Stars |
|---|---|---|
| Common | 60% | 1 |
| Uncommon | 25% | 2 |
| Rare | 10% | 3 |
| Epic | 4% | 4 |
| Legendary | 1% | 5 |
Higher rarity meant higher stat floors, so a legendary was statistically better across the board. On top of that, every buddy had an independent 1% chance of being shiny, whatever its tier, with a rainbow shimmer and sparkles. There were also six eye styles: dot, sparkle, cross, circle, at and degree.
Stats and hats
Five stats ran from 0 to 100, and they shaped how your buddy talked to you, not how Claude Code performed:
- Debugging: how it commented on errors
- Patience: how gentle its reactions were
- Chaos: how random its commentary got
- Wisdom: how deep its observations went
- Snark: how sarcastic it was
The eight hats were none, crown, top hat, propeller, halo, wizard, beanie and tiny duck. Crown, top hat and propeller came in at uncommon, halo and wizard at rare, beanie at epic, and the tiny duck was legendary only. Common buddies never got a hat.
Your buddy would not write code, review code quality or detect real bugs, and it did not use your API tokens. It was a companion, nothing more.
How your pet was generated
Your pet was deterministic. It came from your user ID through an FNV-1a hash and a Mulberry32 random number generator, so the same ID gave the same pet every time. Most people missed this: editing your config file did nothing, because the traits were recalculated every session.
The system split into two parts. The bones (species, rarity, stats, hat and shiny status) were recalculated fresh each session. The soul (name and personality) was written once by the model on first hatch and stored for good. If that step failed, you got one of six fallback names: crumpet, soup, pickle, biscuit, moth or gravy.
How I forced a shiny legendary dragon
The community reverse engineered the hashing in less than 24 hours and built a tool called any-buddy. You picked a species, eyes, rarity, hat, shiny status and your best and worst stats, and it searched for a salt that matched, then patched Claude Code.
I went for a shiny legendary dragon in a tiny duck hat, with debugging as the best stat and chaos as the worst. It expected 172.8 million attempts and found a match in 104 million.
On Windows it first handed me a common or uncommon buddy instead of the dragon. Troubleshooting with Claude Code pointed at the tool expecting Claude to run on Bun when my Windows setup ran on Node. So I fixed it, submitted a PR and published my fork of any-buddy. After that, the legendary dragon showed up.
Why it mattered
A lot of people dismissed this as a meme. I didn't, and I still don't.
Anthropic is known for enterprises and coding. Buddy was a consumer play. Snapchat, Duolingo and Tamagotchi all won with emotional hooks, and here was Anthropic applying that same psychology to a developer tool. People were already asking for trading and evolutions within days, and building on top of it.
My read at the time was that a pet like this could be the first step towards an always-on companion: a persistent AI that remembers you, works while you sleep and has a personality. The pet itself didn't last. The idea behind it is the part to keep watching.
Who this page is for
If you're here because /buddy returns an unknown command, nothing is broken on your machine. The feature is gone from the official client. If you're here to see what it was, the tables above are the full spec as it shipped.
For more on how I use Claude Code, the Claude and Claude Code hub has every breakdown in one place. And if you want the systems I actually run on, not the toys, the AI Operator Kit is the AI operating system behind my $50K-a-month agency.
In this video
- 0:00We Predicted This - Buddy Is Real
- 0:34What Happened (The Leak Recap)
- 1:49Hatching My Buddy LIVE
- 3:43How The Buddy System Works
- 5:17The 18 Species
- 5:54Rarity Tiers + Shiny Variants
- 6:41The 5 Stats Explained
- 7:33The 8 Hats
- 8:35Is It Permanent?
- 10:23Buddy Checker (See Yours Before Hatching)
- 11:38Pick ANY Buddy (any-buddy Tool)
- 14:08The Legendary Dragon
- 16:13Why This Actually Matters
- 18:18Free Resource + Stride AI Academy
Full video transcript
3,754 words
In yesterday's video, I told you how Anthropic is hiding virtual pets inside of Claude Code. And last night, they actually shipped this feature. And every single detail from the leak was real. So, no, it was not an April Fool's joke. 18 species rarity tiers, shiny variants. I haven't hatched mine yet. I'm doing it live right now for you. And then I'm going to show you how you, if you want, can pick literally anybody that you want, even the shiny legendary, which
Is a 1% chance pick. Now, quick recap for anyone who didn't see my video yesterday or who doesn't know about this whole leak. Well, yesterday, Anthropic accidentally leaked their entire Claude Code source code through a source map file. Now, Enthropic officially responded via The Verge, saying this was a release packaging issue caused by a human error, not a security breach. We're rolling out measures to prevent this from happening again. So, they're blaming it on the humans, not their AI models. And
We did a full deep dive uh going through this entire thing. So, if you want to check that out, go check out yesterday's video. Now, in that video, we broke down the six biggest findings that we found from this actual source code. And one of those big findings was, of course, this buddy system. The code showed, like I said, 18 species, five rarity tiers, shiny variants, stats, hats. It's literally like Pokémon Go or Tamagotchis literally for AI code. And it was
All set to deploy for April 1st to 7 as a teaser and permanent after that. And last night, April 1st, it went live in Cloud Code version 2.1.89, exactly on schedule. So, let's go ahead and hatch mine. And the only other response they really gave is just a bunch of DMC takedowns, whether it be GitHub repos or Versell apps, whatever the case is. It seems like they're kicking and screaming going through this whole process. Now, the one thing Boris did say,
Who is the creator of Claude Code, he said, "Mistakes happen. As a team, the important thing is to recognize it's never an individual's fault. It's the process, the culture, or the infra. In this case, there was a manual deploy that should have been better automated. Our team has made a few improvements to the automation for next time. A couple more on the way. It's a pretty good response from Boris. He's not blaming anyone and he's kind of taking accountability and some
People are like, you know, great leader, great teammate right there. Okay, to start off, we're going to actually have to update our claude code. So, we're going to go ahead and run this command right here. So, this mpx atthropic latest. Okay. And boom. I'm going to go ahead and trust this file. And now we can see that we have this little buddy slash command right here. So, we're going to go ahead and hatch our buddy. And as you can see, as
We type buddy, we got this nice rainbow text here. And this is live. You can You're supposed to only be able to hatch this once. So, let's see what we get. Hatching. Hatching. Hatching. coding a buddy and I got a Gristol. So, this is a rare cactus. Okay, a cactus desert philosopher who tears into your bugs with surgical precision before immediately questioning whether you should have written it that way in the first place. So, we can see its stats. We have
Debugging, patience, chaos, we have wisdom, snark, literally all the different stats that we went over in the leak yesterday. And we can see Gristle is here. It'll chime in as you code. Your buddy won't count towards your usage. Say its name to get its take for/buddy pet/buddy off. We're going to dive into actually how to use this now. Now, here's a few things most people don't know about the whole buddy system. So, let's go over how it's actually generated and how
It actually works. So, your pet is deterministic. So, it's generated from your user ID. So, it's an FNV-1A hash plus Mulberry 32P RNG and it's seated with your user ID plus friend 2026-41. Now, you can't roll, you can't cheat. The anti-cheat system recalculates every session. So, the same user ID equals the same pet every time. and it's essentially your virtual pet companion system baked into Claw Code like Pokémon Go or Tamagotchis in your terminal. So, a few things to note. It
Has a personality which they call a companion soul. Uh, and Claw generates a unique name and personality description on First Hatch, often referencing your past interactions. There's six eye variations. So, there's dot, sparkle, cross, circle, at, and degree. and a few of the actual slash commands to use it. So slashbuddy is your hatch for your buddy for the first time or to show your buddy. And then there's pets. So this pets your buddy. So this is floating heart animation. There's card.
So this will view your stat card with asci sprite stats and rarity. And then there's mute. So this silence speech bubbles. Uh unmute. So restore the speech bubbles off to just basically hide your buddy entirely. So you can talk to your buddy by name and it replies in the speech bubble. So type buddy pet to make hearts float around it. And if you address your buddy, it will respond in character. Now like I mentioned, there's 18 different species. So there's duck,
Goose, blob, cat, dragon, octopus, owl, penguin, turtle, snail, ghost. Uh you really get the whole picture. Each species has a unique art. Five lines tall, 12 character wide, three animation frames that cycle every 500 milliseconds. And the capi bear species is hex encoded in the source code because capibera is also an internal anthropic model code name. So there's different rarity levels like I mentioned. You have common which gives you a 60% chance which is one star. Uncommon 25% chance of getting
It two stars. Rare 10% chance of getting it three stars. As you can see my cactus right here crystal is rare. And then we have epic which is 4% chance four stars. And legendary 1% chance five stars. So higher rarity means higher stat floors. Legendary buddies are statistically superior across the board. Though the stats are purely just cosmetic right now. There really is no functionality. Now there is also shiny variants. So everybody has an independent 1% chance of being shiny regardless
Of the rarity tier. Shiny variants have a rainbow color shimmer animation and sparkling effects. So unfortunately mine is not shiny. Now there are five different stats. So all stats are on a 0 to 100 scale. We have debugging. So this is code issue detection capability. This affects how your buddy comments on errors. We have patience. So feedback gentleness level affects tone of your buddy's reaction. We have chaos. So response unpredictability affects randomness of buddy commentary. We have wisdom. So this is
The technical insight depth. This affects how profound buddy observations are. And then snark. So commentary sharpness. This affects how sarcastic or witty buddy is. Now, like I said before, please note these stats currently at least are cosmetic only. They don't actually affect how your buddy talks to you. They do affect how your buddy talks to you, but they don't affect Claude Code's coding performance in any way. Next are the eight different hats that your buddy can wear. So, there is none,
Which is common by default. Then you have crown. So it's uncommon and above. Top hat uncommon. Propeller uncommon. Halo. This is rare. And then wizard rare. Beanie epic. And then tiny duck is legendary only. So hats render the top line of the sprite frame. Now common buddies never receive hats. Like I said, your buddy is generated in a very specific way based on your user ID. Editing your config file will not work because traits are recalculated from your user ID every
Session. So the bones which are species, rarity, stats, hat, shiny status, those are deterministic and recalculated fresh each session. The soul which is the name and personality is generated once by the LLM on first hatch and stored permanently. Now if the LLM fails during name generation, one of the six fallback names is used, which is crumpet, soup, pickle, biscuit, moth, or gravy. Now, you may be wondering, is this buddy thing permanent? Because we saw in which I covered in yesterday's video,
The buddy roll out was set between April 1st to 7th, and we didn't really know if it was going to be permanent. But now, it seems that after April 8th, we're still going to see these buddies. So, as of now, there is really no sign that these will be depreciated. So, this whole shipping of the Buddy right on schedule does somewhat basically confirm. I mean, it does confirm, we already know this is true, that this whole leak was actually accurate. I
Know a lot of people were speculating, hey, is this an April Fool's joke? Just because it's such a almost embarrassing leak and such a rookie mistake that a junior developer would make. But, yes, this is accurate and yes, this is just right on schedule. So that means all the other stuff that we saw which like I said covered in yesterday's video if you haven't already seen with some of the different models that are coming etc. we can know that we need
To start preparing for that for when these actually come these new releases. So a few things that your buddy will not do. It won't write code. It won't review code quality. It won't detect real bugs and it does not consume your API tokens. Okay so let's go ahead. As we can see Gristol over here on the right side and unfurl spinny arms to specifically. Okay. Okay. So, let's go ahead and test our buddy. So, buddy, and we're going to go ahead
And just give him a nice pet to start off our, you know, relationship. So, now we're petting Bristol, right? He's very happy. As you can see, he's waving his arms in the air. Now, if we want to check our buddy card, we can simply just do buddy card. Boom. Now, we have our card again. I'm going to say, "Hi, Crystal." Oh, he's waving back at us. Now, you can also mute him, unmute him, or hide him completely. I'm not going to
Do that because we want him to stay here right now with us. Now, if you haven't hatched your buddy yet, you can actually check out what you're going to get before you type buddy. And I mean, this kind of does ruin the surprise, but if you do want to check, uh, you can actually go to this buddy checker right here. And once again guys, this document as well as all the documents that we cover on this channel for free resources will
Of course be available in our Stride AI Academy where you can also network with myself as well as other like-minded AI entrepreneurs, enthusiasts, business owners, etc. So this right here is the Claude Code Buddy Checker. Let's go ahead and open this right here. And as you can see, this is how you can check your buddy. So you can see here there's a couple different options for checking your buddy beforehand. So there's option one where you could ask cloud code what's my
Account UYU ID and it may be able to tell you it may actually encounter an issue like you can see here I first initially asked and it said I don't have this account information for you could you clarify what you know this is and then I simply just pasted in this whole thing and then it was able to do it but you can see here there's also some terminal commands or you could just open it manually and search yourself right and
Then you can see here it actually found my account UU ID right here so then I simply just took that pasted it right here checked the uh buddy and you can see this is our cactus right here. Um eyes right here, hat none debugging. You can see all the stats right here. So pretty cool checker right here. But here's where things get crazy. What if you don't like your buddy? What if you don't like what you got? So the community reverse
Engineered the hashing algorithm in less than 24 hours. There's a tool called any-body. So it's npx any-body at latest. And we're going to go ahead and try it out right now. Hey, so this is the repo. If you need help using it, just ask cloud code. But it's very simple. You just simply run this command, mpx any-body, and then go ahead and run it. You're going to go ahead and click yes. And then it's going to pop up this. So, Windows
Support is experimental, so you must close all code windows before patching. If you encounter issues, report them here. And then here we can see our current default pet, which is cactus. And we can see its eyes. It has the hat. Right now, I got a propeller. It's not shiny. And you can see all the different stats. So now we can go ahead and choose our pet. And then we're going to go ahead and select dragon right here. And then I can
Go ahead and select which eyes I want. Let's say I just want these eyes. And then we can select our rarity. We're going to go ahead and go for legendary. And then we can select our hat. I'm going to go with tiny duck hat. And then we're going to go ahead and make it shiny. You can choose if you want to customize the stats. So best or worst stats. Uh search takes 20% longer. Sure. Let's go for it. So, best stat,
Let's go with debugging. Worst stat, maybe chaos. And your selection is dragon. This stat, do you want to actually apply? You want to find a matching salt and apply. I'm going to go ahead and click on yes. And we can see it is searching right here and attempting. We can see here it expects 172.8 million expected attempts. Um, right now we're at 27% and expected time is 2.1 minutes. Okay. And boom, we found in 104 million attempts and your new pet
Is a dragon. Uh, Claude Code is currently running. The patch is safe. Use atomic rename. The running process keeps using the old binary and memory, but the change won't take effect until you restart Claude Code. So, patch binary and then you'll need to restart Claude Code. Yeah, sure. Install auto patch hook. Yeah, sure. Hook installed. So, rename your companion. Let's say I want to go with Stridey. current personality is a costic desert philosopher who tears into your bugs with surgical precision
Before immediately questioning whether you should have written it that way in the first place. So I'll just go ahead and keep it. Actually, you know what? We'll do the dragon default. So a fierce guardian of clean code who breathes fire at and boom. Quit all code cloud code sessions and relaunch to see your new pet. And we can actually already see his name already changed to Stridey right here. Now I'm going to launch Cloud Code right here. Okay. And boom. Here
We have our legendary dragon. So, I actually had to redo it a couple times. As you see, this one I didn't actually add a custom name, but I could go back and do so if I want. This one's named Jolster. Same description, but you can see this is a legendary uh buddy right here. And you can see that if I go over here, we're doing some claw coding right this very second. And Joel is just chilling over here in the corner
With his eyes uh being a dragon, being legendary. You get the point. Now, if you're wondering what I'm actually doing right here right now, is I was actually encountering some issues with this. Uh, now from Claude Code, at least the troubleshooting I was doing, it's saying it may be a Windows issue because anybody the repo expects that Claude is running on bun, but with Windows, how I have it set up, it's running on node. So, basically what we're doing here is
I'm going to give you two things. One, a fork version of the repo. Uh we're also submitting a PR so maybe they can update this but a forked version of the repo that should mitigate this or you know fix this. So I'll give you access to that so you can use that forked version. Um but also too if you are going to use the non-forked version I'll give you a prompt that you can give your clawed code to fix it if
You do encounter an issue. You may not encounter an issue but I personally was. Basically what was happening was it was giving me a different buddy but it was like a common or uncommon buddy. It wasn't giving me the dragon. So this way as you can see now we actually got the dragon. Okay. So I just submitted a PR right here. If you're using the fork you can run npm install-g joshpok/ anybody. And then here is the prompt if you are
Using the main anybody that you can give to your cloud code to uh fix this if you're on Windows. And if you do encounter any other issues that it I didn't encounter, for example, any bugs, just ask cloud code to fix it. You basically have a genius in your pocket. So make sure you're maximizing its capabilities and, you know, using it when you should be. So all in all, guys, you know, this is really just like a tomagotchi for your AI
Coding. And a lot of people are just dismissing this as a meme, but think about what this actually means. I mean, Anthropic is already thinking about emotional engagement, not just utility. You know, we know Anthropic for working with enterprises and being all about coding, which, you know, they still are, but this is kind of tailored more for like consumers. Something kind of like how OpenAI has the consumer market, Anthropic has the enterprises. Well, now we're starting to see this the lines
Blur a little with this huge surge in popularity with Claude Code. And think about this. This is the first step towards an always on companion. You know, we found in the Chyros code, right? So, who knows? Maybe this pet could end up being Chyros or Chyros plus Dream plus buddy, you know, allin-one team, a persistent AI that remembers you, uh, works while you sleep and has a personality. And if you don't know about Chyros, like I said, check out my video
Yesterday. Every consumer app that succeeded long term, whether it be Snapchat, you know, Duolingo, Tamagotchi, whatever, they all have emotional hooks to get these consumers. All right, so this is a consumer emotional play. This isn't for enterprises, right? If they were just focused on enterprises, then they wouldn't be doing these this Buddy system, right? So, Enthropic is applying consumer psychology to a developer tool. And Buddy is really just a Trojan horse. It's a cute pet, but the strategy behind it is
Very serious. People are already going crazy for Buddy on Twitter, etc. People are requesting to, you know, be able to trade buddies or have evolutions like Pokémon, you know, different evolution types. So, you know, you can see how this could really turn into something much bigger. And people are already building on top of it like you saw with Anybody and all these different things. Like here's another repo I found. It's a buddy reroll. I haven't personally tried this one, but you
Know, people are already doing things like being able to roll and all these different things. So, it's really cool. I'll leave this as well in the document. So, once again guys, if you missed the original leak deep dive video where we called this exact same feature yesterday, go watch this video. Link will be in the description. Everything I covered, the link for that video, the prompts, the resources, the repos, all that stuff will be in this document, which of course you
Can find in our StrideAI Academy. Drop a comment down below. What did you get in your first try? What you know was your buddy that hatched. I actually am curious if anyone does get a shiny legendary without anybody. Uh, let me know down below. And once again, make sure to join the Stride AI Academy for 100% for free down below to get access to this free resource as well as all the resources I've done on this channel and the ones I
Will do on this channel because guess what guys, we're going to be going very, very hard on content. And I got a lot of really cool, great, valuable stuff planned for you guys. I'm excited to share it with you guys. For those of you who are new to this channel, we upload videos on cloud code, AI, business growth, etc. So, you like that type of content, got some value here, make sure to like the video, comment down below your thoughts, and
Subscribe to stay up to date with the videos. If you've been a subscriber to this channel for a while, I really, really appreciate you. We haven't been as active lately, but now we're going into overdrive. So, I got a lot of cool stuff I've been working on at my AI company, doing claude code, building some really cool stuff that I'm definitely excited to share with you guys. So, stay tuned for that. Other than that, guys, I hope you have a great
Day. Keep hustling, keep grinding, and of course, guys, accelerate your stride. Take care.