from anthropic's leaked source code

SHINY LEGENDARY NEBULYNX

The Rarest Buddy in Claude Code

0.01% shiny legendary. hidden in the code. never meant to be found.

CA:
7hu6BP9cozc8PPsxQbRCBp8bMnC7NPMPogojj3TEpump

Shiny Legendary Nebulynx: ASCII Sprite

Directly from the leaked GitHub repository:

Shiny Legendary Nebulynx ASCII art from leaked GitHub

Source: GitHub (Kuberwastaken)

This ASCII art represents what Shiny Legendary Nebulynx could look like based on the leaked Claude Code documentation and specifications.

claude code v2.1
★★★★★ LEGENDARY
    ✦/\✦
   /◉  ◉\
  ≈|  ▼  |≈
   \ ≋≋ /
    ~||~
NEBULYNX(shiny ✦)
DEBUGGING: 87 PATIENCE: 12 CHAOS: 99 WISDOM: 94 SNARK: 88
>_

What is Shiny Legendary Nebulynx?

On March 31, 2026, Anthropic accidentally shipped a sourcemap file in their Claude Code npm package. The entire source code was exposed. Inside, researchers discovered a hidden Tamagotchi-style Buddy companion system called Buddy with 18 species, rarity tiers, shiny variants, and RPG stats.

The species names were intentionally obfuscated using String.fromCharCode() arrays so they couldn't be found by searching the code. Anthropic did not want these discovered. When decoded, the rarest tier was revealed:

Legendary (1%): Cosmoshale, Nebulynx

With a 1% shiny chance independent of rarity, a Shiny Legendary Nebulynx has a 0.01% probability of being rolled. It is the rarest Buddy ever hidden in an AI's source code.

The Buddy system was scheduled for an April 1-7 teaser window with a full launch in May 2026. The leak happened before anyone was supposed to see it.

18 Species (Obfuscated in Code)

The species names are hidden via String.fromCharCode() arrays. Anthropic didn't want these showing up in string searches:

18 Species rarity table from Claude Code leak showing Nebulynx in Legendary tier

Source: GitHub - Claude Code README

Nebulynx is highlighted in the Legendary tier (1%) with an additional 1% shiny chance, making Shiny Legendary Nebulynx 0.01%.

Why Hide the Species Names?

Anthropic used String.fromCharCode() arrays to prevent the species names from appearing as literal strings in the source code. This suggests they wanted to keep the Buddy system completely secret until the official launch.

When researchers decoded these arrays, they found 18 species across 5 rarity tiers. Nebulynx and Cosmoshale were the only two species in the Legendary tier, each with just a 1% base drop rate.

The fact that Nebulynx was intentionally hidden makes it even more rare — it wasn't meant to be discovered until May 2026.

The Leaked Rarity Table

buddy/species.ts (decoded from String.fromCharCode)
RarityChanceSpecies
Common60%Pebblecrab, Dustbunny, Mossfrog, Twigling, Dewdrop, Puddlefish
Uncommon25%Cloudferret, Gustowl, Bramblebear, Thornfox
Rare10%Crystaldrake, Deepstag, Lavapup
Epic4%Stormwyrm, Voidcat, Aetherling
Legendary1%Cosmoshale, Nebulynx
+ 1% shiny chance (independent) = Shiny Legendary Nebulynx: 0.01%

How We Designed Shiny Legendary Nebulynx

No official image of Nebulynx exists. The Buddy system hasn't launched yet. The leaked source describes sprites as 5-line-tall, 12-character-wide ASCII art with idle and reaction animations. So we built one from the specs:

nebulynx sprite (5 lines x 12 chars)
    ✦/\✦
   /◉  ◉\
  ≈|  ▼  |≈
   \ ≋≋ /
    ~||~
