Claude Code Secrets banner
AKCodez AKCodez

Claude Code Secrets

AI community

Description

Every hidden feature, internal codename, and secret found in Claude Code's source code. 120+ commands, 60+ feature flags, 900+ telemetry events, and an AI that dreams.

Installation

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

README

Claude Code Secrets

Every hidden feature, internal codename, slash command, keyboard shortcut, environment variable, and feature flag found in the Claude Code source code.

**The source code ships with the npm package. They just didn't expect anyone to actually read all of it.**


The 10 Craziest Things Buried in the Source Code

1. There's a Full Tamagotchi Pet System

Claude Code has an entire virtual pet companion hidden behind the `BUDDY` feature flag.

  • 18 species: Pebblecrab, Dustbunny, Mossfrog, Twigling, Dewdrop, Puddlefish, Cloudferret, Gustowl, Bramblebear, Thornfox, Crystaldrake, Deepstag, Lavapup, Stormwyrm, Voidcat, Aetherling, Cosmoshale, Nebulynx
  • Rarity tiers: Common (60%) > Uncommon (25%) > Rare (10%) > Epic (4%) > Legendary (1%)
  • 1% shiny variant (independent of rarity)
  • 5 procedural stats: DEBUGGING, PATIENCE, CHAOS, WISDOM, SNARK (0-100 each)
  • Claude writes a unique AI-generated "soul" personality for each pet at first hatch
  • Uses Mulberry32 PRNG for deterministic per-user species generation

2. Claude Literally Dreams While You Sleep

A system called **autoDream** runs a background subagent that consolidates your memory files when you're idle.

  • Three-gate trigger: 24 hours since last dream + at least 5 sessions + must acquire a consolidation lock
  • Four phases: Orient → Gather Recent Signal → Consolidate → Prune and Index
  • The prompt literally says: "You are performing a dream"
  • Keeps your MEMORY.md under 200 lines and ~25KB
  • The dream subagent gets read-only bash access
  • GrowthBook gate: tengu_onyx_plover

3. ULTRAPLAN — 30-Minute Cloud Thinking Sessions

Offloads complex planning to a remote Cloud Container Runtime (CCR) session running **Opus 4.6** for up to **30 minutes**.

  • Browser-based approval UI for watching and approving the plan in real-time
  • 3-second polling for results
  • Teleports the result back to your terminal via a sentinel called __ULTRAPLAN_TELEPORT_LOCAL__