- Published on
Claude Code v2.1.316 β Subagent Effort Control and Opus 4.8 Fast Mode Retirement
"Your AI agents now have a focus dial."
On October 31, 2026, Anthropic released Claude Code v2.1.316. The version bump looks small, but for developers running multi-agent workflows the changes are meaningfully practical.
Subagent Effort via Environment Variable
The centerpiece of this release is the ability to set subagent effort through an environment variable.
Claude Code already spins up subagents to handle complex tasks in parallel. Previously, controlling how hard β meaning how many tokens β each subagent would think required code-level configuration. Now you can set a default from the shell.
# Lower effort: faster, cheaper β good for simple iteration
CLAUDE_SUBAGENT_EFFORT=low claude
# Higher effort: deeper reasoning β good for architecture or tricky bugs
CLAUDE_SUBAGENT_EFFORT=high claude
Think of it as a throttle: turn it down for quick lint fixes, turn it up when a subagent is reviewing a security-critical system design.
Opus 4.8 Fast Mode Is Ending β Check Your Code Now
The more urgent item in this release is a deprecation notice.
Opus 4.8 Fast Mode is scheduled for removal on November 30, 2026. It was marked deprecated on October 30.
After removal:
- Requests to the
claude-opus-4-8[1m]model ID return an error - There is no automatic fallback to regular Opus 4.8
If any part of your pipeline references claude-opus-4-8[1m], you need to swap it before November 30.
What to Migrate To
Anthropic recommends Opus 5.5 as the replacement. It matches the speed motivation behind Fast Mode while exceeding Opus 4.8 in capability.
| Model | Status | Notes |
|---|---|---|
| claude-opus-4-8[1m] | β οΈ Removed Nov 30 | Migrate now |
| claude-opus-4-8 | Active | Standard (non-Fast) mode |
| claude-opus-5-5[1m] | Recommended | Fast Mode replacement |
| claude-opus-5-5 | Recommended | Standard replacement |
Idle Compaction Now in VS Code and the Desktop App
Another quality-of-life improvement: Idle Compaction now runs in VS Code and the Code tab of the desktop app.
When a conversation grows past 200K tokens and sits idle, Claude Code automatically summarizes it. That summary is used as context on the next message if the prompt cache has expired β keeping long sessions coherent without hitting token limits.
Previously this only worked in the terminal. The extension and desktop app are now on par.
Bug Fixes
- Shell processes were sometimes left running on macOS and Linux when Claude Code exited on its own β fixed.
- New worktrees in a bare repository could start from the local HEAD instead of the default branch β fixed.
Tips
Tip 1. Use effort=low in CI for quick validation. For automated tasks like confirming test pass or fixing a lint warning, low effort saves tokens without affecting correctness.
Tip 2. Find your Fast Mode references now. Run grep -r "opus-4-8\[1m\]" . across your project to find every file that needs updating before the November 30 cutoff.
Tip 3. Save critical context to /memory. Idle Compaction is automatic, but for non-negotiable constraints β design decisions, API contracts β writing them to /memory is more reliable than trusting the summary alone.
Sources: