gitwtfhub

wtf is claude-code-rev?

gcssloop/claude-code-rev — explained in plain English

Analysis updated 2026-07-17 · repo last pushed 2026-03-31

Audience · developerComplexity · 3/5MaintainedSetup · moderate

TL;DR

A reverse-engineered reconstruction of Claude Code, Anthropic's command-line AI coding assistant. It lets developers study how the tool works internally, though some features are incomplete.

Mindmap

mindmap
  root((repo))
    What it does
      Reverse-engineered Claude Code
      Shows full command tree
      Boots and runs locally
    Tech stack
      Bun 1.3.5
      Node.js 24
      TypeScript
    Use cases
      Study AI assistant architecture
      Learn CLI tool structure
      Explore prompt organization
    Limitations
      Some modules degraded
      Private integrations missing
      Native bindings stubbed
    Audience
      Developers
      Tinkerers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Study how Claude Code organizes its prompts, tools, and permissions internally.

REASON 2

Explore the CLI bootstrap path and bundled skill documentation recovered from source maps.

REASON 3

Learn from the architecture before building your own AI coding assistant.

REASON 4

Run the reconstructed tool locally to see the full command tree in action.

What's in the stack?

TypeScriptBun 1.3.5Node.js 24

How it stacks up

gcssloop/claude-code-rev0verflowme/alarm-clock0xhassaan/nn-from-scratch
Stars0
LanguageCSSPython
Last pushed2026-03-312022-10-03
MaintenanceMaintainedDormant
Setup difficultymoderateeasymoderate
Complexity3/52/54/5
Audiencedevelopervibe coderdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Requires both Bun 1.3.5 and Node.js 24 installed to run locally.

Wtf does this do

This repo is a reverse-engineered reconstruction of Claude Code, Anthropic's command-line coding assistant. It lets you look at and run a version of the tool that normally ships as a compiled, closed-source package. Think of it as someone taking a finished app and working backwards to recover something close to the original source code behind it. The reconstruction was done using "source maps," which are files that shipped with the original tool and contain partial information about how it was built. Source maps are like a map with some streets missing, so the person doing this had to fill in gaps where files were lost entirely. Where they couldn't recover the original code, they wrote compatibility shims or simplified replacements so the whole thing still installs and runs. The result is a workspace that boots up, shows the full command tree, and behaves like Claude Code, though some features don't work exactly the way the original did. This would appeal to developers and tinkerers who want to understand how Claude Code is structured internally. Maybe you're curious about how an AI coding assistant organizes its prompts, tool catalogs, and permission flows. Or you want to study the architecture before building something similar. It's essentially a learning resource rather than something you'd use for real work, since several modules still have degraded behavior where the original code couldn't be recovered. The notable tradeoff is honesty about limitations. The README is upfront that this isn't a faithful reproduction. Private integrations, native bindings, and type-only files are largely missing or stubbed out. The parts that were recovered, like the CLI bootstrap path and some bundled skill documentation, are real and usable, but you should expect rough edges in areas that depended on unrecoverable internal code. You'll need Bun 1.3.5 and Node.js 24 installed to run it locally.

Yoink these prompts

Prompt 1
How do I set up and run this reverse-engineered Claude Code reconstruction locally with Bun and Node.js?
Prompt 2
Walk me through the recovered CLI bootstrap path and explain how Claude Code starts up and loads its command tree.
Prompt 3
Show me how the prompt organization and tool catalog work in this reconstructed Claude Code codebase.
Prompt 4
Explain which modules in this reconstruction are stubbed out or degraded, and how the compatibility shims work.
Prompt 5
Compare the architecture of this reconstructed Claude Code to what I'd need to build my own CLI-based AI coding assistant.

Frequently asked questions

wtf is claude-code-rev?

A reverse-engineered reconstruction of Claude Code, Anthropic's command-line AI coding assistant. It lets developers study how the tool works internally, though some features are incomplete.

Is claude-code-rev actively maintained?

Maintained — commit in last 6 months (last push 2026-03-31).

How hard is claude-code-rev to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is claude-code-rev for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.