Skip to content

hellosunghyun/claude-code-reverse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Claude Code Reverse Engineering

Automated reverse engineering of @anthropic-ai/claude-code npm package.

What is this?

This repository automatically extracts and analyzes each version of Claude Code CLI, providing:

  • Beautified source code - Readable JavaScript from minified bundle
  • System prompts - Extracted prompt templates
  • Tool schemas - All tool definitions and their parameters
  • Version diffs - Changes between versions

Structure

versions/
└── X.Y.Z/
    ├── source/
    │   ├── cli.js              # Original minified
    │   ├── cli.beautified.js   # Beautified source
    │   ├── sdk-tools.d.ts      # Tool type definitions
    │   └── package.json
    │
    ├── prompts/
    │   └── system-prompt.txt   # Extracted system prompt
    │
    └── CHANGELOG.md            # Diff from previous version

Automation

GitHub Actions runs daily to:

  1. Check for new versions on npm
  2. Extract and beautify the source
  3. Generate diff against previous version
  4. Commit changes automatically

Latest Version

Check versions/ directory for all extracted versions.

Legal

This is for educational and research purposes only. All rights to Claude Code belong to Anthropic PBC.

Contributing

Feel free to improve extraction scripts or add new analysis tools via PR.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published