free-code: a de-telemetried, guardrail-stripped Claude Code build
The free build of Claude Code. All telemetry removed, security-prompt guardrails stripped, all experimental features enabled.
At a glance
- What is it?
- free-code is a Bun-built fork of the Claude Code CLI snapshot with telemetry removed, prompt-level guardrails stripped and 54 experimental feature flags unlocked. The install path is a curl pipe to bash, and GitHub detects no licence for the repository.
- Who is it for?
- Adopt free-code only if you are comfortable running a curl | bash installer from a repository with no detected licence and no LICENSE file, and only on a machine where you accept that the prompt-level guardrails Anthropic injects are gone while the model's own safety training is not. Skip it if you need a support contract, a documented rollback path, or a Windows-native build, since the README lists macOS and Linux with Windows only via WSL.
- Can I use it commercially?
- The repository metadata does not identify a licence. Check the project’s published terms and any component-specific licences before reuse.
- Is it still maintained?
- Yes. The repository last received commits 119 days ago.
- What is it written in?
- Mainly TypeScript, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.
Star history
- freecodexyz/free-code8,836 ★ · +84
| Repository | 2026-09-22 | 2026-11-25 |
|---|---|---|
| freecodexyz/free-code | 8.8k | 8.8k |
84 Stars in the last 64 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
What free-code actually is, and who the fork is for
free-code is a buildable fork of Anthropic's Claude Code CLI, the terminal-native coding agent. The README states that the upstream source became publicly available on March 31, 2026 through a source map exposure in the npm distribution, and that this fork applies three categories of change on top of that snapshot. The package.json describes the workspace as a "Reconstructed Bun CLI workspace for the Claude Code source snapshot" at version 2.1.87.
The audience is narrow and specific. You are the target user if you already use Claude Code in a terminal, you object to the outbound telemetry the upstream binary sends through OpenTelemetry/gRPC, GrowthBook analytics, Sentry and custom event logging, and you are willing to build the CLI yourself with Bun rather than install it from npm. You are also the target user if you want the experimental flags that the public npm release leaves disabled.
You are not the target user if you want a supported product. There are no releases in the repository, the licence field is unknown, and the README's own framing ("zero callbacks home") is a claim about a build you have to produce locally, not a distributed binary someone else has verified for you.
The three changes: dead-code elimination, prompt stripping, and 54 unlocked flags
The mechanism differs across the three categories, and the difference matters.
Telemetry removal is described as dead-code elimination or stubbing of outbound endpoints. The README is explicit that GrowthBook evaluation still runs locally because runtime feature gates depend on it, but that it does not report back. That is a coherent design: you cannot remove the flag-evaluation path without breaking the features that read flags, so the fork keeps the reader and severs the writer.
Guardrail removal operates at the prompt layer, not the model layer. The README says Anthropic injects system-level instructions into every conversation, including hardcoded refusal patterns, injected "cyber risk" instruction blocks, and managed-settings security overlays pushed from Anthropic's servers. The fork strips those injections and states plainly that the model's own safety training still applies. That distinction is the honest part of the README and the part most likely to be misread by people who skim it.
Experimental features are compile-time, not runtime. The README says Claude Code ships 88 feature flags gated behind `bun:bundle` switches and that this build unlocks the 54 that compile cleanly. The gap between 88 and 54 is where the build breaks, and the README points to FEATURES.md for the full audit.
Installing free-code and running the full unlock build
The README's quick install is a single piped script. It checks your system, installs Bun if needed, clones the repository, builds with all experimental features enabled, and symlinks `free-code` on your PATH.
curl -fsSL https://raw.githubusercontent.com/paoloanzn/free-code/main/install.sh | bashAfter that, the README says to run `free-code` and use the `/login` command to authenticate with your preferred model provider. The requirements section lists Bun >= 1.3.11, macOS or Linux (Windows via WSL), and an API key or OAuth login for the chosen provider.
If you would rather not pipe a remote script into a shell, the manual path is documented and short. Clone, build, run:
git clone https://github.com/paoloanzn/free-code.git
cd free-code
bun build
./cliThe build variants table distinguishes what each command produces. `bun run build` emits `./cli` with `VOICE_MODE` only, described as a production-like binary. `bun run build:dev` emits `./cli-dev` with a dev version stamp. `bun run build:dev:full` emits `./cli-dev` with all 54 experimental flags, which is the build the quick-install script produces. `bun run compile` writes to `./dist/cli` instead.
You can also pick flags individually rather than taking the whole set:
bun run ./scripts/build.ts --feature=ULTRAPLAN --feature=ULTRATHINK
bun run ./scripts/build.ts --dev --feature=BRIDGE_MODESwitching providers is environment-variable driven, with no code changes. Bedrock is the most documented example:
export CLAUDE_CODE_USE_BEDROCK=1
export AWS_REGION="us-east-1"
free-codeThe README notes that Bedrock uses your standard AWS credentials (environment variables, `~/.aws/config`, or IAM role) and maps models to Bedrock ARN format such as `us.anthropic.claude-opus-4-6-v1`. Vertex AI uses `CLAUDE_CODE_USE_VERTEX=1` with `gcloud auth application-default login`, OpenAI Codex uses `CLAUDE_CODE_USE_OPENAI=1` with OAuth via OpenAI, and Anthropic Foundry uses `CLAUDE_CODE_USE_FOUNDRY=1` with `ANTHROPIC_FOUNDRY_API_KEY`.
What you give up when the guardrails come off
The README's own sentence is the limitation: stripping the injections removes "the extra layer of prompt-level restrictions that the CLI wraps around it," while the model's own safety training still applies. Read that as a change in the shape of refusals, not the absence of them. Behaviour that upstream blocks at the CLI layer will instead be decided by the model.
There is a second, quieter cost. The README says managed-settings security overlays are pushed from Anthropic's servers and that this build strips them. That is presented as a benefit. It also means the fork has no channel for server-side policy updates, so any security overlay Anthropic adds after the March 31, 2026 snapshot is simply absent from your build. The fork's last push was on 2026-07-29.
The third limitation is the licence. The repository has no licence identifier. There is no LICENSE file at the top level; the README has a License section, and what it says about redistribution of the reconstructed snapshot should be checked before relying on it. If you plan to use this at work, that is the first thing to resolve, not the last.
free-code against the upstream Claude Code CLI and against building your own fork
The real alternative is the upstream Claude Code CLI itself, installed from npm. The difference in approach is not a feature comparison, it is where the changes live. Upstream ships a binary you install and run, with telemetry, prompt injections and managed settings intact, and with the 88 flags gated so that most stay off. free-code ships source you build with Bun, with the telemetry paths eliminated at compile time, the injections removed from the source, and 54 flags compiled in. Upstream gives you a supported artifact and Anthropic's server-side policy channel. free-code gives you a build you control and no update channel beyond the repository.
A second alternative is forking the snapshot yourself. The README's build script accepts `--feature=` flags one at a time, so the tooling for a custom subset already exists. Building your own fork is more work than cloning this one, but it means you decide which of the 88 flags to attempt, which telemetry paths to stub, and whether to keep the guardrail injections. The trade-off is that you inherit the same 88-to-54 compile problem without someone else having already mapped which flags survive.
Maintenance, upgrade cost and the licence gap
The repository is not archived, and the last push was on 2026-07-29. The repository has no published GitHub releases, so there is no tagged version to pin to and no changelog beyond `changes.md` in the repository root. Upgrades therefore mean pulling `main` and rebuilding, which is a different risk profile from upgrading a versioned package: you cannot diff two releases to see what moved.
The build cost is real but bounded. Bun >= 1.3.11 is the only stated runtime requirement, and the build variants table gives you a cheap way to test before committing, since `bun run build` produces a flag-light binary while `bun run build:dev:full` produces the full unlock. The dependency list in package.json is long and provider-heavy, including the Anthropic SDKs for Bedrock, Vertex and Foundry alongside the AWS Bedrock clients and `@azure/identity`, so a clean install pulls a substantial tree.
On licensing, GitHub detects no licence and there is no LICENSE file at the top level. The package.json carries `"private": true` and the name `claude-code-source-snapshot`, which tells you how the workspace describes itself but not what rights you have to redistribute it. Treat that as unresolved and check the repository directly before any use beyond personal experimentation. This is a factual gap, not legal advice.
Editorial conclusion
Adopt free-code only if you are comfortable running a curl | bash installer from a repository with no detected licence and no LICENSE file, and only on a machine where you accept that the prompt-level guardrails Anthropic injects are gone while the model's own safety training is not. Skip it if you need a support contract, a documented rollback path, or a Windows-native build, since the README lists macOS and Linux with Windows only via WSL. Before you commit, read FEATURES.md for the flag audit, check whether the repository has added a LICENSE file since the last push on 2026-07-29, and confirm which of the 88 flags are among the 54 that compile cleanly.
Frequently asked questions
What is free-code and how does it differ from Claude Code?
It is a buildable fork of Anthropic's Claude Code CLI, based on the source snapshot that the README says became public on March 31, 2026 through a source map exposure in the npm distribution. The fork removes outbound telemetry, strips the prompt-level guardrails Anthropic injects, and unlocks the 54 of 88 feature flags that compile cleanly.
How do I install free-code?
The README's quick install pipes a script from the repository into bash, which checks your system, installs Bun if needed, clones the repo, builds with all experimental features enabled, and symlinks free-code on your PATH. You can also clone the repository, run bun build, and execute ./cli.
Which model providers does free-code support?
Five, selected by environment variable: Anthropic's first-party API as the default, OpenAI Codex via CLAUDE_CODE_USE_OPENAI=1, AWS Bedrock via CLAUDE_CODE_USE_BEDROCK=1, Google Vertex AI via CLAUDE_CODE_USE_VERTEX=1, and Anthropic Foundry via CLAUDE_CODE_USE_FOUNDRY=1. Each uses its own authentication method, such as AWS credentials or gcloud application default credentials.
Does removing the guardrails make free-code unsafe to use?
The README states that the change removes the extra layer of prompt-level restrictions the CLI wraps around the model, and that the model's own safety training still applies. It also notes that managed-settings security overlays pushed from Anthropic's servers are stripped, so server-side policy updates added after the snapshot are not present in the build.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/freecodexyz-free-code)Star history chart for your README
[](https://hysenlabs.com/projects/freecodexyz-free-code)Was this useful?