Agent skill · software engineering · aradotso
claude-code-source-recovery
Skill for exploring and understanding the recovered Claude Code 2.1.88 TypeScript source code, including its CLI architecture, command system, MCP integration, and Ink/React terminal UI components.
Why this skill is useful
Provides detailed insights into the CLI architecture and MCP integration patterns that the AI wouldn't reliably generate on its own.
What it needs
Requires npm installed locally. About 7k tokens when loaded. Last updated 2026-07-09. 70 stars on the source repository.
What this skill does
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 --- Installing the Original 2.1.88 Package (Tencent Mirror Cache) The official npm version was pulled. Use the Tencent mirror cache while available: --- Extracting Source from the Source Map If you have the original cli.js.map, you can recover sources programmatically: --- Key Architectural Patterns 1. CLI Entrypoint Bootstrap 2. Command Loading System Commands support built-in, dynamic skills, plugins, and MCP sources: 3. Ink/React Terminal UI Component Pattern 4. MCP (Model Context Protocol) Integration 5. Authentication Utilities 6. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aradotso/claude-code-source-recovery