Claude Code Leaked Source — Git skill 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.
How to install Claude Code Leaked Source
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open sleeplessai/claude-code-leaked-source and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Code Leaked Source 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 Git
- Codebase To Course — by Zara Zhang - A Claude Code skill that turns any codebase into a beautiful, interactive single-page HTML cou 2.1k ★
- Project Hello W Name — by disler - Creates customizable greeting components with name input, demonstrating argument passing, componen 718 ★
- Create Worktrees — by evmts - Creates git worktrees for all open PRs or specific branches, handling branches with slashes, cleani 440 ★
README
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)](https://x.com/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](https://x.com/Fried_rice/status/2038894956459290963)
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, Resu
Related Skills
Clawde Code
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
Secret Crusade
Unleash parallel Secret Purist agents to scan the codebase and git history for leaked credentials, API keys, a
Claude Code CLI
Automate coding tasks and manage git workflows inside your terminal using this agentic Claude-powered interfac
Terminal
You can use local terminal tools when the user asks for codebase work, filesystem inspection, command executio
Related Agents
Claude Code Leaks
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you co
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. ---