Claude Code Secrets — AI skill for Claude Code
Every hidden feature, internal codename, and secret found in Claude Code's source code.
How to install Claude Code Secrets
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open AKCodez/claude-code-secrets and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Code Secrets does
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.
Alternatives in AI
- Internal Safety Collapse — We built an adversarial codespace setup 1.2k ★
- Hol Guard — Open-source antivirus for AI agents: block risky tools, secret access, prompt injection, malicious packages, M 485 ★
- onWatch — Open-source Go CLI that tracks AI API quota usage across 7 providers (Synthetic, Z.ai, Anthropic, Codex, GitHu 397 ★
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__
Related Skills
Ranwhat
Flight recorder and secret scanner for AI coding agents. Reads what Claude Code, Codex, Gemini CLI and 9 more
Unpick
Vet AI agent skills, MCP servers, plugins and rules files before you install them. Catches hidden instructions
Schematic AI Tools
AI coding skills for integrating with Schematic SDKs. Teaches AI assistants how to write code for feature flag
Vouch
See what your AI-agent skills can actually do. Vouch audits every SKILL.md on your machine, explains each skil
Yologuard
🧩 VS Code extension: Finds AI coding agents launched with permission or sandbox bypass flags where it hurts:
Aigate
AI Prompt Secret Scanner: local proxy and Claude Code hook that blocks secrets before they reach AI APIs
Related Agents
Doc Quality Checker
Checks the content quality of the documentation generated by the tool (completeness, accuracy against source,
Liveops Manager
Owns live events, offers, telemetry-informed updates, and post-launch operational planning.
Posthog Telemetry Analyst
Use this agent when the user needs to work with telemetry data, analytics, dashboards, insights, funnels, tren