
Claude Code Source Recovery
Recovered TypeScript source of Claude Code 2.1.88, covering CLI bootstrap, commands, MCP, and Ink UI.
- skills.sh installs
- 648
- GitHub stars
- 98
- last updated
- Jul 14, 2026
Own this skill? Claim it
What it does
- Covers the recovered
src/tree: entrypoints, commands, components, services, hooks, utils, and the customink/rendering layer - Includes representative patterns for CLI bootstrap, command loading across built-in, skill, plugin, and MCP sources, and Ink/React chat views
- Shows how MCP servers are connected over stdio, their tools discovered, and calls routed through a registry
- Designed for developers studying production terminal CLI architecture or how MCP is implemented in a real client
Install
$ npx -y skills add reason-machines/trending-skills --skill claude-code-source-recovery -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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
Details
- Repository
- github.com/reason-machines/trending-skills
- Categories
- CLI & Terminal, AI Agents & LLM Apps, Skill & Plugin Building
- First seen
- May 16, 2026
More from reason-machines/trending-skills
All 163- 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
Similar to Claude Code Source Recovery
More CLI & Terminal
Claude Code Explorer MCPMCP servercodeaashu3.4K starsExplore Claude Code CLI source: browse tools, commands, and architecture, with code search.
claude-code-source-studySkillreason-machines/trending-skills569 installsDeep-dive article series dissecting Claude Code's source into reusable AI agent architecture patterns.
Claude Prompts McpMCP serverminipuft192 starsReusable prompt templates, chained workflows, and validation gates for any MCP client.
claude-better-cliSkillreason-machines/trending-skills744 installsDrop-in Claude CLI replacement with faster startup, lower memory, and matching command behavior.
claude-code-guideSkill2025emma/vibe-coding-cn156 installsA Chinese-language guide to Claude Code covering tools, REPL usage, MCP integration, hooks, and best practices.