Claude Code Rebuilt — Development skill for Claude Code
A rebuilt, fully functional version of Anthropic's Claude Code CLI.
How to install Claude Code Rebuilt
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open weikma/claude-code-rebuilt and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Code Rebuilt does
A rebuilt, fully functional version of Anthropic's Claude Code CLI.
Alternatives in Development
- Package OfficeCLI Skill As AionUi Assistant — Convert an OfficeCLI skill into a fully wired AionUi assistant preset, or update an existing one 20.3k ★
- Anthropic SDK Python — PyPI version 3.9k ★
- Shopify CLI Update — Create Shopify CLI PRs after releasing new version of @shopify/cli-hydrogen 2.1k ★
README
Claude Code Rebuilt
**A rebuilt, fully functional version of Anthropic's Claude Code CLI**
English | [中文](./README_zh.md)
[](#tech-stack) [](#tech-stack) [](#tech-stack) [](#project-structure)
Table of Contents
- Background
- Tech Stack
- Getting Started
- Usage
- Building
- Project Structure
- How It Works
- Unlocked Slash Commands
- Notes
- Disclaimer
Background
On March 31, 2026, the full source code of Anthropic's Claude Code was leaked via a source map file exposed in their npm registry. [The leaked source code](https://github.com/instructkr/claw-code) contained only the `src/` directory -- no build configuration, no dependency manifests, no type definitions for core modules, and no way to compile or run it.
This project reconstructs everything that was missing: `package.json`, `tsconfig.json`, build scripts, 185+ stub/type files, compatibility shims for internal-only packages, and a `bun:bundle` feature-flag runtime. The result is a complete, buildable, and runnable Claude Code terminal application. Internal-only Anthropic features (daemon workers, voice mode, computer-use, etc.) are disabled at build time via feature flags; the core interactive REPL, tool system, and Anthropic API integration remain fully functional.
Tech Stack
| Category | Technology |
|---|---|
| Language | TypeScript (strict) |
| Runtime | Bun |
| Terminal UI | [React |
Related Skills
Claude Flow Tutorial Suite
Transform your ideas into fully functional applications with Claude Flow orchestration
Revula
A fully functional and production-grade reverse engineering MCP Server
Open Claude Code
Nightly Claude Code CLI Decompile — Reverse Engineered & Rebuilt
Cursor Agent Statusline
A minimal and functional statusline for Cursor (CLI) Agnet & Claude Code
CLI Harness Statusline
A minimal and functional statusline for Cursor (CLI) Agnet & Claude Code
Anthropic SDK Ruby
Gem Version
Related Agents
Agent Stack Builder
Use this agent when you need to create fully functional agent stacks from bulk lists of agent specifications,
Timps Agent Composer
Generate a new fully-functional Python agent file from a natural-language description. Use the timps_agent_com
Consistency Auditor
Checks the documentation deliverables against the code actually delivered and reports every divergence. Use be