Claude Code v2.1.304
Claude Code v2.1.304 adds a guided /auto-mode-setup command, a read-only security check for Managed Agents, and a Pro/Max warning before resuming an old conversation eats into the 5-hour limit, alongside about 45 bug fixes.
Why it matters
A maintenance release of Anthropic's terminal coding agent. It matters most to people who use auto mode, build mods and plugins, or run Claude Code headless, since several fixes stop runs from going past their limits or deleting work.
What's new
- New /auto-mode-setup reads your project and recent sessions to teach auto mode about your environment, and now also works on Bedrock, Vertex, Foundry and telemetry-disabled sessions.
- New /claude-api managed-agents-secure compares a Managed Agents agent's settings with Anthropic's published security guide without changing anything.
- On Pro and Max plans, a warning appears when resuming an inactive conversation would use a noticeable share of the 5-hour usage limit, with the option to start fresh instead.
- Mods can now mark a tool.check answer with decider: "person" so only a human (the permission dialog or a host callback) can approve it.
- Notable fixes: claude --worktree no longer removes a worktree and its branch without asking when HEAD is detached, and rm -r on mounted drives such as /Volumes or WSL's /mnt/c now gets the safety prompt.
Taken from the project's own release notes. Claims about speed or accuracy are the maker's unless stated otherwise.
Quick facts
| Pricing | Requires a Claude account or Anthropic API access (plan details not checked)not verified |
|---|---|
| Free or paid | Paid |
| License | Proprietary (© Anthropic PBC; use subject to Anthropic's Commercial Terms) |
| Language | TypeScript (repo) |
| Platform | macOS, Linux, Windows; terminal, IDE, desktop |
| GitHub stars | ★ 152,877 (as of 2026-10-20) |
| Maker | Anthropic |
Links
- Official site: https://code.claude.com/docs/en/overview
- Repository: https://github.com/anthropics/claude-code
- Release notes: https://github.com/anthropics/claude-code/releases/tag/v2.1.304
- Docs: https://code.claude.com/docs/en/setup
Related ranking
See how established tools compare in Best AI Coding Tools for Developers. New releases aren't scored until we review them against the rubric.
What we couldn't verify
- quick_facts.pricing
Checked 2026-10-20 from the release notes's own pages. Prices and star counts change, so confirm on the official site. Listing here is not a ranking or an endorsement.
One email a week on AI that saves business owners time
Every Friday: one tool pick with the business use case, what changed in tools you already use, and the week's AI news in plain English. No spam.
Free. Unsubscribe any time. See our privacy policy.