When an Easter Egg Leaks Early
On March 31, 2026 — one day before April Fools — security researcher Chaofan Shou noticed something unusual in version 2.1.88 of the @anthropic-ai/claude-code package on npm.
A 59.8 MB source map file had been published along with the package because it wasn’t filtered out by .npmignore. Inside were more than 512,000 lines of original TypeScript across over 1,900 files — including a mysterious directory called src/buddy/.
Shou’s post racked up more than 16 million views within hours.
And what people found inside src/buddy/ quickly pulled the community’s attention away from the source leak itself and toward a new question: “Wait... there’s a pet in here?!”
What Is Claude Buddy?
Claude Buddy is a Tamagotchi-style virtual pet that lives in your terminal, hidden as Anthropic’s April Fools easter egg for April 1, 2026.
But instead of being a simple joke, it turned out to be a surprisingly sophisticated system — with 18 species, 5 rarity tiers, character stats, accessories, animations, AI-generated personalities, and real-time interaction with users.
One clue that Anthropic planned to launch it on April Fools was the salt string found in the code: friend-2026-401 — where 4/01 points directly to April 1.
How to Activate It
Type /buddy in Claude Code v2.1.89 or later (Pro subscription required).
The first time you use it, you’ll see an ASCII hatching animation — the egg cracks open and your unique buddy appears.
What makes it special is that your buddy is always the same one — species, rarity, stats, and shiny status are all calculated from your user ID using FNV-1a hashing. If it’s the same account, it’s the same buddy every time.
Your buddy’s name and personality are generated by Claude the first time, then saved permanently and never changed again.
18 Species
|
|
|
|
| Duck |
Goose |
Cat |
Rabbit |
| Owl |
Penguin |
Turtle |
Snail |
| Dragon |
Octopus |
Axolotl |
Ghost |
| Robot |
Blob |
Cactus |
Mushroom |
| Chonk |
Capybara |
|
|
Each one has its own ASCII sprite displayed in the terminal, along with small animations.
The Rarity System — From Common to Legendary
| Rarity |
Odds |
Traits |
| Common |
60% |
lower base stats |
| Uncommon |
25% |
improved stats |
| Rare |
10% |
high stats + special hat |
| Epic |
4% |
very high stats + rare accessories |
| Legendary |
1% |
top-tier stats + special effects |
On top of rarity, there’s also Shiny — a separate 1% chance that gives your buddy a rainbow shimmer effect.
That means a Shiny Legendary has odds of 1% × 1% = 1 in 10,000, or 0.01%.
5 Stats — Every Buddy Has Its Own Strengths
Every buddy has 5 stats, each scored from 0–100:
- DEBUGGING — how good it is at helping debug
- PATIENCE — how well it handles waiting
- CHAOS — how chaotic it is, including saying weird things
- WISDOM — intelligence
- SNARK — how often it roasts you
The system randomly assigns 1 stat as a peak (very high) and 1 stat as a dump (very low), with the others distributed in between — giving every buddy a distinct personality.
Higher rarity = a higher stat floor — so a Legendary won’t roll extremely low stats the way a Common can.
In total, there are 7,128 possible combinations.
Available Commands
| Command |
What it does |
/buddy |
Hatch (first time) or show your buddy |
/buddy card |
View the full stat card + ASCII sprite |
/buddy pet |
Pet your buddy (hearts float for 2.5 seconds) |
/buddy mute |
Turn off the speech bubble |
/buddy unmute |
Turn the speech bubble back on |
/buddy off |
Hide your buddy |
| Type your buddy’s name |
Talk directly to your buddy |
When enabled, your buddy watches your conversation with Claude in real time and comments through a speech bubble in the terminal — sometimes encouraging, sometimes teasing, and sometimes saying something completely off-topic (depending on its CHAOS stat).
If you type your buddy’s name directly, Claude will step aside and let the buddy reply in its own personality.
The Leak Wasn’t Just About Buddy
Buddy wasn’t the only thing exposed in the source map.
There was also KAIROS — the codename for “Proactive Mode,” an always-on background agent designed to act without waiting for user prompts. Anthropic had reportedly planned to tease it from April 1–7, with a full launch in May 2026.
Because the entire source code leaked, the fallout spread in multiple directions:
- VentureBeat, TechCrunch, Axios, Engadget, and Futurism all covered it immediately
- Anthropic sent DMCA takedowns to thousands of GitHub repos reposting the leaked code, though the company later said some of those takedowns were “accidental”
- The community built reroll tools that brute-forced the salt string to get the buddy species and rarity they wanted
- People made web galleries showing all 18 buddy species
- There was even a Solana memecoin called $Nebulynx, named after a Shiny Legendary buddy
Why This Matters More Than It Seems
At first glance, Claude Buddy looks like just an April Fools toy. But underneath that, it reveals a few bigger trends.
1. Developer Experience Is Changing
As AI coding tools become something developers use all day, every day, the human feel of the tool starts to matter. Buddy doesn’t improve productivity directly — but it does increase emotional attachment to the product.
2. Anthropic Deeply Understands Its Community
Hiding an easter egg with this much depth — 18 species, 5 rarity tiers, a shiny system, stat allocation — shows that Anthropic isn’t just building an AI tool. They’re building culture around the product.
3. The Source Code Leak Is a DevSecOps Lesson
A 59.8 MB source map slipped out because .npmignore failed to filter it — a very basic mistake that could happen to any team. It’s a reminder that CI/CD pipelines need package verification steps before anything gets published.
4. Proactive AI Agents Are Coming
KAIROS — an always-on background agent — signals that AI won’t just wait for instructions anymore. It will suggest, monitor, and act on its own. That’s the next step after today’s AI coding assistants.
What Did the Community Build?
Within 48 hours of the leak, the community had already created:
- Reroll tools — brute-forcing the salt string to change species and rarity
- Buddy encyclopedias — catalogs of all 18 buddy types and their sprites
- Web galleries — websites displaying every buddy
- Reverse engineering guides — writeups analyzing the FNV-1a hashing and stat allocation algorithm
- $Nebulynx memecoin — a Solana token named after Shiny Legendary Nebulynx
The total of 7,128 possible combinations quickly turned Buddy into a collectible that developers competed to show off.
Conclusion — From Leak to Legend
Claude Buddy may have started as an April Fools joke that surfaced too early, but it turned into a real cultural moment for the developer community in 2026.
It proved that:
- Small playful features can create stronger attachment than major product features
- Even a seemingly minor source code leak can have outsized consequences
- AI tools are becoming “companions,” not just “tools”
Try typing /buddy in Claude Code and see which buddy you get — and don’t forget to give it a /buddy pet.
References
- Claude Buddy: Anthropic April Fools Terminal Tamagotchi — Complete Mechanics Guide
- Claude Buddy: The Complete Guide to Your AI Terminal Pet (DEV Community)
- Leaked Claude Code Shows "Tamagotchi" Feature (Futurism)
- Claude Code Leaked Source: BUDDY, KAIROS & Every Hidden Feature (WaveSpeedAI)
- Anthropic took down thousands of GitHub repos (TechCrunch)
- Claude Code leak suggests "Proactive" mode (Engadget)