Claude Code workflow kit
Claude Code
Open source Claude Code CLI source code. Advanced AI Agent for developers. Includes TypeScript codebase for LLM tool-calling, agentic workflows, and terminal UI. Remember this is just the skeleton not the brain itself. Found by Chaofan Shou.
Install
git clone https://github.com/yasasbanukaofficial/claude-code.gitFrom the README
Claude Code's Entire Source Code Got Leaked via a Sourcemap in npm, Let's Talk About It PS: This breakdown is also available on this blog with a better reading experience and UX :) Note: There's a non-zero chance this repo might be taken down. If you want to play around with it later or archive it yourself, feel free to fork it and bookmark the external blog link! ⚠️ Important Disclaimer I did not leak these files. I have simply provided an easy, documented way to access and study this codebase for research purposes. All files and information originate from public findings shared on Twitter/X. All credit for the discovery goes to the original source. Earlier today (March 31st, 2026) - Chaofan Shou (@Fried_rice) discovered something that Anthropic probably didn't want the world to see: the entire source code of Claude Code, Anthropic's official AI coding CLI, was sitting in plain sight on the npm registry via a sourcemap file bundled into the published package. This repository is a backup of that leaked source, providing a full breakdown of what's in it, how the leak happened, and the internal systems that were never meant to be public. 🧐 How Did This Even Happen? When you publish a JavaScript/TypeScript package to npm, the build toolchain often generates source map files (.map files). These files bridge minified production code and the original source for debugging. The catch? Source maps contain the original source code embedded as strings inside a JSON file under the sourcesContent key. By forgetting to add *.map to .npmignore or failing to disable source maps in production builds (Bun's default behavior), the entire raw source was shipped to the npm registry. 🛠 What's Under the Hood? Claude Code is not just a simple CLI. It's a massive 785KB main.tsx…
Details
- Repository
- yasasbanukaofficial/claude-code
- Type
- Workflow kits
- Language
- TypeScript
- Last updated
- 4 April 2026
- Topics
- claude-aiclaude-codeleaked-claude-codeleaked-code
FAQ
What is Claude Code?
Open source Claude Code CLI source code. Advanced AI Agent for developers. Includes TypeScript codebase for LLM tool-calling, agentic workflows, and terminal UI. Remember this is just the skeleton not the brain itself. Found by Chaofan Shou. It is a workflow kit for Claude Code, from yasasbanukaofficial/claude-code on GitHub.
How do I install Claude Code?
Clone yasasbanukaofficial/claude-code from GitHub and follow the setup steps in its README.
Is Claude Code popular?
yasasbanukaofficial/claude-code has 49 GitHub stars and 32 forks. It was last updated on 4 April 2026.
More workflow kits
Kiro Workflow
58kingchen95272025/kiro_workflow
Kiro Spec工作流:从理念到实践 - 在Cursor与Claude Code中构建系统化AI开发流程
Correctless
65joshft/correctless
The agent that writes the code never reviews it. Spec-driven TDD with agent separation, adversarial QA, and dynamic rigor for Claude Code.
ContextX
66yzfly/ContextX
ContextX: Context-driven AI development framework powered by Claude Code. Transform documents into complete projects with intelligent agent workflows.
Product Manager Claude Code Commands
54nimbalyst/product-manager-claude-code-commands
Supercharge your AI-assisted workflow with battle-tested Claude Code commands for Product Managers.
Specs Driven Development Spring Angular
62loiane/specs-driven-development-spring-angular
Spec-Driven Development toolkit for Spring Boot 4 — tri-platform workflow (Claude Code · GitHub Copilot · Windsurf) for specifying, implementing, and validating Spring + Angular projects
CC Sdd
61pdoronila/cc-sdd
Spec Driven Development Workflow inside Claude-Code
Browse the most popular Claude Code mods, all workflow kits, or the skills and MCP server directories.