
Free from Savage Automations
Claude Code's new experimental mode. Claude writes one small program that does many steps in one go, and reads back only what it needs. One line turns it on.
2 minutes
claude --version
claude update
One line
You start Claude Code with one setting in front of it. Paste the line in your terminal, in the folder of your project.
CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1 claude
$env:CLAUDE_CODE_EXPERIMENTAL_CODE_MODE = "1" claude
Code Mode (experimental) is on · this session can be resumed only with Code Mode on
A different line, or none? See "If it does not start" at the bottom of this page.
Save this in the file ~/.claude/settings.json, then start claude as usual.
{
"env": {
"CLAUDE_CODE_EXPERIMENTAL_CODE_MODE": "1"
}
}Give it a job with many steps
You still just describe the job. The difference is behind the scenes: instead of one step at a time, Claude writes a small piece of code that does the steps together.
Read every Markdown file in this project and list the links that point to local files that don't exist.
| Job | Example you can paste |
|---|---|
| A change that repeats across many files | Rename the function getUser to fetchUser in every file that uses it, then run the tests. |
| A big search | Find every TODO comment in this project and give me one list, grouped by file. |
| Several commands at once | Run the linter, the tests and the build, and tell me only what failed. |
Know them before you rely on it
| Limit | What it means |
|---|---|
| Terminal only | An interactive claude session in a terminal. Not the Desktop app, the VS Code panel, cloud sessions, the -p flag or the Agent SDK. |
| Models | Claude Opus 5.5, Sonnet 5.5, Haiku 5.5 or Fable 5.2. |
| Account | A Claude subscription or Console account. Not through Amazon Bedrock, Google Cloud, Microsoft Foundry or a gateway. |
| Missing features | No Remote Control, Claude in Chrome or computer use inside a Code Mode session. |
| Resuming | A Code Mode session can only be resumed in the terminal, with Code Mode on. |
| Long jobs | Code that Claude waits for stops after ten minutes. |
Back to normal
Remove the setting, then start a new session. Nothing else to undo.
The session shows "Code Mode (experimental) isn't available" near the top, with the reason on the same line. The command /status shows it too. Most often the version is older than v2.1.323: run claude update and start again.
Code Mode is a feature of Claude Code by Anthropic. Everything here is from the official page, code.claude.com/docs/en/code-mode, read on 20 November 2026. It is experimental, so check that page if something here no longer matches.