Claude Code workflow kit

Claude Code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands. All original source code is the property of Anthropic.

2,356 stars 2,796 forksWorkflow kits Source

Install

From source
git clone https://github.com/tanbiralam/claude-code.git

From the README

Claude Code — Leaked Source (2026-03-31)
On March 31, 2026, the full source code of Anthropic's Claude Code CLI was leaked via a .map file exposed in their npm registry.

How It Leaked

Chaofan Shou (@Fried_rice) discovered the leak and posted it publicly:
"Claude code source code has been leaked via a map file in their npm registry!"
— @Fried_rice, March 31, 2026

The source map file in the published npm package contained a reference to the full, unobfuscated TypeScript source, which was downloadable as a zip archive from Anthropic's R2 storage bucket.

Quick Setup

Prerequisites

- Bun v1.3+ (the project's runtime)
- Node.js v18+ (for npm package installation)
- An Anthropic API key (set as ANTHROPIC_API_KEY environment variable)

Install & Run

Available Scripts

Environment Variables

Notes

- Some modules from the original source were not included in the leak (Anthropic-internal @ant/* packages, some tools). These have been replaced with stubs that export no-ops.
- The bun:bundle feature flag system is shimmed via a Bun plugin at plugins/bunBundleDev.ts. All flags default to false unless enabled via FEATURE_FLAGS.
- The MACRO.* build-time constants are defined in bunfig.toml and injected by Bun's --define system.

Overview

Claude Code is Anthropic's official CLI tool that lets you interact with Claude directly from the terminal to perform software engineering tasks — editing files, running commands, searching codebases, managing git workflows, and more.

This repository contains the leaked src/ directory.

- Leaked on: 2026-03-31
- Language: TypeScript
- Runtime: Bun
- Terminal UI: React + Ink (React for CLI)
- Scale: ~1,900 files, 512,000+ lines of code

Directory Structure

Core Architecture

1. Tool System (src/tools/)

Every tool Claude Code can invoke is…
Read the full README on GitHub

Details

Language
TypeScript
Last updated
6 May 2026
Topics
claude-codeclaude-code-source-code

FAQ

What is Claude Code?

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands. All original source code is the property of Anthropic. It is a workflow kit for Claude Code, from tanbiralam/claude-code on GitHub.

How do I install Claude Code?

Clone tanbiralam/claude-code from GitHub and follow the setup steps in its README.

Is Claude Code popular?

tanbiralam/claude-code has 2,356 GitHub stars and 2,796 forks. It was last updated on 6 May 2026.

More workflow kits

Browse the most popular Claude Code mods, all workflow kits, or the skills and MCP server directories.