A visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
fix(advanced-features): correct effort level model support (#96)
Luong NGUYENa7a0ea2d9da6
diff --git a/09-advanced-features/README.md b/09-advanced-features/README.mdindex 4139037..2adc568 100644--- a/09-advanced-features/README.md+++ b/09-advanced-features/README.md@@ -277,7 +277,7 @@ Extended thinking is a deliberate, step-by-step reasoning process where Claude:**Automatic activation**:- Enabled by default for all models (Opus 4.7, Sonnet 4.6, Haiku 4.5)-- Opus 4.7: Adaptive reasoning with effort levels: `low` (○), `medium` (◐), `high` (●), `xhigh` (default on Claude Code since Opus 4.7 launch, 2026-04-16), `max` (Opus 4.7 only). Opus 4.7 has a 1M-token native context window (1M context fix landed in v2.1.117 — before that, `/context` miscounted Opus 4.7 against a 200K window and triggered premature autocompact).+- Opus 4.7: Adaptive reasoning with effort levels: `low` (○), `medium` (◐), `high` (●), `xhigh` (Opus 4.7 only, default on Claude Code since Opus 4.7 launch, 2026-04-16), `max`. Opus 4.6 and Sonnet 4.6 also support `low`, `medium`, `high`, `max` (no `xhigh`). Opus 4.7 has a 1M-token native context window (1M context fix landed in v2.1.117 — before that, `/context` miscounted Opus 4.7 against a 200K window and triggered premature autocompact).- Pro/Max subscribers on Opus 4.6 / Sonnet 4.6: default effort was raised from `medium` to `high` in v2.1.117.- Other models: Fixed budget up to 31,999 tokens@@ -291,9 +291,9 @@ Extended thinking is a deliberate, step-by-step reasoning process where Claude:export MAX_THINKING_TOKENS=1024```-**Effort level** (Opus 4.7 only):+**Effort level** (supported on Opus 4.7, Opus 4.6, and Sonnet 4.6):```bash-export CLAUDE_CODE_EFFORT_LEVEL=xhigh # low (○), medium (◐), high (●), xhigh (default on Opus 4.7), or max (Opus 4.7 only)+export CLAUDE_CODE_EFFORT_LEVEL=xhigh # low (○), medium (◐), high (●), xhigh (Opus 4.7 only, default), or max```**CLI flag**:@@ -306,7 +306,7 @@ claude --effort high "complex architectural review"/effort high```-> **Note:** The keyword "ultrathink" in prompts activates deep reasoning mode. Effort levels `low`, `medium`, `high`, `xhigh` (new, default on Opus 4.7), and `max` (Opus 4.7 only) control how much reasoning Claude performs.+> **Note:** The keyword "ultrathink" in prompts activates deep reasoning mode. Effort levels `low`, `medium`, `high`, and `max` are supported on Opus 4.7, Opus 4.6, and Sonnet 4.6. `xhigh` (default on Opus 4.7) is Opus 4.7 only.### Benefits of Extended Thinking@@ -394,7 +394,7 @@ Extended thinking is controlled via environment variables, keyboard shortcuts, a# Set thinking token budgetexport MAX_THINKING_TOKENS=16000-# Set effort level (Opus 4.7 only): low (○), medium (◐), high (●), xhigh (default on Opus 4.7), or max (Opus 4.7 only)+# Set effort level (Opus 4.7, Opus 4.6, Sonnet 4.6): low (○), medium (◐), high (●), xhigh (Opus 4.7 only, default), or maxexport CLAUDE_CODE_EFFORT_LEVEL=xhigh```@@ -1965,7 +1965,7 @@ export ANTHROPIC_API_KEY=sk-ant-...# Thinking configurationexport MAX_THINKING_TOKENS=16000-export CLAUDE_CODE_EFFORT_LEVEL=xhigh # low, medium, high, xhigh (default on Opus 4.7), or max (Opus 4.7 only)+export CLAUDE_CODE_EFFORT_LEVEL=xhigh # low, medium, high, xhigh (Opus 4.7 only, default), or max (supported on Opus 4.7, Opus 4.6, Sonnet 4.6)# Feature togglesexport CLAUDE_CODE_DISABLE_AUTO_MEMORY=true