
Claude Code Source Recovery
In March 2026, Anthropic accidentally shipped a 57MB source map with the full TypeScript source of claude-code 2.1.88, and someone extracted all 700,000 lines before it got yanked. This skill helps you navigate that recovered codebase. It's genuinely useful if you want to see how a production CLI implements MCP protocol bindings, manages stdio transports to external servers, or renders complex terminal UIs with Ink and React hooks. The command loading system is especially interesting because it merges built-in commands, dynamically loaded skills, plugins, and MCP-exposed tools into a single dispatch layer. You can still grab the original package from Tencent's npm mirror cache if you want to poke around the bundled artifacts yourself.
- skills.sh installs
- 648
- GitHub stars
- 61
- last updated
- Jul 14, 2026
Install
$ npx -y skills add aradotso/trending-skills --skill claude-code-source-recovery --agent claude-codeInstalls into .claude/skills of the current project.
Files
Claude Code 2.1.88 Source Recovery
Skill by ara.so — Daily 2026 Skills collection.
What This Project Is
This repository contains the recovered TypeScript source code of @anthropic-ai/claude-code version 2.1.88. On 2026-03-31, Anthropic accidentally published a cli.js.map (57MB) source map to npm that contained the full sourcesContent of the bundled CLI. After extraction and reconstruction, the result is ~700,000 lines of TypeScript source code organized into a readable directory structure.
The project is useful for:
- Studying production CLI architecture patterns (Ink/React in terminal)
- Understanding how MCP (Model Context Protocol) is implemented in a real CLI
- Learning how Claude Code manages sessions, commands, authentication, and tool execution
Repository Structure
Sponsors
Details
- Repository
- github.com/aradotso/trending-skills
- First seen
- May 16, 2026
More from aradotso/trending-skills
All 251- Sheets Terminal Spreadsheet646
- Omnivoice Tts627
- Metatron Pentest Assistant602
- Tong Jincheng Relationship Skill595
- Awesome Design Md Jp594
- Parlor On Device Ai588
- Paper2code Arxiv Implementation585
- Free Code Claude Cli584
- Fieldtheory Cli Bookmarks582
- Tong Jincheng Interpersonal Skill574
- Claude Code Source Study569
- Cabinet Ai Knowledge Base562
- Binance Futures Signal Bot554
- Karpathytalk Community553
- X Mentor Skill Nuwa552
- Clawgod Claude Code Patch551
- Gemma Gem Browser Ai548
- Claude Skill App Onboarding Questionnaire539
- Gemma Tuner Multimodal537
- Tailslayer Dram Hedged Reads537
- Bluehammer Vulnerability Poc527
- Alayarenderer Generative World522
- Llm Wiki Skill516
- Codesight Ai Context504