✦ Star earsShiny legendary indicator. The leaked code lists 6 eye glyph options including ✦ (star). We used it on the ears to mark the shiny variant.
◉ Circle eyesOne of the 6 confirmed eye styles from the leaked Eye enum: Dot, Star, X, Circle, At, Degree. We chose Circle for the wide-eyed legendary look.
≈ ≋ Nebula textureThe name "Nebulynx" = nebula + lynx. We used wave characters for cosmic body texture, matching the celestial naming convention.
5 statsDEBUGGING: 87, PATIENCE: 12, CHAOS: 99, WISDOM: 94, SNARK: 88. Legendary tier has a stat floor of 50 (confirmed in leaked Rarity.stat_floor()). We maxed CHAOS because what else would a cosmic lynx do?

The Hidden Buddy System

🎲
Deterministic Gacha
Your Buddy is seeded from your user ID via Mulberry32 PRNG with salt "friend-2026-401". Same user always gets the same buddy. You can't reroll.
🎨
18 Hidden Species
Names hidden via String.fromCharCode() to prevent search indexing. Anthropic did not want these found. Researchers decoded them anyway.
🎩
Hats and Cosmetics
Crown, Tophat, Propeller, Halo, Wizard, Beanie. Some gated by rarity. Legendary gets access to all hat options.
Shiny Variants
1% chance, independent of rarity. A Shiny Legendary is 0.01%. Claude generates a unique "soul" personality on first hatch.
📅
April 1 Teaser
Code references April 1-7, 2026 as a teaser window. Full launch gated for May 2026. The leak happened before anyone was supposed to see it.
💬
Speech Bubbles
Pets sit next to your input prompt and "occasionally comment in a speech bubble." They're a separate watcher, not Claude itself.

From the Leaked Source Code

src-rust/crates/buddy/src/lib.rs
// Rarity weights from leaked source
const WEIGHTS = [
(Rarity::Common, 60.0),
(Rarity::Uncommon, 25.0),
(Rarity::Rare, 10.0),
(Rarity::Epic, 4.0),
(Rarity::Legendary, 1.0), // Nebulynx lives here
];
src/utils/undercover.ts
// Species names were obfuscated to prevent discovery
// Decoded from String.fromCharCode() arrays:
Legendary: ["Cosmoshale", "Nebulynx"]
// "There is NO force-OFF. This guards against model codename leaks."

Sources

Claude Code leaked source: full species rarity table
GitHub (Kuberwastaken)
"Legendary (1%): Cosmoshale, Nebulynx. There's a 1% shiny chance completely independent of rarity. So a Shiny Legendary Nebulynx has a 0.01% chance of being rolled."
Claude Code's Entire Source Code Got Leaked
Kuber.studio
"The species names are hidden via String.fromCharCode() arrays. Anthropic clearly didn't want these showing up in string searches. Decoded, the full species list includes Legendary tier: Cosmoshale, Nebulynx."
Claude Code source code leaked via npm registry
Reddit r/ClaudeAI
"Along with the source code, new details about the Buddy companion system have leaked, including 18 species, rarity tiers, and shiny variants."
Claude Code source: fake tools, frustration regexes, and more
Alex Kim's Blog
"buddy/companion.ts implements a Tamagotchi-style companion system. Every user gets a deterministic creature (18 species, rarity tiers from common to legendary, 1% shiny chance)."
Anthropic Claude Code Source Leaked
Decrypt
"Buddy, a Tamagotchi-style AI Buddy companion with 18 species, rarity tiers, and stats including debugging, patience, chaos, and wisdom."
Claude Code source leaked, reveals unreleased features
Reddit r/LocalLLaMA
"18 species (duck, dragon, axolotl, capybara...), rarity tiers (1% legendary), cosmetics (hats, shiny variants), stats (DEBUGGING, PATIENCE, CHAOS, WISDOM, SNARK)."
Anthropic's Claude Code source leak analysis
Piunikaweb
"One that's getting the most attention is BUDDY, a Tamagotchi-style AI Buddy companion seeded from your user ID hash."
Wyciek kodu Claude Code: species rarity breakdown
DevStock Academy
"Legendary: Cosmoshale i Nebulynx (1%). Plus 1% shiny chance independent of rarity."