01What Claw-Code Is and How It Works

Claw-Code is an open-source clone of Anthropic's Claude Code, an AI coding assistant. It was created after a security researcher leaked Claude Code's source code, and a developer did a clean-room rewrite.

Clean-room means the creator built the same product from scratch without looking at the original code. They studied how Claude Code works from the outside, read the documentation, and wrote their own version. This makes it legally safe from DMCA takedowns because it's not a copy; it's a new creation that does the same thing.

02The Leak: How Anthropic Lost Its Source Code

On March 31st, security researcher Xiaofan Zhou found a file called cli.js.map inside the official Claude Code NPM package. This file was 60 megabytes and contained the complete TypeScript source code of the entire product—1,906 internal files, API design, encryption tools, security logic, and plug-in systems.

Anyone could download it as a zip from Anthropic's storage bucket. This wasn't a sophisticated hack; it was a build config error. Worse, this was the second time it happened.

The same mistake occurred in February 2025, and Anthropic had deleted the old versions and removed the map. But version 2.1.88 shipped with the file back.

03The DMCA Takedown and Its Aftermath

Anthropic filed a DMCA takedown against 8,100 GitHub repositories, not just one. GitHub removed forks, copies, and mirrors within hours. Even repos with no leaked code got caught in the blast if they were connected to the network.

This move backfired spectacularly. It created a Streisand effect: every takedown notice became free marketing for the clone. The head of Claude Code had to apologize on X.

The DMCA accelerated interest and led to the clean-room rewrite that became Claw-Code.

04Claw-Code's Features and Rapid Growth

Claw-Code launched with a formal press release and real branding, not just a fork. It offers the same core functionality as Claude Code—AI-powered coding assistance—but as an open-source project.

Within two hours of its release, it hit 50,000 GitHub stars, the fastest growth in GitHub history. It already has more stars than Anthropic's official repository. A Rust port (release 0.1.0) also shipped, giving users two open-source options.

05How to Get Started with Claw-Code

  1. Search for Claw-Code on GitHub (the repository is public and growing fast).
  2. Choose the Python version or the Rust port, depending on your preference.
  3. Read the documentation to understand what the tool does from the outside (important for clean-room compliance).
  4. Install the package using standard package managers like pip or cargo.
  5. Set up your API keys or local environment as described in the docs.
  6. Start using it for coding tasks, just like you would with Claude Code.

06How to Use Claw-Code for Your Business

Claw-Code works as a drop-in alternative to Claude Code. You can use it for client work, content creation, lead generation, and more. The episode mentions that members of the AI Profit Boardroom are already testing the open-source version and sharing what works.

To get the most out of it, integrate it into your existing AI coding workflows. Use it to automate repetitive coding tasks, generate code snippets, or assist with debugging. Because it's free and open-source, you can customize it to fit your specific needs without licensing costs.

07Results and Comparisons: Claw-Code vs. Claude Code

The episode highlights that Claw-Code has more GitHub stars than Anthropic's official repository. That's a direct comparison showing the community's preference. The Python and Rust ports give users options, and the growth rate (50k stars in two hours) sets a record.

For businesses, this means you can get the same functionality as Claude Code without paying. The episode stresses that this competition accelerates the pace of AI tool development, making tools cheaper and more accessible.

08Tips, Limits, and Mistakes to Avoid

  • Don't panic if you were using Claude Code; you now have free alternatives.
  • Avoid relying on DMCA takedowns to suppress code—it backfires as seen here.
  • Learn from Anthropic's mistake: always check your build configs and avoid shipping source maps to production.
  • Be aware that clean-room rewrites are legal, so don't assume a DMCA blocks them.
  • Stay updated because the AI landscape changes fast; what's true today may change tomorrow.

The episode warns that the advantage isn't knowing about tools but knowing how to use them early. Move quickly to integrate Claw-Code into your workflow before others do.

09Who Claw-Code Is For and Why It Matters

Claw-Code is for developers, freelancers, and agencies who want a free, open-source AI coding tool. It matters because it breaks the monopoly of paid tools, giving you more options and lower costs.

The episode argues that companies that win in AI are those that move fastest. By adopting Claw-Code now, you gain a head start over competitors who wait. The leak and subsequent clone show how quickly the AI industry evolves—and how you can benefit from that speed.