Claude Code Leaks — Development agent for Claude Code
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through….
How to install Claude Code Leaks
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open GitHpriyanshu23/Clawde_Code and copy the folder into
~/.claude/agents/.
What Claude Code Leaks does
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
Alternatives in Development
- Code Explain — You are a code education expert specializing in explaining complex code through clear narratives, vi 31.9k ★
- Profiler — You are a specialized performance profiling agent 3.6k ★
- Oh My Pi — AI coding agent for terminal with hash-anchored edits, LSP, subagents and more 2k ★
README
Note: The original unmodified leaked source is preserved in the backup branch.
Claude Code - Leaked Source (2026-03-31)
On March 31, 2026, the full source code of Anthropic's Claude Code CLI was leaked via a `.map` file exposed in their npm registry.
How It Leaked
Chaofan Shou (@Fried_rice) discovered the leak and posted it publicly:
"Claude code source code has been leaked via a map file in their npm registry!"
- @Fried_rice, March 31, 2026
The source map file in the published npm package contained a reference to the full, unobfuscated TypeScript source, which was downloadable as a zip archive from Anthropic's R2 storage bucket.
Overview
Claude Code is Anthropic's official CLI tool that lets you interact with Claude directly from the terminal to perform software engineering tasks - editing files, running commands, searching codebases, managing git workflows, and more.
This repository contains the leaked `src/` directory.
- Leaked on: 2026-03-31
- Language: TypeScript
- Runtime: Bun
- Terminal UI: React + Ink (React for CLI)
- Scale: ~1,900 files, 512,000+ lines of code
Directory Structure
src/
|- main.tsx # Entrypoint (Commander.js-based CLI parser)
|- commands.ts # Command registry
|- tools.ts # Tool registry
|- Tool.ts # Tool type definitions
|- QueryEngine.ts # LLM query engine (core Anthropic API caller)
|- context.ts # System/user context collection
|- cost-tracker.ts # Token cost tracking
|
|- commands/ # Slash command implementations (~50)
|- tools/ # Agent tool implementations (~40)
|- components/ # Ink UI components (~140)
|- hooks/ # React hooks
|- services/ # External service integrations
|- screens/ # Full-screen UIs (Doctor, REPL, Resume)
|- types/ # TypeScript type definitions
|- utils/ # Utility functions
|
|- bridge/ # IDE integration bridge (VS Code, JetBrains)
|- coordinator/ # Multi-agent coordinator
|- plugins/ # Plugin system
|- skills/ # Skill system
|- keybindings/ # Keybinding configuration
|- vim/ # Vim mode
|- voice/ # Voice input
|- remote/ # Remote sessions
|- server/ # Server mode
|- memdir/ # Memory directory (persistent memory)
|- tasks/ # Task management
|- state/ # State management
|- migrations/ # Config migrations
|- schemas/ # Config schemas (Zod)
|- entrypoints/ # Initialization logic
|- ink/ # Ink renderer wrapper
|- buddy/ # Companion sprite (Easter egg)
|- native-ts/ # Native TypeScript utils
|- outputStyles/ # Output styling
|- query/
Related Agents
10x
10x is a terminal-based CLI coding agent (installed via npm install -g 10x-cli) built around the observation t
Part 19: Repowise — Codebase Intelligence For Coding Agents
60% fewer tokens. 4x faster. Your coding agents stop guessing and start knowing. ---
Build Worker
Sonnet-tier worker for everyday coding subtasks: implement a well-specified function or component, fix a descr
Presentation Vibe Coding
当用户想要更新、修改或修复 VIBE-CODING 演示文稿(presentation/vibe-coding-to-agentic-engineering/index.html)时,主动使用此 Agent — 包括幻灯
Ade CLI
Coding agents asked to read contracts, claims, or financial PDFs hallucinate structure unless the extraction t
Agent Of Empires
Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and
Related Skills
Claude Code Leaked Source
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you co
Claude Code Leaks
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you co
Claude Code Local Proxy
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you co