A visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
docs: sync to Claude Code v2.1.296 (#192)
Luong NGUYEN065ab3734f64
diff --git a/.claude/skills/lesson-quiz/SKILL.md b/.claude/skills/lesson-quiz/SKILL.mdindex 66920fd..a525c60 100644--- a/.claude/skills/lesson-quiz/SKILL.md+++ b/.claude/skills/lesson-quiz/SKILL.md@@ -3,7 +3,7 @@ name: lesson-quizdescription: "Test a learner on a single Claude Code tutorial lesson (01-10) with 10 questions, scoring answers and flagging weak spots. Use before, during, or after a lesson. Don't use for whole-tutorial assessment or explaining a topic instead of testing it."effort: highmetadata:- version: 1.5.0+ version: 1.6.0author: Luong NGUYEN---diff --git a/.claude/skills/lesson-quiz/references/question-bank.md b/.claude/skills/lesson-quiz/references/question-bank.mdindex 7180b7d..7c3e74d 100644--- a/.claude/skills/lesson-quiz/references/question-bank.md+++ b/.claude/skills/lesson-quiz/references/question-bank.md@@ -165,9 +165,9 @@### Q10- **Category**: practical- **Question**: You work across two repositories and want Claude to load CLAUDE.md from both. What flag do you use?-- **Options**: A) `--multi-repo` | B) `--add-dir /path/to/other` | C) `--include /path/to/other` | D) `--merge-context /path/to/other`+- **Options**: A) `claude --multi-repo /path/to/other` | B) `CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD=1 claude --add-dir /path/to/other` | C) `claude --add-dir /path/to/other` on its own | D) `claude --include /path/to/other`- **Correct**: B-- **Explanation**: The `--add-dir` flag loads CLAUDE.md from additional directories, allowing multi-repo context.+- **Explanation**: `--add-dir` on its own only grants file access to the extra directory — its CLAUDE.md is not loaded by default. Setting `CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD=1` makes Claude Code also load CLAUDE.md from directories added with `--add-dir`.- **Review**: Additional directories section---@@ -439,7 +439,7 @@- **Question**: A hook script exits with code 2. What happens?- **Options**: A) Non-blocking warning shown | B) Blocking error — stderr is shown as an error to Claude, tool use is prevented | C) Hook is retried | D) Session ends- **Correct**: B-- **Explanation**: Exit code 0 = success/continue, exit code 2 = blocking error (stderr shown as error), any other non-zero = non-blocking (stderr in verbose only).+- **Explanation**: Exit code 0 = success/continue, exit code 2 = blocking error (stderr shown as error), any other non-zero = non-blocking error (a `<hook name> hook error` notice with the first line of stderr appears in the transcript, and the action goes ahead). Since v2.1.295, setting `"onFailure": "block"` on a command or HTTP hook makes such failures block like exit 2.- **Review**: Exit codes section### Q3@@ -463,7 +463,7 @@- **Question**: Which hook event supports `CLAUDE_ENV_FILE` for persisting environment variables into the session?- **Options**: A) PreToolUse | B) UserPromptSubmit | C) SessionStart | D) All events- **Correct**: C-- **Explanation**: `CLAUDE_ENV_FILE` is available to SessionStart, CwdChanged, and FileChanged hooks, which use it to persist environment variables into the session. Of the options listed, SessionStart is the one that supports it — PreToolUse and UserPromptSubmit do not, and it is not available to all events.+- **Explanation**: `CLAUDE_ENV_FILE` is available to SessionStart, Setup, CwdChanged, and FileChanged hooks, which use it to persist environment variables into the session. Of the options listed, SessionStart is the one that supports it — PreToolUse and UserPromptSubmit do not, and it is not available to all events.- **Review**: SessionStart section### Q6@@ -532,7 +532,7 @@- **Options**: A) `$PLUGIN_HOME` | B) `${CLAUDE_PLUGIN_ROOT}` | C) `$PLUGIN_DIR` | D) `${CLAUDE_PLUGIN_PATH}`- **Correct**: B- **Explanation**: `${CLAUDE_PLUGIN_ROOT}` resolves to the plugin's installed directory, enabling portable path references in hooks and MCP configs.-- **Review**: Plugin Structure Example section+- **Review**: Plugin-Provided MCP Servers section in Lesson 05 (MCP)### Q4- **Category**: practical@@ -555,7 +555,7 @@- **Question**: How do you install a plugin from GitHub?- **Options**: A) `claude plugin add github:username/repo` | B) `/plugin marketplace add username/repo`, then `/plugin install plugin-name@marketplace-name` | C) `npm install @claude/username-repo` | D) `git clone` then `claude plugin register`- **Correct**: B-- **Explanation**: Add the GitHub repo as a marketplace with `/plugin marketplace add username/repo`, then install with `/plugin install plugin-name@marketplace-name`. Since v2.1.275 you can do both in one step inside a session: `/plugin install plugin-name --marketplace username/repo`. There is no `github:` install form.+- **Explanation**: Add the GitHub repo as a marketplace with `/plugin marketplace add username/repo`, then install with `/plugin install plugin-name@marketplace-name`. You can also do both in one step: `/plugin install plugin-name --marketplace username/repo` inside a session (v2.1.275+), or `claude plugin install plugin-name --marketplace username/repo` from your shell (v2.1.292+). There is no `github:` install form.- **Review**: Installation methods section### Q7@@ -707,7 +707,7 @@- **Question**: On a model where thinking can be turned off (for example Sonnet 5), how do you toggle extended thinking on or off during a session?- **Options**: A) Type `/effort max` | B) Press `Option+T` (macOS) or `Alt+T` | C) Include "ultrathink" in prompt | D) It's always enabled and cannot be toggled- **Correct**: B-- **Explanation**: Option+T (macOS) or Alt+T toggles extended thinking on/off for the session. (`Ctrl+O` toggles verbose mode to show/hide the reasoning text.) On Opus 5.5 (the default model since v2.1.280), Sonnet 5.5 (what the `sonnet` alias resolves to on the Anthropic API since v2.1.284), and the Fable models, thinking can't be turned off: the toggle, `alwaysThinkingEnabled` and `MAX_THINKING_TOKENS=0` have no effect there. For one-off deep reasoning, include "ultrathink" in your prompt; for session-level control, use the `/effort` command.+- **Explanation**: Option+T (macOS) or Alt+T toggles extended thinking on/off for the session. (`Ctrl+O` toggles verbose mode to show/hide the reasoning text.) On Opus 5.5 (the default model since v2.1.280), Sonnet 5.5 (what the `sonnet` alias resolves to on the Anthropic API since v2.1.284), Haiku 5.5 (what the `haiku` alias resolves to on the Anthropic API since v2.1.293), and the Fable models, thinking can't be turned off: the toggle, `alwaysThinkingEnabled` and `MAX_THINKING_TOKENS=0` have no effect there. For one-off deep reasoning, include "ultrathink" in your prompt; for session-level control, use the `/effort` command.- **Review**: Extended Thinking section### Q5@@ -820,11 +820,11 @@### Q8- **Category**: practical-- **Question**: How do you fork an existing session to try a different approach without losing the original?-- **Options**: A) Use `/fork` command | B) Use `--resume session-name --fork-session` | C) Use `--clone session-name` | D) Use `/branch session-name`+- **Question**: From your shell, how do you start a new session from the saved session `feature-auth` so the original session stays unchanged?+- **Options**: A) `claude --clone feature-auth` | B) `claude --resume feature-auth --fork-session` | C) `claude --branch feature-auth` | D) `claude --resume feature-auth`- **Correct**: B-- **Explanation**: `--fork-session` (used with `--resume` or `--continue`) creates a new session ID instead of reusing the original, so the original conversation is preserved.-- **Review**: Session management section+- **Explanation**: `--fork-session` (used with `--resume` or `--continue`) creates a new session ID instead of reusing the original, so the original conversation is preserved. Plain `--resume` reopens the same session and adds to it. Inside a running session, `/branch` does the equivalent and switches you into the copy; `/fork` copies the conversation into a new background session.+- **Review**: Session Fork section### Q9- **Category**: conceptual@@ -844,8 +844,8 @@----**Last Updated**: September 30, 2026-**Claude Code Version**: 2.1.285+**Last Updated**: October 10, 2026+**Claude Code Version**: 2.1.296**Sources**:- https://code.claude.com/docs/en/hooks- https://code.claude.com/docs/en/skills@@ -858,3 +858,6 @@- https://code.claude.com/docs/en/cli-reference- https://code.claude.com/docs/en/model-config#extended-thinking- https://code.claude.com/docs/en/plugins/install+- https://code.claude.com/docs/en/commands+- https://code.claude.com/docs/en/plugins/cli-reference+- https://code.claude.com/docs/en/pluginsdiff --git a/.claude/skills/self-assessment/SKILL.md b/.claude/skills/self-assessment/SKILL.mdindex c862a5f..2f89415 100644--- a/.claude/skills/self-assessment/SKILL.md+++ b/.claude/skills/self-assessment/SKILL.md@@ -1,6 +1,6 @@---name: self-assessment-version: 2.5.2+version: 2.5.3description: Comprehensive Claude Code self-assessment and learning path advisor. Runs a multi-category quiz covering 10 feature areas, produces a detailed skill profile with per-topic scores, identifies specific gaps, and generates a personalized learning path with prioritized next steps. Use when asked to "assess my level", "take the quiz", "find my level", "where should I start", "what should I learn next", "check my skills", "skill check", or "level up".---@@ -307,7 +307,7 @@ Use these specific recommendations when a topic is a gap:- Done when: A skill automatically activates based on conversation context**Skills (score 1 — review)**:-- Focus on: `context: fork` with `agent` field for subagent execution, `disable-model-invocation` vs `user-invocable`, the skill-listing budget (1% of the context window, fallback 8,000 characters, 250 characters per entry), bundled resources (scripts/, references/, assets/)+- Focus on: `context: fork` with `agent` field for subagent execution, `disable-model-invocation` vs `user-invocable`, the skill-listing budget (1% of the context window, fallback 8,000 characters; each entry's `description` + `when_to_use` capped at 1,536 characters by default via `skillListingMaxDescChars`), bundled resources (scripts/, references/, assets/)- Done when: You can create a skill that runs in a subagent with forked context**Hooks (score 0)**:@@ -317,7 +317,7 @@ Use these specific recommendations when a topic is a gap:- Done when: A hook blocks dangerous commands before execution**Hooks (score 1 — review)**:-- Focus on: All 33 hook events (including PostToolUseFailure, StopFailure, TaskCreated, CwdChanged, FileChanged, PostCompact, Elicitation, ElicitationResult, Setup, UserPromptExpansion, MessageDisplay, PreModelSwitch, PostModelSwitch — the last two added in v2.1.251), 5 hook types (command, http, mcp_tool, prompt, agent — agent hooks are experimental and may change), component-scoped hooks in SKILL.md frontmatter, HTTP hooks with allowedEnvVars, `CLAUDE_ENV_FILE` for SessionStart/CwdChanged/FileChanged+- Focus on: All 33 hook events (including PostToolUseFailure, StopFailure, TaskCreated, CwdChanged, FileChanged, PostCompact, Elicitation, ElicitationResult, Setup, UserPromptExpansion, MessageDisplay, PreModelSwitch, PostModelSwitch — the last two added in v2.1.251), 5 hook types (command, http, mcp_tool, prompt, agent — agent hooks are experimental and may change), component-scoped hooks in SKILL.md frontmatter, HTTP hooks with allowedEnvVars, `onFailure: "block"` to block the action when a command or HTTP hook fails (v2.1.295+), `CLAUDE_ENV_FILE` for SessionStart/CwdChanged/FileChanged- Done when: You can create a prompt-based Stop hook and a component-scoped hook in a skill**MCP (score 0)**:@@ -348,7 +348,7 @@ Use these specific recommendations when a topic is a gap:**Advanced Features (score 0)**:- Tutorial: [09-advanced-features/](../../../09-advanced-features/)-- Focus on: Planning mode (/plan or Shift+Tab), permission modes (6 types: manual — renamed from default in v2.1.200 — acceptEdits, plan, auto, dontAsk, bypassPermissions), extended thinking (Alt+T/Option+T toggle — no effect on Opus 5.5 (the default model), Sonnet 5.5, or the Fable models, where thinking stays on)+- Focus on: Planning mode (/plan or Shift+Tab), permission modes (6 types: manual — renamed from default in v2.1.200 — acceptEdits, plan, auto, dontAsk, bypassPermissions), extended thinking (Alt+T/Option+T toggle — no effect on Opus 5.5 (the default model), Sonnet 5.5, Haiku 5.5, or the Fable models, where thinking stays on)- Key exercise: Use planning mode to design a feature, then implement it- Done when: You can switch between planning and implementation modes fluently@@ -358,12 +358,12 @@ Use these specific recommendations when a topic is a gap:**Plugins (score 0)**:- Tutorial: [07-plugins/](../../../07-plugins/)-- Focus on: Plugin structure (.claude-plugin/plugin.json), what plugins bundle (skills, agents, MCP, hooks, settings — plus the legacy `commands/` directory, which still works but `skills/` is preferred for new plugins), installation from marketplace+- Focus on: Plugin structure (.claude-plugin/plugin.json), what plugins bundle (skills, agents, MCP, hooks, settings — plus the legacy `commands/` directory, which still works but `skills/` is preferred for new plugins), installation from marketplace (`/plugin install`, or `claude plugin install <plugin> --marketplace <source>` from the shell)- Key exercise: Install a plugin and explore its components- Done when: You understand when to use a plugin vs standalone components**Plugins (score 1 — review)**:-- Focus on: Creating plugin.json manifest, plugin hooks (hooks/hooks.json), LSP configuration (.lsp.json), `${CLAUDE_PLUGIN_ROOT}` variable, --plugin-dir for testing, marketplace publishing+- Focus on: Creating plugin.json manifest, plugin hooks (hooks/hooks.json), LSP configuration (.lsp.json), `${CLAUDE_PLUGIN_ROOT}` variable, --plugin-dir for testing, marketplace publishing, mods (hooks modules shipped in a plugin that add panes, commands, and tool-call rules — v2.1.287+)- Done when: You can create and test a plugin for your team**CLI (score 0)**:diff --git a/.claude/skills/self-assessment/references/topic-recommendations.md b/.claude/skills/self-assessment/references/topic-recommendations.mdindex 06f44ea..2196634 100644--- a/.claude/skills/self-assessment/references/topic-recommendations.md+++ b/.claude/skills/self-assessment/references/topic-recommendations.md@@ -29,7 +29,7 @@ Use these specific recommendations when a topic is a gap. Paths are relative to- Done when: A skill automatically activates based on conversation context**Skills (score 1 — review)**:-- Focus on: `context: fork` with `agent` field for subagent execution, `disable-model-invocation` vs `user-invocable`, the skill-listing budget (1% of the context window, fallback 8,000 characters, 250 characters per entry), bundled resources (scripts/, references/, assets/)+- Focus on: `context: fork` with `agent` field for subagent execution, `disable-model-invocation` vs `user-invocable`, the skill-listing budget (1% of the context window, fallback 8,000 characters; each entry's `description` + `when_to_use` capped at 1,536 characters by default via `skillListingMaxDescChars`), bundled resources (scripts/, references/, assets/)- Done when: You can create a skill that runs in a subagent with forked context**Hooks (score 0)**:@@ -39,7 +39,7 @@ Use these specific recommendations when a topic is a gap. Paths are relative to- Done when: A hook blocks dangerous commands before execution**Hooks (score 1 — review)**:-- Focus on: All 33 hook events (including PostToolUseFailure, StopFailure, TaskCreated, CwdChanged, FileChanged, PostCompact, Elicitation, ElicitationResult, Setup, UserPromptExpansion, MessageDisplay, PreModelSwitch, PostModelSwitch — the last two added in v2.1.251), 5 hook types (command, http, mcp_tool, prompt, agent — agent hooks are experimental and may change), component-scoped hooks in SKILL.md frontmatter, HTTP hooks with allowedEnvVars, `CLAUDE_ENV_FILE` for SessionStart/CwdChanged/FileChanged+- Focus on: All 33 hook events (including PostToolUseFailure, StopFailure, TaskCreated, CwdChanged, FileChanged, PostCompact, Elicitation, ElicitationResult, Setup, UserPromptExpansion, MessageDisplay, PreModelSwitch, PostModelSwitch — the last two added in v2.1.251), 5 hook types (command, http, mcp_tool, prompt, agent — agent hooks are experimental and may change), component-scoped hooks in SKILL.md frontmatter, HTTP hooks with allowedEnvVars, `onFailure: "block"` to block the action when a command or HTTP hook fails (v2.1.295+), `CLAUDE_ENV_FILE` for SessionStart/CwdChanged/FileChanged- Done when: You can create a prompt-based Stop hook and a component-scoped hook in a skill**MCP (score 0)**:@@ -70,7 +70,7 @@ Use these specific recommendations when a topic is a gap. Paths are relative to**Advanced Features (score 0)**:- Tutorial: [09-advanced-features/](../../../../09-advanced-features/)-- Focus on: Planning mode (/plan or Shift+Tab), permission modes (6 types: manual — renamed from default in v2.1.200 — acceptEdits, plan, auto, dontAsk, bypassPermissions), extended thinking (Alt+T/Option+T toggle — no effect on Opus 5.5 (the default model), Sonnet 5.5, or the Fable models, where thinking stays on)+- Focus on: Planning mode (/plan or Shift+Tab), permission modes (6 types: manual — renamed from default in v2.1.200 — acceptEdits, plan, auto, dontAsk, bypassPermissions), extended thinking (Alt+T/Option+T toggle — no effect on Opus 5.5 (the default model), Sonnet 5.5, Haiku 5.5, or the Fable models, where thinking stays on)- Key exercise: Use planning mode to design a feature, then implement it- Done when: You can switch between planning and implementation modes fluently@@ -80,12 +80,12 @@ Use these specific recommendations when a topic is a gap. Paths are relative to**Plugins (score 0)**:- Tutorial: [07-plugins/](../../../../07-plugins/)-- Focus on: Plugin structure (.claude-plugin/plugin.json), what plugins bundle (skills, agents, MCP, hooks, settings — plus the legacy `commands/` directory, which still works but `skills/` is preferred for new plugins), installation from marketplace+- Focus on: Plugin structure (.claude-plugin/plugin.json), what plugins bundle (skills, agents, MCP, hooks, settings — plus the legacy `commands/` directory, which still works but `skills/` is preferred for new plugins), installation from marketplace (`/plugin install`, or `claude plugin install <plugin> --marketplace <source>` from the shell)- Key exercise: Install a plugin and explore its components- Done when: You understand when to use a plugin vs standalone components**Plugins (score 1 — review)**:-- Focus on: Creating plugin.json manifest, plugin hooks (hooks/hooks.json), LSP configuration (.lsp.json), `${CLAUDE_PLUGIN_ROOT}` variable, --plugin-dir for testing, marketplace publishing+- Focus on: Creating plugin.json manifest, plugin hooks (hooks/hooks.json), LSP configuration (.lsp.json), `${CLAUDE_PLUGIN_ROOT}` variable, --plugin-dir for testing, marketplace publishing, mods (hooks modules shipped in a plugin that add panes, commands, and tool-call rules — v2.1.287+)- Done when: You can create and test a plugin for your team**CLI (score 0)**:@@ -100,8 +100,8 @@ Use these specific recommendations when a topic is a gap. Paths are relative to----**Last Updated**: September 30, 2026-**Claude Code Version**: 2.1.285+**Last Updated**: October 10, 2026+**Claude Code Version**: 2.1.296**Sources**:- https://code.claude.com/docs/en/hooks- https://code.claude.com/docs/en/memory@@ -113,3 +113,7 @@ Use these specific recommendations when a topic is a gap. Paths are relative to- https://code.claude.com/docs/en/plugins-reference- https://code.claude.com/docs/en/interactive-mode- https://code.claude.com/docs/en/model-config#extended-thinking+- https://code.claude.com/docs/en/settings-reference+- https://code.claude.com/docs/en/model-config+- https://code.claude.com/docs/en/plugins/mods/overview+- https://code.claude.com/docs/en/plugins/cli-referencediff --git a/01-slash-commands/README.md b/01-slash-commands/README.mdindex 7b84bb4..8b9caed 100644--- a/01-slash-commands/README.md+++ b/01-slash-commands/README.md@@ -43,7 +43,7 @@ Built-in commands are shortcuts for common actions. There are **60+ built-in com| `/desktop` | Continue in Desktop app (alias: `/app`) || `/diff` | Interactive diff viewer for uncommitted changes. In fullscreen rendering it instead opens a diff panel beside the conversation that stays open while you keep working — it lists changed files with added/removed line counts and refreshes every time Claude edits a file or runs a shell command; run `/diff` again or click `✕` to close it (v2.1.260+). The classic renderer opens the viewer in place of the prompt || `/doctor` | Diagnose installation health — openable while Claude is responding; shows status icons; press `f` to auto-fix issues (enhanced in v2.1.116; layout refreshed to a flat tree with clearer icons in v2.1.178); `/doctor prompt-audit` (also `/checkup prompt-audit`) audits CLAUDE.md files, skills, agents, and commands for prompting patterns written for older models (v2.1.283) |-| `/effort [low\|medium\|high\|xhigh\|max\|auto\|ultracode [on\|off]]` | Set effort level via interactive arrow-key slider. Levels: `low` → `medium` → `high` → `xhigh` (new in v2.1.111) → `max`. Default is `medium` on Opus 5.5 (the default model since v2.1.280) and Sonnet 5.5, `high` on Opus 5, Sonnet 5, and Opus 4.8, and `xhigh` on Opus 4.7; `xhigh` needs Opus 5.5, Sonnet 5.5, Opus 5, Sonnet 5, Opus 4.8, or Opus 4.7; `max` works on Opus 5.5, Sonnet 5.5, Opus 5, Sonnet 5, Opus 4.8/4.7/4.6 and Sonnet 4.6. A level saved before `/effort` became per-model doesn't apply to newly released models such as Opus 5.5 (v2.1.280). The slider also has an **Ultracode** toggle (Tab, or `/effort ultracode [on\|off]`) — not a model effort level: it has Claude orchestrate dynamic workflows at whichever effort level the session runs at. Since v2.1.284 it no longer forces `xhigh` and stays on when you change the level; `/effort ultracode` lasts for the session, and the `ultracode` setting makes it persist |+| `/effort [low\|medium\|high\|xhigh\|max\|auto\|ultracode [on\|off]]` | Set effort level via interactive arrow-key slider. Levels: `low` → `medium` → `high` → `xhigh` (new in v2.1.111) → `max`. Default is `medium` on Opus 5.5 (the default model since v2.1.280), Sonnet 5.5, and Haiku 5.5, `high` on Opus 5, Sonnet 5, and Opus 4.8, and `xhigh` on Opus 4.7; `xhigh` needs Opus 5.5, Sonnet 5.5, Haiku 5.5, Opus 5, Sonnet 5, Opus 4.8, or Opus 4.7; `max` works on Opus 5.5, Sonnet 5.5, Haiku 5.5, Opus 5, Sonnet 5, Opus 4.8/4.7/4.6 and Sonnet 4.6. A level saved before `/effort` became per-model doesn't apply to newly released models such as Opus 5.5 (v2.1.280). The slider also has an **Ultracode** toggle (Tab, or `/effort ultracode [on\|off]`) — not a model effort level: it has Claude orchestrate dynamic workflows at whichever effort level the session runs at. Since v2.1.284 it no longer forces `xhigh` and stays on when you change the level; `/effort ultracode` lasts for the session, and the `ultracode` setting makes it persist || `/exit` | Exit the REPL (alias: `/quit`) || `/export [filename]` | Export the current conversation to a file or clipboard || `/usage-credits` | Configure extra usage for rate limits (renamed from `/extra-usage` in v2.1.144; `/extra-usage` still works as an alias) |@@ -120,7 +120,7 @@ These skills ship with Claude Code and are invoked like slash commands:| `/debug [description]` | Enable debug logging || `/design [description]` | Create a **design canvas** — a multi-artboard visual design (UI mockups, screen flows, landing pages, posters) published as an artifact and refined visually rather than in code. Use it instead of hand-writing HTML when the layout is what you want to iterate on. Research preview; requires v2.1.233+ and a Pro, Max, Team, or Enterprise plan || `/loop [interval] <prompt>` | Run prompt repeatedly on interval |-| `/code-review [low\|medium\|high\|xhigh\|max\|ultra] [--fix] [--comment] [pr#\|branch\|path]` | Review the current diff — or a PR number, branch, or path you pass — for correctness bugs. Pass `--fix` to apply findings, `--comment` to post them as inline GitHub PR comments, or `ultra` to run a deep cloud review; with `ultra` on a `github.com` PR target, `--post` preselects posting the findings to the PR. With no effort level given, the review reuses the last level you typed (v2.1.223). Originally absorbed `/simplify` in v2.1.146, but `/simplify` returned as a distinct command in v2.1.154 |+| `/code-review [low\|medium\|high\|xhigh\|max\|ultra] [--fix] [--comment] [--max-findings n\|all\|default] [pr#\|branch\|path]` | Review the current diff — or a PR number, branch, or path you pass — for correctness bugs. Pass `--fix` to apply findings, `--comment` to post them as inline GitHub PR comments, or `ultra` to run a deep cloud review; with `ultra` on a `github.com` PR target, `--post` preselects posting the findings to the PR. With no effort level given, the review reuses the last level you typed (v2.1.223). Originally absorbed `/simplify` in v2.1.146, but `/simplify` returned as a distinct command in v2.1.154. Pass `--max-findings <n>\|all` to report more or fewer findings than the usual limit; the choice is reused until you pass `--max-findings default` (v2.1.288) || `/simplify` | Run a cleanup-only review (reuse / simplification / efficiency / altitude) and apply the fixes; does **not** hunt for bugs — use `/code-review` for that. Briefly an alias of `/code-review --fix` (v2.1.152), it became cleanup-only in v2.1.154 |### Deprecated Commands@@ -651,8 +651,8 @@ If both exist with the same name, the **skill takes precedence**. Remove one or----**Last Updated**: September 30, 2026-**Claude Code Version**: 2.1.285+**Last Updated**: October 10, 2026+**Claude Code Version**: 2.1.296**Sources**:- https://code.claude.com/docs/en/output-styles- https://code.claude.com/docs/en/skillsdiff --git a/02-memory/README.md b/02-memory/README.mdindex 23a764f..3d753df 100644--- a/02-memory/README.md+++ b/02-memory/README.md@@ -226,7 +226,7 @@ Within the directory tree, Claude Code walks up from your working directory: `foOrganizations can also put managed CLAUDE.md content directly inside `managed-settings.json` via the `claudeMd` key, instead of deploying a separate file. This is honored only in managed/policy settings — setting `claudeMd` in user or project settings has no effect.-**`.claude/rules/*.md`** — modular, topic-specific instructions, optionally scoped to file paths via `paths` frontmatter. Rules without a `paths` field load unconditionally with the same priority as `.claude/CLAUDE.md`; path-scoped rules load on demand when Claude reads a matching file. User-level rules (`~/.claude/rules/`) load before project rules.+**`.claude/rules/*.md`** — modular, topic-specific instructions, optionally scoped to file paths via `paths` frontmatter. Rules without a `paths` field load unconditionally with the same priority as `.claude/CLAUDE.md`; path-scoped rules load on demand when Claude reads, writes, or edits a matching file — including viewing it with a single-file Bash read such as `cat`, `head`, `tail`, `sed -n`, or `grep` (Write/Edit since v2.1.288, Bash reads since v2.1.293). User-level rules (`~/.claude/rules/`) load before project rules.**Auto memory** (`~/.claude/projects/<project>/memory/`) is a separate system: Claude's own notes, not CLAUDE.md content, and not part of the concatenation order above. See [Auto Memory](#auto-memory) below.@@ -736,7 +736,7 @@ Claude will load CLAUDE.md from the specified additional directory alongside theThis file supplements root CLAUDE.md for everything in /src/api/. Memory files areconcatenated, not overridden — the root CLAUDE.md still applies, and Claude Code-loads this file on demand when it reads files in this subtree.+loads this file on demand when it reads, writes, or edits files in this subtree.## API-Specific Standards@@ -1168,7 +1168,7 @@ If you prefer manual setup:This file supplements root CLAUDE.md for this directory. Memory files areconcatenated, not overridden — Claude Code loads this file on demand when it- reads files in this directory.+ reads, writes, or edits files in this directory.## [Specific Standards]EOF@@ -1244,11 +1244,13 @@ Auto Memory is a separate mechanism (`~/.claude/projects/<project>/memory/`), no----**Last Updated**: September 30, 2026-**Claude Code Version**: 2.1.285+**Last Updated**: October 10, 2026+**Claude Code Version**: 2.1.296**Sources**:- https://code.claude.com/docs/en/memory- https://code.claude.com/docs/en/memory#agents-md- https://code.claude.com/docs/en/memory#when-agents-md-support-is-unavailable- https://github.com/anthropics/claude-code/releases/tag/v2.1.284+- https://github.com/anthropics/claude-code/releases/tag/v2.1.288+- https://github.com/anthropics/claude-code/releases/tag/v2.1.293**Compatible Models**: Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5diff --git a/02-memory/directory-api-CLAUDE.md b/02-memory/directory-api-CLAUDE.mdindex c25f269..bf2a416 100644--- a/02-memory/directory-api-CLAUDE.md+++ b/02-memory/directory-api-CLAUDE.md@@ -2,7 +2,7 @@This file supplements root CLAUDE.md for everything in /src/api/. Memory files areconcatenated, not overridden — the root CLAUDE.md still applies, and Claude Code-loads this file on demand when it reads files in this subtree.+loads this file on demand when it reads, writes, or edits files in this subtree.## API-Specific Standards@@ -63,8 +63,10 @@ Error responses:- Tag cache keys with resource type----**Last Updated**: August 4, 2026-**Claude Code Version**: 2.1.220+**Last Updated**: October 10, 2026+**Claude Code Version**: 2.1.296**Sources**:- https://code.claude.com/docs/en/memory+- https://github.com/anthropics/claude-code/releases/tag/v2.1.288+- https://github.com/anthropics/claude-code/releases/tag/v2.1.293**Compatible Models**: Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5diff --git a/03-skills/README.md b/03-skills/README.mdindex 1753fd4..8969057 100644--- a/03-skills/README.md+++ b/03-skills/README.md@@ -183,7 +183,7 @@ paths: "src/api/**/*.ts" # Glob patterns limiting when skill activ| `allowed-tools` | Comma-separated list of tools the skill may use without permission prompts. || `disallowed-tools` | Comma-separated list of tools to remove while the skill is active (complements `allowed-tools`). Added v2.1.152. || `model` | Model override while the skill is active (e.g., `opus`, `sonnet`). |-| `effort` | Effort level override while the skill is active: `low`, `medium`, `high`, `xhigh`, or `max` — all five are supported on Opus 5.5, Sonnet 5.5, Opus 5, Sonnet 5, Opus 4.8, and Opus 4.7. The default effort is `high` on every model that supports effort, except Opus 5.5 and Sonnet 5.5, which default to `medium`, and Opus 4.7, which defaults to `xhigh`. |+| `effort` | Effort level override while the skill is active: `low`, `medium`, `high`, `xhigh`, or `max` — all five are supported on Opus 5.5, Sonnet 5.5, Haiku 5.5, Opus 5, Sonnet 5, Opus 4.8, and Opus 4.7. The default effort is `high` on every model that supports effort, except Opus 5.5, Sonnet 5.5, and Haiku 5.5, which default to `medium`, and Opus 4.7, which defaults to `xhigh`. || `context` | `fork` to run the skill in a forked subagent context with its own context window. || `agent` | Subagent type when `context: fork` (e.g., `Explore`, `Plan`, `general-purpose`). || `background` | Only meaningful with `context: fork`. Defaults to `true` for `context: fork` skills, so they run in the background; set `false` to run them in the foreground. Added v2.1.218. |@@ -779,7 +779,7 @@ If Claude uses your skill when you don't want it:### Claude Doesn't See All Skills-Skill descriptions are loaded at **1% of the context window** (fallback: **8,000 characters**). Each entry is capped at 250 characters regardless of budget. Run `/context` to check for warnings about excluded skills. Override the budget with the `SLASH_COMMAND_TOOL_CHAR_BUDGET` environment variable.+Skill descriptions are loaded at **1% of the context window** (fallback: **8,000 characters**). Each entry's `description` + `when_to_use` is capped at 1,536 characters by default (`skillListingMaxDescChars`). Run `/context` to check for warnings about excluded skills. Override the budget with the `SLASH_COMMAND_TOOL_CHAR_BUDGET` environment variable.## Security Considerations@@ -852,6 +852,8 @@ Claude Code ships with a set of built-in skills that are always available withou| `/simplify` | Cleanup-only review — reuse, simplification, efficiency, altitude — and applies the fixes. Split back out from `/code-review` in v2.1.154 || `/verify` *(v2.1.145+)* | Build, run, and observe the app to confirm a fix works (not just that tests pass) (explicit invocation only since v2.1.215 — Claude won't trigger this on its own) |+> **Note**: If your project or user skills include one named `verify`, Claude runs it right before committing, except for docs-only and tests-only commits (v2.1.286).+These skills are available out-of-the-box and do not need to be installed or configured. They follow the same SKILL.md format as custom skills.## Sharing Skills@@ -897,12 +899,14 @@ Once you start building skills seriously, two things become essential: a library----**Last Updated**: September 30, 2026-**Claude Code Version**: 2.1.285+**Last Updated**: October 10, 2026+**Claude Code Version**: 2.1.296**Sources**:- https://code.claude.com/docs/en/skills- https://code.claude.com/docs/en/slash-commands- https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md- https://code.claude.com/docs/en/model-config- https://code.claude.com/docs/en/model-config#adjust-effort-level+- https://code.claude.com/docs/en/settings-reference+- https://github.com/anthropics/claude-code/releases/tag/v2.1.286**Compatible Models**: Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5diff --git a/04-subagents/README.md b/04-subagents/README.mdindex 09529ea..010e192 100644--- a/04-subagents/README.md+++ b/04-subagents/README.md@@ -134,17 +134,18 @@ to solving problems.| `model` | No | Model to use: `sonnet`, `opus`, `haiku`, full model ID, or `inherit`. Defaults to configured subagent model || `permissionMode` | No | `manual` (renamed from `default` in v2.1.200 — `default` is still accepted as the older name), `acceptEdits`, `dontAsk`, `bypassPermissions`, `plan`, `auto`. As of v2.1.212, the Task tool's `mode` invocation parameter is deprecated and ignored — subagents inherit the parent session's permission mode by default unless overridden here || `maxTurns` | No | Maximum number of agentic turns the subagent can take |-| `skills` | No | Comma-separated list of skills to preload. Injects full skill content into the subagent's context at startup. **v2.1.133+:** subagents also discover project, user, and plugin skills via the Skill tool — same catalog as the main session, no longer limited to their own embedded set. |+| `skills` | No | Comma-separated list of skills to preload. Injects full skill content into the subagent's context at startup. **v2.1.133+:** subagents also discover project, user, and plugin skills via the Skill tool — same catalog as the main session, no longer limited to their own embedded set. At most 32 skills are preloaded, each once; a subagent with the Skill tool can still invoke the rest (v2.1.295). || `mcpServers` | No | MCP servers to make available to the subagent || `hooks` | No | Component-scoped hooks (PreToolUse, PostToolUse, Stop) || `memory` | No | Persistent memory directory scope: `user`, `project`, or `local` || `background` | No | Subagents already run in the background by default (v2.1.198). Set to `true` to *force* background always and prevent inline execution |-| `effort` | No | Reasoning effort level: `low`, `medium`, `high`, `xhigh`, or `max`. Overrides the session effort level; available levels depend on the model |+| `effort` | No | Reasoning effort level: `low`, `medium`, `high`, `xhigh`, or `max`. Overrides the session effort level; available levels depend on the model. Claude can also pass an `effort` value when it calls the Agent tool (v2.1.292). || `isolation` | No | Set to `worktree` to give the subagent its own git worktree || `initialPrompt` | No | Auto-submitted first turn when the subagent runs as the main agent || `color` | No | Display color for the subagent in the task list and transcript. Accepts `red`, `blue`, `green`, `yellow`, `purple`, `orange`, `pink`, or `cyan` || `experimental` | No | Experimental settings block (v2.1.248+). `experimental.cacheTtl` sets the cache TTL for this subagent — `"5m"` or `"1h"` || `omitClaudeMd` | No | Set to `true` to launch the subagent without the user, project, and local CLAUDE.md files (v2.1.271+). Managed policy files still load, except for managed subagents. Ignored when the agent runs as the main session agent via `--agent` or the `agent` setting. Also accepted in `--agents` JSON |+| `autoCompactWindow` | No | Auto-compact this subagent's context earlier than the main conversation's window (v2.1.296+; also accepted in `--agents` JSON) |#### Subagent Model Environment Variables@@ -1332,8 +1333,8 @@ See the OpenTelemetry section in [Advanced Features → Telemetry](../09-advance----**Last Updated**: September 26, 2026-**Claude Code Version**: 2.1.283+**Last Updated**: October 10, 2026+**Claude Code Version**: 2.1.296**Sources**:- https://code.claude.com/docs/en/sub-agents- https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md@@ -1348,4 +1349,5 @@ See the OpenTelemetry section in [Advanced Features → Telemetry](../09-advance- https://github.com/anthropics/claude-code/releases/tag/v2.1.140- https://code.claude.com/docs/en/model-config- https://code.claude.com/docs/en/interactive-mode+- https://github.com/anthropics/claude-code/releases/tag/v2.1.296**Compatible Models**: Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5diff --git a/05-mcp/README.md b/05-mcp/README.mdindex d1edddb..786d6a7 100644--- a/05-mcp/README.md+++ b/05-mcp/README.md@@ -292,6 +292,14 @@ keep its tools always available:Use sparingly — every always-loaded tool consumes context that couldotherwise be used for tool search to surface a more relevant tool.+To keep all of a server's tools behind tool search, set+`"alwaysLoad": false` in that server's entry (v2.1.287+). That includes+tools the server's author has marked to load up front; if you leave+`alwaysLoad` out, those marked tools load up front. Server authors mark+an individual tool by setting `"anthropic/alwaysLoad"` in that tool's+`_meta` object, and the server-level `alwaysLoad` setting in your+configuration can override it.+## Dynamic Tool UpdatesClaude Code supports MCP `list_changed` notifications. When an MCP server dynamically adds, removes, or modifies its available tools, Claude Code receives the update and adjusts its tool list automatically -- no reconnection or restart required.@@ -306,7 +314,7 @@ MCP servers can request structured input from the user via interactive dialogs (## Tool Description and Instruction Cap-As of v2.1.84, Claude Code enforces a **2 KB cap** on tool descriptions and instructions per MCP server. This prevents individual servers from consuming excessive context with overly verbose tool definitions, reducing context bloat and keeping interactions efficient. Since v2.1.280, you can change this 2,048-character cap with the `CLAUDE_CODE_MAX_MCP_DESCRIPTION_LENGTH` environment variable.+As of v2.1.84, Claude Code enforces a **2 KB cap** on tool descriptions and instructions per MCP server. This prevents individual servers from consuming excessive context with overly verbose tool definitions, reducing context bloat and keeping interactions efficient. Since v2.1.280, you can change this 2,048-character cap with the `CLAUDE_CODE_MAX_MCP_DESCRIPTION_LENGTH` environment variable. As of v2.1.296 the default is **4,096 characters** for descriptions sent up front and for server instructions (v2.1.296), and descriptions Claude loads through tool search are cut at **16,384 characters** (v2.1.295).## MCP Prompts as Slash Commands@@ -1300,8 +1308,8 @@ export GITHUB_TOKEN="your_token"----**Last Updated**: September 30, 2026-**Claude Code Version**: 2.1.285+**Last Updated**: October 10, 2026+**Claude Code Version**: 2.1.296**Sources**:- https://code.claude.com/docs/en/mcp- https://code.claude.com/docs/en/managed-mcp@@ -1313,4 +1321,5 @@ export GITHUB_TOKEN="your_token"- https://code.claude.com/docs/en/mcp#configure-tool-search- https://code.claude.com/docs/en/env-vars- https://github.com/anthropics/claude-code/releases/tag/v2.1.285+- https://github.com/anthropics/claude-code/releases/tag/v2.1.296**Compatible Models**: Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5diff --git a/06-hooks/README.md b/06-hooks/README.mdindex 904e2f3..4635678 100644--- a/06-hooks/README.md+++ b/06-hooks/README.md@@ -63,6 +63,7 @@ Hooks are configured in settings files with a specific structure:| `asyncRewake` | If `true`, runs in the background and wakes Claude on exit code 2. Implies `async`. | `true` || `shell` | Accepts `"bash"` or `"powershell"`. Defaults to `"bash"`, or to `"powershell"` on Windows when Git Bash isn't installed. | `"bash"` || `statusMessage` | Custom spinner message displayed while the hook runs | `"Formatting…"` |+| `onFailure` | What happens to the action when a command or HTTP hook fails (can't start, times out, exits with an unexpected code): `"continue"` (default) or `"block"` (v2.1.295+) | `"block"` |> **Note**: Some events lower the default timeout. `UserPromptSubmit` lowers the `command`, `http`, and `mcp_tool` default to 30 seconds, and `MessageDisplay` lowers it to 10 seconds. `SessionEnd` hooks share a 1.5-second budget; if your settings set a longer per-hook `timeout`, Claude Code raises that budget to match, up to 60 seconds.@@ -1629,8 +1630,8 @@ Edit `~/.claude/settings.json` or `.claude/settings.json` with the hook configur----**Last Updated**: September 26, 2026-**Claude Code Version**: 2.1.283+**Last Updated**: October 10, 2026+**Claude Code Version**: 2.1.296**Sources**:- https://code.claude.com/docs/en/hooks- https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md@@ -1638,4 +1639,5 @@ Edit `~/.claude/settings.json` or `.claude/settings.json` with the hook configur- https://code.claude.com/docs/en/permissions- https://code.claude.com/docs/en/tools-reference#task-tool-availability- https://code.claude.com/docs/en/plugins/manifest-reference#quoting-and-path-separators+- https://github.com/anthropics/claude-code/releases/tag/v2.1.295**Compatible Models**: Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5diff --git a/07-plugins/README.md b/07-plugins/README.mdindex 85260dd..1ec2c07 100644--- a/07-plugins/README.md+++ b/07-plugins/README.md@@ -331,6 +331,22 @@ Plugins can be defined inline in settings files as marketplace entries using the}```+## Mods (v2.1.287+)++A mod is a plugin that changes how Claude Code looks and behaves. Its code is a JavaScript or TypeScript hooks module: event handlers that Claude Code calls when something happens, such as a tool call, a submitted prompt, or part of the interface being drawn. Each handler can observe the event, rewrite it, or answer it itself. A mod installs like any other plugin (`/plugin install <plugin>@<marketplace>`), can ship in the same plugin as skills and MCP servers, and runs with your permissions, so install mods only from authors and marketplaces you trust. Mods work in the Claude Code CLI (v2.1.287+) and in the Code tab of the Claude Desktop app.++| What a mod can do | Example |+|-------------------|---------|+| Draw panes and a band above the prompt | A pane beside the transcript or a band above the prompt, with tabs, buttons, and text fields |+| Add commands | A `/command` that runs your function at once, with no Claude turn, even while Claude is working |+| Guard or change tool calls | Hold a tool call while you ask the user a question, refuse it, or answer it without running the tool |+| React to events | Follow tool calls, prompts, and turns; a mod's hooks share variables, so one can count tool calls while another shows the count beside the spinner |+| Call the mods API | Call a model, read and write files, start processes, or make network requests (a hook can do these only through the mods API) |++To create a mod, describe what you want in a Claude Code session: Claude works from the built-in `plugin-authoring` skill (or run `/plugin-authoring` yourself), writes the mod, and, once you enable hot reloading for the session, reloads it at the end of each turn that changes it; `claude plugin validate` checks a mod without running it. Administrators decide whether mods run, and which ones, through managed settings — for example, `allowManagedModsOnly` lets only your organization's mods and the mods built into Claude Code run their hooks.++> **Note**: See the official [Mods overview](https://code.claude.com/docs/en/plugins/mods/overview), [Create a mod](https://code.claude.com/docs/en/plugins/mods/create), and [Mods reference](https://code.claude.com/docs/en/plugins/mods/reference).+## Plugin SettingsPlugins can ship a `settings.json` file to provide default configuration. This currently supports the `agent` key, which sets the main thread agent for the plugin:@@ -875,10 +891,11 @@ claude plugin install my-plugin@my-marketplace --accept-command <sha256>### Installing from a marketplace you haven't added (v2.1.275+)-In a session, `/plugin install <plugin> --marketplace <source>` names the marketplace inline and offers to add it before installing, so discovering and adding a marketplace is no longer a separate step. This is the in-session slash-command form, not a `claude plugin` CLI flag.+In a session, `/plugin install <plugin> --marketplace <source>` names the marketplace inline and offers to add it before installing, so discovering and adding a marketplace is no longer a separate step. From your shell, `claude plugin install <plugin> --marketplace <source>` does the same (v2.1.292+): it adds the marketplace if needed, under the same policy checks as `claude plugin marketplace add`, then installs the plugin.```bash/plugin install code-reviewer --marketplace anthropics/claude-code-plugins+claude plugin install code-reviewer --marketplace anthropics/claude-code-plugins # same, from your shell (v2.1.292+)```## Installation Methods@@ -1310,8 +1327,8 @@ The following Claude Code features work together with plugins:----**Last Updated**: September 30, 2026-**Claude Code Version**: 2.1.285+**Last Updated**: October 10, 2026+**Claude Code Version**: 2.1.296**Sources**:- https://code.claude.com/docs/en/plugins- https://code.claude.com/docs/en/plugins-reference@@ -1337,4 +1354,9 @@ The following Claude Code features work together with plugins:- https://github.com/anthropics/claude-code/releases/tag/v2.1.283- https://code.claude.com/docs/en/plugins/install- https://github.com/anthropics/claude-code/releases/tag/v2.1.285+- https://code.claude.com/docs/en/plugins/mods/overview+- https://code.claude.com/docs/en/plugins/mods/create+- https://code.claude.com/docs/en/plugins/mods/reference+- https://github.com/anthropics/claude-code/releases/tag/v2.1.287+- https://github.com/anthropics/claude-code/releases/tag/v2.1.292**Compatible Models**: Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5diff --git a/09-advanced-features/README.md b/09-advanced-features/README.mdindex d2972d6..6f32726 100644--- a/09-advanced-features/README.md+++ b/09-advanced-features/README.md@@ -225,11 +225,11 @@ Extended thinking is a deliberate, step-by-step reasoning process where Claude:### Activating Extended Thinking**Keyboard shortcut**:-- `Option + T` (macOS) / `Alt + T` (Windows/Linux) - Toggle extended thinking. On Opus 5.5 (the default model since v2.1.280), Sonnet 5.5, and the Fable models, thinking can't be turned off — the toggle, `alwaysThinkingEnabled`, and `MAX_THINKING_TOKENS=0` have no effect there.+- `Option + T` (macOS) / `Alt + T` (Windows/Linux) - Toggle extended thinking. On Opus 5.5 (the default model since v2.1.280), Sonnet 5.5, Haiku 5.5, and the Fable models, thinking can't be turned off — the toggle, `alwaysThinkingEnabled`, and `MAX_THINKING_TOKENS=0` have no effect there.**Automatic activation**:- Enabled by default for all models (Opus 5, Opus 4.8, Opus 4.7, Sonnet 4.6, Haiku 4.5)-- Opus 5 / Opus 4.8: Adaptive reasoning with effort levels: `low` (○), `medium` (◐), `high` (●), `xhigh`, `max`. The default is `medium` on Opus 5.5 (the default model since v2.1.280) and Sonnet 5.5, `high` on Opus 5 (v2.1.219), Sonnet 5, Opus 4.8 (v2.1.154), Opus 4.6, and Sonnet 4.6, and `xhigh` on Opus 4.7. `xhigh` is available on Opus 5.5, Sonnet 5.5, Opus 5, Sonnet 5, Opus 4.8, and Opus 4.7 (it falls back to `high` on Opus 4.6 / Sonnet 4.6). `max` works on Opus 5.5, Sonnet 5.5, Opus 5, Sonnet 5, and Opus 4.8/4.7/4.6 and Sonnet 4.6 (session-only). Haiku 4.5 has no effort levels. Opus 5, Opus 4.8, and Opus 4.7 have 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). Since v2.1.129, `/context` shows its visualization in-UI only; the ASCII viz no longer leaks into the conversation context (~1.6k tokens saved per call), so `/context` is safe to invoke freely.+- Opus 5 / Opus 4.8: Adaptive reasoning with effort levels: `low` (○), `medium` (◐), `high` (●), `xhigh`, `max`. The default is `medium` on Opus 5.5 (the default model since v2.1.280), Sonnet 5.5, and Haiku 5.5, `high` on Opus 5 (v2.1.219), Sonnet 5, Opus 4.8 (v2.1.154), Opus 4.6, and Sonnet 4.6, and `xhigh` on Opus 4.7. `xhigh` is available on Opus 5.5, Sonnet 5.5, Haiku 5.5, Opus 5, Sonnet 5, Opus 4.8, and Opus 4.7 (it falls back to `high` on Opus 4.6 / Sonnet 4.6). `max` works on Opus 5.5, Sonnet 5.5, Haiku 5.5, Opus 5, Sonnet 5, and Opus 4.8/4.7/4.6 and Sonnet 4.6 (session-only). Haiku 4.5 has no effort levels. Opus 5, Opus 4.8, and Opus 4.7 have 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). Since v2.1.129, `/context` shows its visualization in-UI only; the ASCII viz no longer leaks into the conversation context (~1.6k tokens saved per call), so `/context` is safe to invoke freely.- 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@@ -243,9 +243,9 @@ Extended thinking is a deliberate, step-by-step reasoning process where Claude:export MAX_THINKING_TOKENS=1024```-**Effort level** (supported on Opus 5.5, Sonnet 5.5, Opus 5, Sonnet 5, Opus 4.8, Opus 4.7, Opus 4.6, and Sonnet 4.6 — not Haiku 4.5):+**Effort level** (supported on Opus 5.5, Sonnet 5.5, Haiku 5.5, Opus 5, Sonnet 5, Opus 4.8, Opus 4.7, Opus 4.6, and Sonnet 4.6 — not Haiku 4.5):```bash-export CLAUDE_CODE_EFFORT_LEVEL=high # low (○), medium (◐), high (●), xhigh (Opus 5.5, Sonnet 5.5, Opus 5, Sonnet 5, Opus 4.8/4.7), or max — default is high on Opus 5 and Opus 4.8+export CLAUDE_CODE_EFFORT_LEVEL=high # low (○), medium (◐), high (●), xhigh (Opus 5.5, Sonnet 5.5, Haiku 5.5, Opus 5, Sonnet 5, Opus 4.8/4.7), or max — default is high on Opus 5 and Opus 4.8```**CLI flag**:@@ -258,7 +258,7 @@ claude --effort high "complex architectural review"/effort high```-> **Note:** The keyword "ultrathink" in prompts activates deep reasoning mode. Effort levels `low`, `medium`, `high`, and `max` are supported on Opus 5.5, Sonnet 5.5, Opus 5, Sonnet 5, Opus 4.8, Opus 4.7, Opus 4.6, and Sonnet 4.6 (Haiku 4.5 has none). `xhigh` is available on Opus 5.5, Sonnet 5.5, Opus 5, Sonnet 5, Opus 4.8, and Opus 4.7. The default effort is `medium` on Opus 5.5 and Sonnet 5.5, `high` on Opus 5, Sonnet 5, Opus 4.8 (and Opus 4.6 / Sonnet 4.6) and `xhigh` on Opus 4.7. Unlike Opus 4.8 and Opus 4.7, which pin their default effort on first run, Opus 5 has no such hold — a level you previously set carries over. The `/effort` slider also has an **Ultracode** toggle (Tab, or `/effort ultracode [on|off]`), which is **not** a model effort level — it has Claude orchestrate dynamic workflows at whichever effort level the session runs at. Since v2.1.284 it no longer forces `xhigh` and stays on when you change the level; `--effort ultracode` and the Agent SDK's `effortLevel: "ultracode"` still set `xhigh`.+> **Note:** The keyword "ultrathink" in prompts activates deep reasoning mode. Effort levels `low`, `medium`, `high`, and `max` are supported on Opus 5.5, Sonnet 5.5, Haiku 5.5, Opus 5, Sonnet 5, Opus 4.8, Opus 4.7, Opus 4.6, and Sonnet 4.6 (Haiku 4.5 has none). `xhigh` is available on Opus 5.5, Sonnet 5.5, Haiku 5.5, Opus 5, Sonnet 5, Opus 4.8, and Opus 4.7. The default effort is `medium` on Opus 5.5, Sonnet 5.5, and Haiku 5.5, `high` on Opus 5, Sonnet 5, Opus 4.8 (and Opus 4.6 / Sonnet 4.6) and `xhigh` on Opus 4.7. Unlike Opus 4.8 and Opus 4.7, which pin their default effort on first run, Opus 5 has no such hold — a level you previously set carries over. The `/effort` slider also has an **Ultracode** toggle (Tab, or `/effort ultracode [on|off]`), which is **not** a model effort level — it has Claude orchestrate dynamic workflows at whichever effort level the session runs at. Since v2.1.284 it no longer forces `xhigh` and stays on when you change the level; `--effort ultracode` and the Agent SDK's `effortLevel: "ultracode"` still set `xhigh`.### Safety-Classifier Fallback on Opus 5@@ -363,19 +363,19 @@ Extended thinking is controlled via environment variables, keyboard shortcuts, a# Set thinking token budgetexport MAX_THINKING_TOKENS=16000-# Set effort level (Opus 5.5, Sonnet 5.5, Opus 5, Sonnet 5, Opus 4.8, Opus 4.7, Opus 4.6, Sonnet 4.6): low (○), medium (◐), high (●), xhigh (Opus 5.5, Sonnet 5.5, Opus 5, Sonnet 5, Opus 4.8/4.7), or max — default is high on Opus 5 and Opus 4.8+# Set effort level (Opus 5.5, Sonnet 5.5, Haiku 5.5, Opus 5, Sonnet 5, Opus 4.8, Opus 4.7, Opus 4.6, Sonnet 4.6): low (○), medium (◐), high (●), xhigh (Opus 5.5, Sonnet 5.5, Haiku 5.5, Opus 5, Sonnet 5, Opus 4.8/4.7), or max — default is high on Opus 5 and Opus 4.8export CLAUDE_CODE_EFFORT_LEVEL=high```Toggle during a session with `Alt+T` / `Option+T`, set effort with `/effort`, or configure via `/config`.-> **Lean system prompt (v2.1.154):** The lean system prompt is now the **default** for all models except Haiku, Sonnet, and Opus 4.7-and-earlier, reducing baseline token overhead on Opus 5 and Opus 4.8.+> **Lean system prompt (v2.1.154):** The lean system prompt is now the **default** for all models except Haiku 4.5, Sonnet 5, Opus 4.7, and earlier models in those families (Haiku 5.5 and Sonnet 5.5 use it too), reducing baseline token overhead on Opus 5 and Opus 4.8.---## Auto Mode-Auto Mode is a permission mode that uses a background safety classifier to review each action before execution. It allows Claude to work autonomously while blocking dangerous operations. It's available on all plans, but requires an eligible model (Claude Opus 4.6 or later, Sonnet 4.6 or later, or a Fable model on the Anthropic API and Claude Platform on AWS; Sonnet 5 or later, Opus 4.7 or later, or a Fable model on Bedrock, Vertex, Foundry, and signed-in Claude apps gateway sessions). On Team and Enterprise it is on by default — administrators can turn it off for the organization in managed settings.+Auto Mode is a permission mode that uses a background safety classifier to review each action before execution. It allows Claude to work autonomously while blocking dangerous operations. It's available on all plans, but requires an eligible model (Claude Opus 4.6 or later, Sonnet 4.6 or later, Haiku 5.5, or a Fable model on the Anthropic API and Claude Platform on AWS; Sonnet 5 or later, Opus 4.7 or later, Haiku 5.5, or a Fable model on Bedrock, Vertex, Foundry, and signed-in Claude apps gateway sessions). On Team and Enterprise it is on by default — administrators can turn it off for the organization in managed settings.### Requirements@@ -383,7 +383,7 @@ Auto mode is available only when your account meets all of these requirements:- **Plan**: all plans.- **Organization**: on Team and Enterprise, auto mode is available by default. Administrators can turn it off for the organization by setting `permissions.disableAutoMode` to `"disable"` in managed settings.-- **Model**: on the Anthropic API and Claude Platform on AWS — Claude Opus 4.6 or later, Sonnet 4.6 or later, or a Fable model. On Amazon Bedrock, Google Cloud's Agent Platform (Vertex AI), Microsoft Foundry, and signed-in Claude apps gateway sessions — only Claude Sonnet 5 or later, Opus 4.7 or later, and the Fable models. Older models — Sonnet 4.5, Opus 4.5, Haiku, and claude-3 models — are not supported on any provider.+- **Model**: on the Anthropic API and Claude Platform on AWS — Claude Opus 4.6 or later, Sonnet 4.6 or later, Haiku 5.5, or a Fable model. On Amazon Bedrock, Google Cloud's Agent Platform (Vertex AI), Microsoft Foundry, and signed-in Claude apps gateway sessions — only Claude Sonnet 5 or later, Opus 4.7 or later, Haiku 5.5 (v2.1.293+), and the Fable models. Older models — Sonnet 4.5, Opus 4.5, Haiku 4.5, and claude-3 models — are not supported on any provider.- **Provider**: available by default on the Anthropic API, Claude Platform on AWS, Amazon Bedrock, Google Cloud's Agent Platform (Vertex AI), Microsoft Foundry, and signed-in Claude apps gateway sessions. In v2.1.158 through v2.1.206, auto mode was off on all of these except the Anthropic API and Claude Platform on AWS until you set `CLAUDE_CODE_ENABLE_AUTO_MODE=1`; v2.1.207 removed the requirement. The variable is still accepted for compatibility and has no effect from v2.1.207 onward.- **Classifier**: adds extra token cost, except on Enterprise plans and Claude API accounts, where v2.1.278+ runs the check server-side at no charge@@ -694,7 +694,7 @@ export CLAUDE_CODE_DISABLE_BACKGROUND_TASKS=trueConcurrency is not a background-task setting either — how many agents run at once is governed by `CLAUDE_CODE_MAX_CONCURRENT_SUBAGENTS` (default `20`).-Background Bash and PowerShell commands have a time limit (v2.1.285): a command started with `run_in_background` stops after its `timeout` — 30 minutes by default, at most 2 hours — and Claude is notified when one is stopped.+Background Bash and PowerShell commands have a time limit only in unattended sessions (v2.1.288): in a `-p` run, an Agent SDK session, CI, or a cloud session, a command started with `run_in_background` stops after its `timeout` — 30 minutes by default, at most 2 hours — and Claude is notified when one is stopped. Background commands in a terminal, desktop app, or VS Code session have no time limit (in v2.1.285–v2.1.287 the limit applied to every session).---@@ -854,7 +854,7 @@ Permission modes control what actions Claude can take without explicit approval.| `manual` | Read files only; prompts for all other actions. Renamed from `default` in v2.1.200 — `default` is still accepted as an alias || `acceptEdits` | Read and edit files; prompts for commands || `plan` | Read files only (research mode, no edits) |-| `auto` | All actions with background safety classifier checks. Requires an eligible model (Sonnet 5 or later, Opus 4.7 or later, or a Fable model on every provider; Opus 4.6 and Sonnet 4.6 also qualify on the Anthropic API and Claude Platform on AWS) and provider — available on all plans, see [Auto Mode](#auto-mode) |+| `auto` | All actions with background safety classifier checks. Requires an eligible model (Sonnet 5 or later, Opus 4.7 or later, Haiku 5.5, or a Fable model on every provider; Opus 4.6 and Sonnet 4.6 also qualify on the Anthropic API and Claude Platform on AWS) and provider — available on all plans, see [Auto Mode](#auto-mode) || `bypassPermissions` | All actions, no permission checks (dangerous) || `dontAsk` | Only pre-approved tools execute; all others denied |@@ -1772,6 +1772,8 @@ claude --no-chrome # Disable Chrome connectionSelect "Enabled by default" to activate Chrome Integration for all future sessions. Claude Code shares your browser's login state, so it can interact with authenticated web apps.+> **Note**: Since v2.1.290, a project's settings files can't turn Chrome integration on — use `--chrome`, `/chrome`, or your user settings.+### Capabilities| Capability | Description |@@ -2463,7 +2465,7 @@ export ANTHROPIC_API_KEY=sk-ant-...# Thinking configurationexport MAX_THINKING_TOKENS=16000-export CLAUDE_CODE_EFFORT_LEVEL=high # low, medium, high, xhigh (Opus 5.5, Sonnet 5.5, Opus 5, Sonnet 5, Opus 4.8/4.7), or max — default is high on Opus 5 and Opus 4.8 (supported on Opus 5.5, Sonnet 5.5, Opus 5, Sonnet 5, Opus 4.8, Opus 4.7, Opus 4.6, Sonnet 4.6)+export CLAUDE_CODE_EFFORT_LEVEL=high # low, medium, high, xhigh (Opus 5.5, Sonnet 5.5, Haiku 5.5, Opus 5, Sonnet 5, Opus 4.8/4.7), or max — default is high on Opus 5 and Opus 4.8 (supported on Opus 5.5, Sonnet 5.5, Haiku 5.5, Opus 5, Sonnet 5, Opus 4.8, Opus 4.7, Opus 4.6, Sonnet 4.6)# Feature togglesexport CLAUDE_CODE_DISABLE_AUTO_MEMORY=true@@ -2519,6 +2521,7 @@ export CLAUDE_CODE_STOP_HOOK_BLOCK_CAP=8 # Max consecutive St# Session-wide spawn caps (v2.1.212)export CLAUDE_CODE_MAX_WEB_SEARCHES_PER_SESSION=200 # Cap on WebSearch tool calls per session, to stop runaway search loops. Default 200.+export CLAUDE_CODE_WEB_SEARCH_REFILLS_PER_HOUR=100 # (v2.1.290) Refill rate for that budget, in calls/hour. Default 100 interactive, 0 (no refill) with -p.# Accessibility (v2.1.208)export CLAUDE_AX_SCREEN_READER=1 # Enable plain-text screen reader rendering mode. Same effect as --ax-screen-reader or "axScreenReader": true in settings.@@ -2741,8 +2744,8 @@ For more information about Claude Code and related features:----**Last Updated**: September 30, 2026-**Claude Code Version**: 2.1.285+**Last Updated**: October 10, 2026+**Claude Code Version**: 2.1.296**Sources**:- https://code.claude.com/docs/en/output-styles- https://raw.githubusercontent.com/anthropics/claude-code/main/CHANGELOG.md@@ -2773,4 +2776,9 @@ For more information about Claude Code and related features:- https://code.claude.com/docs/en/permission-modes#eliminate-prompts-with-auto-mode- https://github.com/anthropics/claude-code/releases/tag/v2.1.284- https://github.com/anthropics/claude-code/releases/tag/v2.1.285+- https://code.claude.com/docs/en/tools-reference+- https://code.claude.com/docs/en/chrome+- https://github.com/anthropics/claude-code/releases/tag/v2.1.288+- https://github.com/anthropics/claude-code/releases/tag/v2.1.290+- https://github.com/anthropics/claude-code/releases/tag/v2.1.293**Compatible Models**: Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5diff --git a/10-cli/README.md b/10-cli/README.mdindex 06529ce..c5be847 100644--- a/10-cli/README.md+++ b/10-cli/README.md@@ -59,7 +59,7 @@ The older JavaScript bundle is still produced for Windows and for environments t| `claude plugin init <name>` | Scaffold a new plugin at `~/.claude/skills/<name>/` (user-global) — auto-loads in the next session as `<name>@skills-dir`, no marketplace required (v2.1.157+) | `claude plugin init my-plugin` || `claude plugin tag [path]` | Create a `{name}--v{version}` release git tag for the plugin at `[path]`, validating that `plugin.json` and any enclosing marketplace entry agree (v2.1.118+) | `claude plugin tag ./my-plugin` || `claude install [version]` | Install a specific native-binary version. Accepts `stable`, `latest`, or an explicit version string | `claude install 2.1.131` |-| `claude project purge [path]` | Delete all local Claude Code state for a project (transcripts, tasks, debug logs, file-edit history, prompt history, and `~/.claude.json` entry). Omit `[path]` for an interactive picker. Flags: `--dry-run` to preview, `-y/--yes` to skip confirmation, `-i/--interactive` to confirm each item, `--all` for every project (v2.1.126+) | `claude project purge ~/work/repo --dry-run` |+| `claude purge [path]` | Delete all local Claude Code state for a project (transcripts, tasks, debug logs, file-edit history, prompt history, and `~/.claude.json` entry). Omit `[path]` for an interactive picker. Flags: `--dry-run` to preview, `-y/--yes` to skip confirmation, `-i/--interactive` to confirm each item, `--all` for every project (v2.1.126+) — renamed from `claude project purge` in v2.1.288; the old name still works and prints a notice | `claude purge ~/work/repo --dry-run` || `claude plugin prune` | Remove orphaned auto-installed plugin dependencies (parent plugin gone). `plugin uninstall --prune` does the same cascade after uninstalling a target (v2.1.121+) | `claude plugin prune` || `claude ultrareview [target]` | Run `/ultrareview` non-interactively. Prints findings to stdout, exits 0 on success / 1 on failure. Use `--json` for raw payload, `--timeout <minutes>` to override the 30-minute default, and `--post` / `--no-post` to control whether findings are posted back to the PR. **Requires Claude Code v2.1.227 or later** | `claude ultrareview 1234 --json --no-post` || `claude self-hosted-runner <setup\|doctor\|orchestrator>` | Turn your own machine or container into a place Claude Code web, mobile, and desktop sessions can run. `setup` provisions the runner, `doctor` diagnoses it, `orchestrator` runs the coordinating process. **Team and Enterprise plans; requires Claude Code v2.1.224 or later.** On Windows, startup requires an explicit `--base-dir` (v2.1.229) | `claude self-hosted-runner setup` |@@ -165,7 +165,7 @@ claude -p "list todos" | grep "URGENT"# Use Opus 5 for complex tasksclaude --model opus "design a caching strategy"-# Use Haiku 4.5 for quick tasks+# Use Haiku for quick tasks (Haiku 5.5 on the Anthropic API since v2.1.293; Haiku 4.5 on Bedrock, Vertex, and Foundry)claude --model haiku -p "format this JSON"# Full model name@@ -182,6 +182,8 @@ claude --model opusplan "design and implement the caching layer"> **1M context behind a custom base URL (v2.1.285)**: Sessions whose `ANTHROPIC_BASE_URL` points at a custom endpoint now use the 1M context window of models that have one (Opus 4.7+, Sonnet 5+, Fable). If your gateway stops at 200K, run `/autocompact 200k`.+> **1M context by default on third-party providers (v2.1.287)**: Opus 4.7+ and Fable now use the 1M context window by default on Amazon Bedrock, Google Vertex AI, Microsoft Foundry, and the Claude apps gateway, with no `[1m]` suffix. Set `CLAUDE_CODE_DISABLE_1M_CONTEXT=1` to keep them at 200K.+> **Org default model (v2.1.196)**: When an org admin sets a default model, `/model` labels it as "Org default" (or "Role default").## System Prompt Customization@@ -370,17 +372,17 @@ The original session remains unchanged, and the fork becomes a new independent s### Project State Cleanup (v2.1.126+)-`claude project purge` deletes all local Claude Code state for a project — transcripts, task lists, debug logs, file-edit history, prompt history lines, and the project's `~/.claude.json` entry. Use `--dry-run` first to preview the deletion; `--all` walks every project on the machine.+`claude purge` deletes all local Claude Code state for a project — transcripts, task lists, debug logs, file-edit history, prompt history lines, and the project's `~/.claude.json` entry. It was called `claude project purge` before v2.1.288; that name still works and prints a notice. Use `--dry-run` first to preview the deletion; `--all` walks every project on the machine.```bash# Preview what would be deleted (safe)-claude project purge ~/work/repo --dry-run+claude purge ~/work/repo --dry-run# Delete state for a specific project, no prompts-claude project purge ~/work/repo --yes+claude purge ~/work/repo --yes# Walk every project interactively-claude project purge --all --interactive+claude purge --all --interactive```## Advanced Features@@ -794,11 +796,12 @@ Claude Code supports multiple models with different capabilities:|-------|-----|----------------|-------|| Opus 5.5 | `claude-opus-5-5` | 1M tokens | Default model and default Opus model since v2.1.280 on Pro, Max, Team, Enterprise, the Anthropic API, Claude Platform on AWS, Amazon Bedrock, and Google Cloud's Agent Platform (Pro and Team Standard previously defaulted to Sonnet 5); Microsoft Foundry still resolves `opus` to Opus 4.6 and `default` to Sonnet 4.5. Adaptive effort levels `low → max`, default effort `medium`; thinking can't be turned off. Requires v2.1.280+ || Sonnet 5.5 | `claude-sonnet-5-5` | 1M tokens | Default Sonnet model on the Anthropic API since v2.1.284 (the `sonnet` alias resolves to it there); adaptive effort levels `low → max`, default effort `medium`; thinking can't be turned off; not available in fast mode. Requires v2.1.284+ |+| Haiku 5.5 | `claude-haiku-5-5` | 1M tokens | Default Haiku model on the Anthropic API since v2.1.293 (the `haiku` alias resolves to it there; Bedrock, Vertex, Foundry, and Claude Platform on AWS still resolve `haiku` to Haiku 4.5); adaptive effort levels `low → max`, default effort `medium`; thinking can't be turned off. Requires v2.1.293+ || Sonnet 5 | `claude-sonnet-5` | 1M tokens | Default on Pro / Team Standard seats from v2.1.197 until v2.1.280, when those plans moved to Opus 5.5; native 1M-token context window || Opus 5 | `claude-opus-5` | 1M tokens | Default Opus model from v2.1.219 until v2.1.280 (now Opus 5.5); still selectable; adaptive effort levels `low → max`, default effort `high` || Opus 4.8 | `claude-opus-4-8` | 1M tokens | Previous flagship Opus, still selectable; adaptive effort levels `low → max`; default effort `high` (v2.1.154) || Sonnet 4.6 | `claude-sonnet-4-6` | 1M tokens | Balanced speed and capability; default effort for Pro/Max subscribers raised from `medium` to `high` in v2.1.117 |-| Haiku 4.5 | `claude-haiku-4-5` | 200K tokens | Fastest, best for quick tasks; no effort levels |+| Haiku 4.5 | `claude-haiku-4-5` | 200K tokens | Previous Haiku, still the `haiku` alias on Bedrock, Vertex, Foundry, and Claude Platform on AWS; no effort levels || Fable 5.1 | `claude-fable-5-1` | — | Current Fable model; the `fable` alias resolves to it (v2.1.257) || Fable 5 | `claude-fable-5` | — | Mythos-class model, made safe for general use (v2.1.170) |@@ -823,7 +826,7 @@ claude --model opusplan "design and implement the API"### Effort Levels (Opus 5 / Sonnet 5 / Opus 4.8 / Opus 4.7)-Opus 5, Sonnet 5, Opus 4.8, and Opus 4.7 support adaptive reasoning with effort levels, ordered from lightest to heaviest: `low` (○), `medium` (◐), `high` (●), `xhigh`, and `max`. Opus 5.5 and Sonnet 5.5 support all five levels too. The **default** is `medium` on Opus 5.5 (the default model since v2.1.280) and Sonnet 5.5, `high` on Opus 5, Sonnet 5, Opus 4.8 (since v2.1.154), Opus 4.6, and Sonnet 4.6, and `xhigh` on Opus 4.7. `xhigh` is available on Opus 5.5, Sonnet 5.5, Opus 5, Sonnet 5, Opus 4.8, and Opus 4.7; `max` works on Opus 5.5, Sonnet 5.5, Opus 5, Sonnet 5, Opus 4.8/4.7/4.6 and Sonnet 4.6 (session-only). Haiku 4.5 has no effort levels. On Opus 4.6 / Sonnet 4.6, the default effort for Pro/Max subscribers was raised from `medium` to `high` in v2.1.117.+Opus 5, Sonnet 5, Opus 4.8, and Opus 4.7 support adaptive reasoning with effort levels, ordered from lightest to heaviest: `low` (○), `medium` (◐), `high` (●), `xhigh`, and `max`. Opus 5.5, Sonnet 5.5, and Haiku 5.5 support all five levels too. The **default** is `medium` on Opus 5.5 (the default model since v2.1.280), Sonnet 5.5, and Haiku 5.5, `high` on Opus 5, Sonnet 5, Opus 4.8 (since v2.1.154), Opus 4.6, and Sonnet 4.6, and `xhigh` on Opus 4.7. `xhigh` is available on Opus 5.5, Sonnet 5.5, Haiku 5.5, Opus 5, Sonnet 5, Opus 4.8, and Opus 4.7; `max` works on Opus 5.5, Sonnet 5.5, Haiku 5.5, Opus 5, Sonnet 5, Opus 4.8/4.7/4.6 and Sonnet 4.6 (session-only). Haiku 4.5 has no effort levels. On Opus 4.6 / Sonnet 4.6, the default effort for Pro/Max subscribers was raised from `medium` to `high` in v2.1.117.```bash# Set effort level via CLI flag@@ -833,7 +836,7 @@ claude --effort high "complex review"/effort high# Set effort level via environment variable-export CLAUDE_CODE_EFFORT_LEVEL=high # low, medium, high, xhigh (Opus 5.5, Sonnet 5.5, Opus 5, Sonnet 5, Opus 4.8/4.7), or max — default is high on Opus 5+export CLAUDE_CODE_EFFORT_LEVEL=high # low, medium, high, xhigh (Opus 5.5, Sonnet 5.5, Haiku 5.5, Opus 5, Sonnet 5, Opus 4.8/4.7), or max — default is high on Opus 5```The "ultrathink" keyword in prompts activates deep reasoning. The `/effort` slider also has an **Ultracode** toggle (Tab, or `/effort ultracode [on|off]`), which is **not** a model effort level — it has Claude orchestrate dynamic workflows at whichever effort level the session runs at. Since v2.1.284 it no longer forces `xhigh` and stays on when you change the level; `--effort ultracode` and the Agent SDK's `effortLevel: "ultracode"` still set `xhigh`.@@ -852,7 +855,7 @@ The "ultrathink" keyword in prompts activates deep reasoning. The `/effort` slid| `ANTHROPIC_DEFAULT_SONNET_MODEL` | Override default Sonnet model ID || `ANTHROPIC_DEFAULT_HAIKU_MODEL` | Override default Haiku model ID || `MAX_THINKING_TOKENS` | Set extended thinking token budget |-| `CLAUDE_CODE_EFFORT_LEVEL` | Set effort level (`low`/`medium`/`high`/`xhigh`/`max`) — default is `medium` on Opus 5.5 and Sonnet 5.5, `high` on Opus 5, Sonnet 5, and Opus 4.8 (`xhigh` on Opus 4.7); `xhigh` needs Opus 5.5, Sonnet 5.5, Opus 5, Sonnet 5, or Opus 4.8/4.7; `max` works on Opus 5.5, Sonnet 5.5, Opus 5, Sonnet 5, Opus 4.8/4.7/4.6 and Sonnet 4.6 |+| `CLAUDE_CODE_EFFORT_LEVEL` | Set effort level (`low`/`medium`/`high`/`xhigh`/`max`) — default is `medium` on Opus 5.5, Sonnet 5.5, and Haiku 5.5, `high` on Opus 5, Sonnet 5, and Opus 4.8 (`xhigh` on Opus 4.7); `xhigh` needs Opus 5.5, Sonnet 5.5, Haiku 5.5, Opus 5, Sonnet 5, or Opus 4.8/4.7; `max` works on Opus 5.5, Sonnet 5.5, Haiku 5.5, Opus 5, Sonnet 5, Opus 4.8/4.7/4.6 and Sonnet 4.6 || `CLAUDE_CODE_SIMPLE` | Minimal mode, set by `--bare` flag || `CLAUDE_CODE_SAFE_MODE` | Set to `1` to start with all customizations disabled (CLAUDE.md, plugins, skills, hooks, MCP) — env-var form of `--safe-mode`, for isolating config problems (v2.1.169) || `CLAUDE_CODE_DISABLE_BUNDLED_SKILLS` | Set to `1` to hide the bundled skills, workflows, and commands from the model (v2.1.169) |@@ -892,8 +895,10 @@ The "ultrathink" keyword in prompts activates deep reasoning. The `/effort` slid| `CLAUDE_CODE_FORCE_SYNC_OUTPUT` | Set to `1` to force synchronous output for terminals where auto-detection misses (e.g., Emacs `eat`) (v2.1.129+) || `CLAUDE_CODE_PACKAGE_MANAGER_AUTO_UPDATE` | Set to `1` to enable background upgrades for Homebrew/WinGet installs (which normally do not auto-update) (v2.1.129+) || `CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY` | Set to `1` to opt in to gateway `/v1/models` discovery when `ANTHROPIC_BASE_URL` is set. Without it, `/model` shows the built-in static list (v2.1.129+) |+| `CLAUDE_CODE_DISABLE_STRUCTURED_OUTPUTS` | Set to `1` to stop sending the structured-output `output_config.format` field and its paired `anthropic-beta` value, for an LLM gateway whose upstream rejects them. Leaves on the other pre-release capabilities that `CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS` turns off (v2.1.288) || `CLAUDE_CODE_ENABLE_AUTO_MODE` | Legacy opt-in for auto mode on Bedrock, Vertex, and Foundry (v2.1.158–v2.1.206). As of v2.1.207, auto mode is available by default on those providers for Sonnet 5, Opus 4.7/4.8, and Fable 5 (Opus 5 added in v2.1.219) — this variable is accepted for compatibility but has no effect |-| `CLAUDE_CODE_MAX_WEB_SEARCHES_PER_SESSION` | Cap on WebSearch tool calls per session, to stop runaway search loops. Default 200 (v2.1.212) |+| `CLAUDE_CODE_MAX_WEB_SEARCHES_PER_SESSION` | Cap on WebSearch tool calls per session, to stop runaway search loops. Default 200 (v2.1.212). Since v2.1.290 the budget refills over time in interactive sessions — see `CLAUDE_CODE_WEB_SEARCH_REFILLS_PER_HOUR` |+| `CLAUDE_CODE_WEB_SEARCH_REFILLS_PER_HOUR` | Rate at which a session's WebSearch budget refills, in calls per hour. Default `100` in an interactive session; `0` (no refill) in a non-interactive (`-p`) session. Plain digits only (v2.1.290) || `CLAUDE_CODE_MAX_CONCURRENT_SUBAGENTS` | Cap on subagents running concurrently. Default 20 (v2.1.217) || `CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH` | Controls how deep nested subagent spawns can go. Since v2.1.219 the default is **3 layers** (was 1); set to `1` to disable nesting entirely || `CLAUDE_CODE_MCP_AUTO_BACKGROUND_MS` | Threshold, in milliseconds, before a long-running MCP tool call auto-backgrounds. Default 120000 (2 minutes) (v2.1.212) |@@ -901,10 +906,13 @@ The "ultrathink" keyword in prompts activates deep reasoning. The `/effort` slid| `CLAUDE_CLIENT_PRESENCE_FILE` | Point at a marker file to suppress mobile push notifications while you're at the machine (v2.1.181+). Note: the name is `CLAUDE_CLIENT_PRESENCE_FILE`, not `CLAUDE_CODE_CLIENT_PRESENCE_FILE`. || `CLAUDE_CODE_MAX_RETRIES` | Maximum number of API retry attempts. Capped at 15 as of v2.1.186. || `CLAUDE_CODE_RETRY_WATCHDOG` | Retry control recommended for unattended sessions, as an alternative to raising `CLAUDE_CODE_MAX_RETRIES` (v2.1.186+). |+| `CLAUDE_CODE_RETRY_WATCHDOG_MAX_WAIT_MS` | Maximum time in milliseconds that each API request spends waiting out `429` and `529` errors when `CLAUDE_CODE_RETRY_WATCHDOG` is set; once it's spent, the next such error ends the request. Positive whole number in plain digits (e.g. `1800000` for 30 minutes); unset means no limit (v2.1.295) |+| `CLAUDE_CODE_OVERLOADED_RETRY_BASE_DELAY_MS` | Starting delay in milliseconds, in place of the default 500, of the exponential backoff between automatic retries of a request rejected with a `529` overloaded error. Whole milliseconds from 500 to 32000 in plain digits; no effect when `CLAUDE_CODE_RETRY_WATCHDOG=1` or in fast mode (v2.1.292) || `CLAUDE_ENABLE_STREAM_WATCHDOG` | Streaming idle watchdog (aborts/retries after 5 min with no stream events) is on by default for all providers; set to `0` to disable (v2.1.196). || `CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT` | Override the 5-minute idle abort for remote MCP tool calls that hang with no response (v2.1.187+). || `CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE` | **Removed (no-op as of v2.1.160).** Previously pinned Fast Mode (`/fast`) to Opus 4.6. As of v2.1.219, `/fast` applies to **Opus 5 and Opus 4.8** only — Opus 4.6 and Opus 4.7 are no longer fast-mode targets. || `CLAUDE_CODE_MCP_STARTUP_WAIT_MS` | Bounds how long the first non-interactive turn waits for MCP servers that are still connecting. Set `0` to not wait (v2.1.274), except that since v2.1.284 the first turn still waits up to 2 s for servers named by `--allowedTools` or an `mcp_tool` hook |+| `MCP_PROTOCOL_NEGOTIATION` | On the v2 MCP client runtime only, whether Claude Code probes servers for MCP protocol revision 2026-07-28: `auto` probes HTTP, claude.ai connector, and stdio servers; `legacy` probes none. Any other value is ignored with a warning in the debug log (v2.1.221) || `CLAUDE_CODE_DISABLE_WEB_FETCH` | Turns off the WebFetch tool (v2.1.285) || `CLAUDE_CODE_NONSTREAMING_TIMEOUT_RETRIES` | Caps how many times a timed-out non-streaming fallback request is re-sent (v2.1.285) || `CLAUDE_CODE_WEBFETCH_DEADLINE_MS` | Overrides WebFetch's 300-second deadline, introduced in v2.1.268. Set `0` to disable the deadline (v2.1.268) |@@ -1073,8 +1081,8 @@ claude -p --output-format json "query"----**Last Updated**: September 30, 2026-**Claude Code Version**: 2.1.285+**Last Updated**: October 10, 2026+**Claude Code Version**: 2.1.296**Sources**:- https://raw.githubusercontent.com/anthropics/claude-code/main/CHANGELOG.md- https://code.claude.com/docs/en/workflows#set-a-size-guideline@@ -1109,4 +1117,9 @@ claude -p --output-format json "query"- https://code.claude.com/docs/en/settings-reference#ultracode- https://github.com/anthropics/claude-code/releases/tag/v2.1.284- https://github.com/anthropics/claude-code/releases/tag/v2.1.285+- https://code.claude.com/docs/en/permission-modes+- https://github.com/anthropics/claude-code/releases/tag/v2.1.287+- https://github.com/anthropics/claude-code/releases/tag/v2.1.288+- https://github.com/anthropics/claude-code/releases/tag/v2.1.290+- https://github.com/anthropics/claude-code/releases/tag/v2.1.293**Compatible Models**: Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5diff --git a/CATALOG.md b/CATALOG.mdindex 0820ec4..2db423b 100644--- a/CATALOG.md+++ b/CATALOG.md@@ -156,7 +156,7 @@ Specialized AI assistants with isolated contexts for specific tasks.| **Explore** | Codebase exploration | Read, Glob, Grep | Inherits (capped at Opus) | Quick searches, understanding code || **claude** | Catch-all for tasks that don't fit a more specialized agent | All tools | Inherits model | Tasks with no specialized agent; default agent for a dispatched background session || **statusline-setup** | Status line configuration | Bash, Read, Write | Sonnet 4.6 | Configure status line display |-| **claude-code-guide** | Help and documentation | Read, Glob, Grep | Haiku 4.5 | Getting help, learning features |+| **claude-code-guide** | Help and documentation | Read, Glob, Grep | Haiku | Getting help, learning features |### Subagent Configuration Fields@@ -502,7 +502,7 @@ cp 02-memory/personal-CLAUDE.md ~/.claude/CLAUDE.md| **Plugin LSP Support** | Language Server Protocol integration via plugins | Configure LSP servers in `plugin.json` for editor features || **Managed Drop-ins** | Organization-managed drop-in configurations (v2.1.83) | Admin-configured via managed policies; auto-applied to all users || **`claude plugin init`** | Scaffold a new plugin in `.claude/skills`; such plugins auto-load with no marketplace (v2.1.157) | Run `claude plugin init <name>` |-| **Auto Mode on third-party providers** | Available by default on Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry, and signed-in Claude apps gateway sessions, where the supported models are Claude Sonnet 5 or later, Opus 4.7 or later, and the Fable models (opt-in required v2.1.158–v2.1.206; removed in v2.1.207 — `CLAUDE_CODE_ENABLE_AUTO_MODE` is still accepted but has no effect) | `Shift+Tab` to cycle to it, or `--permission-mode auto` |+| **Auto Mode on third-party providers** | Available by default on Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry, and signed-in Claude apps gateway sessions, where the supported models are Claude Sonnet 5 or later, Opus 4.7 or later, Haiku 5.5 (v2.1.293+), and the Fable models (opt-in required v2.1.158–v2.1.206; removed in v2.1.207 — `CLAUDE_CODE_ENABLE_AUTO_MODE` is still accepted but has no effect) | `Shift+Tab` to cycle to it, or `--permission-mode auto` || **Immediate Dialog Commands** | `/permissions` can be opened while Claude is working (rule changes apply to the rest of the turn), and the `/add-dir`, `/autocompact`, `/theme`, `/help`, `/config`, and `/advisor` dialogs open mid-turn **in the fullscreen TUI** instead of queuing until Claude finishes responding (`/bug` already did this since v2.1.232) (v2.1.234) | Run one of these commands while Claude is working. See [Slash Commands](01-slash-commands/README.md) || **`CLAUDE_CODE_PROJECT_DIR_NAME`** | Env var controlling per-project transcript directory naming (v2.1.234) | Set in your shell/env before launching Claude Code. See [CLI](10-cli/README.md) || **Goal Check-In Threshold** | While a `/goal` is active, Claude checks in with a status update if a background task makes no progress for 30+ minutes, instead of continuing silently; tune with `CLAUDE_CODE_GOAL_CHECKIN_MINUTES`, or set to `0` to disable (v2.1.234) | Set `CLAUDE_CODE_GOAL_CHECKIN_MINUTES=<n>` alongside an active `/goal`. See [Slash Commands](01-slash-commands/README.md) |@@ -573,8 +573,8 @@ chmod +x ~/.claude/hooks/*.sh----**Last Updated**: September 30, 2026-**Claude Code Version**: 2.1.285+**Last Updated**: October 10, 2026+**Claude Code Version**: 2.1.296**Sources**:- https://code.claude.com/docs/en/sub-agents- https://github.com/anthropics/claude-code/blob/main/CHANGELOG.mddiff --git a/INDEX.md b/INDEX.mdindex 44edd5e..8b8d6a9 100644--- a/INDEX.md+++ b/INDEX.md@@ -482,7 +482,7 @@ Command-line interface usage patterns and reference.- `claude` - Start interactive session- `claude -p "prompt"` - Headless/non-interactive mode- `claude web` - Launch web session-- `claude --model` - Select model (Opus 5.5, Sonnet 5.5, Opus 5, Sonnet 5, Sonnet 4.6, Opus 4.8, Haiku 4.5)+- `claude --model` - Select model (Opus 5.5, Sonnet 5.5, Opus 5, Sonnet 5, Sonnet 4.6, Opus 4.8, Haiku 5.5, Haiku 4.5)- `claude --permission-mode` - Set permission mode- `claude --remote` - Enable remote control via WebSocket@@ -897,8 +897,8 @@ Want to add more examples? Follow the structure:----**Last Updated**: September 30, 2026-**Claude Code Version**: 2.1.285+**Last Updated**: October 10, 2026+**Claude Code Version**: 2.1.296**Sources**:- https://code.claude.com/docs/en/tools-reference#task-tool-availability- https://code.claude.com/docs/en/workflows#set-a-size-guidelinediff --git a/QUICK_REFERENCE.md b/QUICK_REFERENCE.mdindex 34f5b6a..36dcfeb 100644--- a/QUICK_REFERENCE.md+++ b/QUICK_REFERENCE.md@@ -402,7 +402,7 @@ cp -r 03-skills/code-review-specialist ~/.claude/skills/| **Auto Memory** | Automatic memory saving from conversations | Claude auto-saves key context to CLAUDE.md || **AGENTS.md** *(v2.1.277)* | Cross-tool project-context file, read as project instructions when no `CLAUDE.md` exists at or above the working directory | Switch modes with **Project instructions** in `/config`. See [AGENTS.md](02-memory/README.md#agentsmd) || **Git Worktrees** | Isolated workspaces for parallel development | `/worktree` to create isolated workspace |-| **Model Selection** | Switch between Fable 5.1, Fable 5, Opus 5.5, Opus 5, Sonnet 5, Sonnet 4.6, Opus 4.8, and Haiku 4.5 | `/model` — since v2.1.153 the choice is saved as the default for new sessions; press `s` for session-only |+| **Model Selection** | Switch between Fable 5.1, Fable 5, Opus 5.5, Opus 5, Sonnet 5, Sonnet 4.6, Opus 4.8, Haiku 5.5, and Haiku 4.5 | `/model` — since v2.1.153 the choice is saved as the default for new sessions; press `s` for session-only || **Agent Teams** | Coordinate multiple agents on tasks | Enable with `CLAUDE_AGENT_TEAMS=1` env var || **Dynamic Workflows** *(v2.1.154)* | Deterministic multi-agent orchestration; since v2.1.219 the default size guideline is medium (aim for fewer than 10 agents) | `/workflows` to view runs; ask Claude to create one; change the size via **Dynamic workflow size** in `/config` || **Scheduled Tasks** | Recurring tasks with `/loop` | `/loop 5m /command` or CronCreate tool |@@ -413,7 +413,7 @@ cp -r 03-skills/code-review-specialist ~/.claude/skills/| **/verify** *(v2.1.145+)* | Build, run, and observe the app to confirm a fix works (explicit invocation only since v2.1.215 — Claude won't trigger this on its own) | `/verify` || **/run-skill-generator** *(v2.1.145+)* | Teach `/run`/`/verify` how to handle a specific project | `/run-skill-generator` || **Subagent Output Scanning** *(v2.1.210+)* | Scans subagent reports for prompt-injection patterns and neutralizes them | On by default, no opt-out |-| **WebSearch Cap and Subagent Fan-Out Limits** *(v2.1.212, extended v2.1.219)* | 200 WebSearch calls per session; concurrent-subagent cap (default 20) added in v2.1.217; since v2.1.219 subagents can spawn nested subagents up to **depth 3 by default** (v2.1.217 had disabled nesting). The 200-subagent-per-session spawn cap was **removed in v2.1.224** — there is no longer any limit on total subagents per session | `CLAUDE_CODE_MAX_WEB_SEARCHES_PER_SESSION` (default 200; `/clear` resets), `CLAUDE_CODE_MAX_CONCURRENT_SUBAGENTS` (default 20), `CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH` (default 3; set 1 to disable) |+| **WebSearch Cap and Subagent Fan-Out Limits** *(v2.1.212, extended v2.1.219)* | 200 WebSearch calls per session, refilling at 100 calls/hour in interactive sessions since v2.1.290; concurrent-subagent cap (default 20) added in v2.1.217; since v2.1.219 subagents can spawn nested subagents up to **depth 3 by default** (v2.1.217 had disabled nesting). The 200-subagent-per-session spawn cap was **removed in v2.1.224** — there is no longer any limit on total subagents per session | `CLAUDE_CODE_MAX_WEB_SEARCHES_PER_SESSION` (default 200; `/clear` resets), `CLAUDE_CODE_WEB_SEARCH_REFILLS_PER_HOUR` (default 100 interactive, 0 with `-p`), `CLAUDE_CODE_MAX_CONCURRENT_SUBAGENTS` (default 20), `CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH` (default 3; set 1 to disable) || **Screen Reader Mode** *(v2.1.208)* | Plain-text rendering mode for screen readers | `--ax-screen-reader` flag, `CLAUDE_AX_SCREEN_READER=1`, or `"axScreenReader": true` in settings || **Restricted Mode** *(v2.1.248+)* | Drops the built-in tools that run commands or code (Bash, PowerShell, REPL) and WebFetch unless `--tools` names them; ignores user, project, and local settings (managed settings and `--settings` still apply); confines file tools to the working directories; refuses `bypassPermissions` and cloud sessions | `claude --restricted`, or `CLAUDE_CODE_RESTRICTED=1` || **Subagent Cache TTL** *(v2.1.248+)* | `experimental.cacheTtl` agent-frontmatter field sets how long the subagent's prompt cache lives | Add `experimental:` with `cacheTtl: "5m"` (or `"1h"`) to the agent's frontmatter. See [Subagents](04-subagents/README.md) |@@ -520,8 +520,8 @@ Getting started checklist:----**Last Updated**: September 26, 2026-**Claude Code Version**: 2.1.283+**Last Updated**: October 10, 2026+**Claude Code Version**: 2.1.296**Sources**:- https://code.claude.com/docs/en/workflows#set-a-size-guideline- https://code.claude.com/docs/en/memory#agents-md@@ -532,4 +532,5 @@ Getting started checklist:- https://code.claude.com/docs/en/model-config- https://code.claude.com/docs/en/settings- https://code.claude.com/docs/en/hooks+- https://code.claude.com/docs/en/env-vars**Compatible Models**: Claude Fable 5.1, Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5diff --git a/README.md b/README.mdindex 74b3106..bb281c6 100644--- a/README.md+++ b/README.md@@ -12,7 +12,7 @@[](https://github.com/luongnv89/claude-howto/stargazers)[](https://github.com/luongnv89/claude-howto/network/members)[](LICENSE)-[](CHANGELOG.md)+[](CHANGELOG.md)[](https://code.claude.com)🌐 **Language / Ngôn ngữ / 语言 / Мова:** [English](README.md) | [Tiếng Việt](vi/README.md) | [中文](zh/README.md) | [Українська](uk/README.md) | [日本語](ja/README.md)@@ -102,7 +102,7 @@ Run `/lesson-quiz [topic]` after each module. The quiz pinpoints what you missed- **GitHub stars** from developers who use Claude Code daily- **Forks** from teams adapting this guide for their own workflows-- **Actively maintained** — synced with every Claude Code release (latest: v2.1.285, September 2026)+- **Actively maintained** — synced with every Claude Code release (latest: v2.1.296, October 2026)- **Community-driven** — contributions from developers who share their real-world configurations[](https://star-history.com/#luongnv89/claude-howto&Date)@@ -201,7 +201,7 @@ cp -r 03-skills/code-review-specialist ~/.claude/skills/Yes. MIT licensed, free forever. Use it in personal projects, at work, in your team — no restrictions beyond including the license notice.**Is this maintained?**-Actively. The guide is synced with every Claude Code release. Current version: v2.1.285 (September 2026), compatible with Claude Code 2.1+.+Actively. The guide is synced with every Claude Code release. Current version: v2.1.296 (October 2026), compatible with Claude Code 2.1+.**How is this different from the official docs?**The official docs are a feature reference. This guide is a tutorial with diagrams, production-ready templates, and a progressive learning path. They complement each other — start here to learn, reference the docs when you need specifics.@@ -210,7 +210,7 @@ The official docs are a feature reference. This guide is a tutorial with diagram11-13 hours for the full path. But you'll get immediate value in 15 minutes — just copy a slash command template and try it.**Can I use this with Claude Sonnet / Haiku / Opus?**-Yes. All templates work with Claude Fable 5.1, Claude Fable 5, Claude Opus 5.5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, and Claude Haiku 4.5.+Yes. All templates work with Claude Fable 5.1, Claude Fable 5, Claude Opus 5.5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 5.5, and Claude Haiku 4.5.**Can I contribute?**Absolutely. See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines. We welcome new examples, bug fixes, documentation improvements, and community templates.@@ -873,8 +873,8 @@ MIT License - see [LICENSE](LICENSE). Free to use, modify, and distribute. The o----**Last Updated**: September 30, 2026-**Claude Code Version**: 2.1.285+**Last Updated**: October 10, 2026+**Claude Code Version**: 2.1.296**Sources**:- https://code.claude.com/docs/en/tools-reference#task-tool-availability- https://code.claude.com/docs/en/hooks@@ -886,5 +886,5 @@ MIT License - see [LICENSE](LICENSE). Free to use, modify, and distribute. The o- https://github.com/anthropics/claude-code/releases/tag/v2.1.154- https://code.claude.com/docs/en/model-config- https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md-- https://github.com/anthropics/claude-code/releases/tag/v2.1.285+- https://github.com/anthropics/claude-code/releases/tag/v2.1.296**Compatible Models**: Claude Fable 5.1, Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5diff --git a/claude_concepts_guide.md b/claude_concepts_guide.mdindex 4fe75f4..0306108 100644--- a/claude_concepts_guide.md+++ b/claude_concepts_guide.md@@ -1455,6 +1455,7 @@ Claude Code supports the following models with adaptive reasoning effort:|-------|----------------|---------------|------------------------------|| Claude Opus 5.5 | 1M tokens (native) | `low`, `medium`, `high`, `xhigh`, `max` | `medium` — default model and default Opus model since v2.1.280 (requires Claude Code v2.1.280+) || Claude Sonnet 5.5 | 1M tokens (native) | `low`, `medium`, `high`, `xhigh`, `max` | `medium` — default Sonnet model on the Anthropic API since v2.1.284 (requires Claude Code v2.1.284+) |+| Claude Haiku 5.5 | 1M tokens (native) | `low`, `medium`, `high`, `xhigh`, `max` | `medium` — default Haiku model on the Anthropic API since v2.1.293 (requires Claude Code v2.1.293+) || Claude Opus 5 | 1M tokens (native) | `low`, `medium`, `high`, `xhigh`, `max` | `high` — default Opus model from v2.1.219 until v2.1.280 (requires Claude Code v2.1.219+) || Claude Sonnet 5 | 1M tokens (native) | `low`, `medium`, `high`, `xhigh`, `max` | `high` — default model for Pro/Team Standard from v2.1.197 until v2.1.280 (now Opus 5.5) || Claude Opus 4.8 | 1M tokens (native) | `low`, `medium`, `high`, `xhigh`, `max` | `high` (since v2.1.154) |@@ -1462,7 +1463,7 @@ Claude Code supports the following models with adaptive reasoning effort:| Claude Sonnet 4.6 | 1M tokens | `low`, `medium`, `high`, `max` | `high` for Pro/Max subscribers (raised from `medium` in v2.1.117) || Claude Haiku 4.5 | 200K tokens | — (no effort support) | — |-> **Note**: `xhigh` is available on Opus 5.5, Sonnet 5.5, Opus 5, Sonnet 5, Opus 4.8, and Opus 4.7; `max` works on Opus 5.5, Sonnet 5.5, Opus 5, Sonnet 5, Opus 4.8/4.7/4.6 and Sonnet 4.6 (session-only). Haiku 4.5 does not support effort levels.+> **Note**: `xhigh` is available on Opus 5.5, Sonnet 5.5, Haiku 5.5, Opus 5, Sonnet 5, Opus 4.8, and Opus 4.7; `max` works on Opus 5.5, Sonnet 5.5, Haiku 5.5, Opus 5, Sonnet 5, Opus 4.8/4.7/4.6 and Sonnet 4.6 (session-only). Haiku 4.5 does not support effort levels.> **Note**: v2.1.117 fixed a bug where Opus 4.7 sessions computed `/context` against 200K instead of the native 1M window — upgrade to v2.1.117 or later to actually get the 1M context on Opus 4.7. Opus 5 and Opus 4.8 also have a native 1M-token window.@@ -1476,8 +1477,8 @@ Claude Code supports the following models with adaptive reasoning effort:- [Anthropic Cookbook](https://github.com/anthropics/anthropic-cookbook)----**Last Updated**: September 30, 2026-**Claude Code Version**: 2.1.285+**Last Updated**: October 10, 2026+**Claude Code Version**: 2.1.296**Sources**:- https://code.claude.com/docs/en/tools-reference#task-tool-availability- https://www.anthropic.com/news/claude-sonnet-5@@ -1486,4 +1487,5 @@ Claude Code supports the following models with adaptive reasoning effort:- https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md- https://code.claude.com/docs/en/hooks- https://code.claude.com/docs/en/sub-agents+- https://code.claude.com/docs/en/permission-modes**Compatible Models**: Claude Fable 5.1, Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5diff --git a/ja/02-memory/README.md b/ja/02-memory/README.mdindex 223b34e..8780794 100644--- a/ja/02-memory/README.md+++ b/ja/02-memory/README.md@@ -688,7 +688,7 @@ Claude は、現在の作業ディレクトリのメモリファイルに加えThis file supplements root CLAUDE.md for everything in /src/api/. Memory files areconcatenated, not overridden — the root CLAUDE.md still applies, and Claude Code-loads this file on demand when it reads files in this subtree.+loads this file on demand when it reads, writes, or edits files in this subtree.## API-Specific Standards@@ -1132,7 +1132,7 @@ Claude はどのメモリファイルを更新するかを尋ねる。This file supplements root CLAUDE.md for this directory. Memory files areconcatenated, not overridden — Claude Code loads this file on demand when it- reads files in this directory.+ reads, writes, or edits files in this directory.## [Specific Standards]EOF@@ -1207,12 +1207,14 @@ Claude はどのメモリファイルを更新するかを尋ねる。- [公式メモリドキュメント](https://code.claude.com/docs/en/memory) — Anthropic ドキュメント----**最終更新**: 2026 年 9 月 19 日-**Claude Code バージョン**: 2.1.278+**最終更新**: 2026 年 10 月 10 日+**Claude Code バージョン**: 2.1.296**Sources**:- https://code.claude.com/docs/en/memory- https://code.claude.com/docs/en/memory#agents-md- https://code.claude.com/docs/en/settings- https://github.com/anthropics/claude-code/releases/tag/v2.1.117- https://github.com/anthropics/claude-code/releases/tag/v2.1.119+- https://github.com/anthropics/claude-code/releases/tag/v2.1.288+- https://github.com/anthropics/claude-code/releases/tag/v2.1.293**Compatible Models**: Claude Sonnet 4.6, Claude Opus 4.7, Claude Haiku 4.5diff --git a/ja/02-memory/directory-api-CLAUDE.md b/ja/02-memory/directory-api-CLAUDE.mdindex e9907d2..9e91aa8 100644--- a/ja/02-memory/directory-api-CLAUDE.md+++ b/ja/02-memory/directory-api-CLAUDE.md@@ -6,7 +6,7 @@このファイルは /src/api/ 配下のすべてに対し、ルートの CLAUDE.md を補完する。メモリファイルは連結されるものであり、上書きされるわけではない。ルートの CLAUDE.md は引き続き適用され、-Claude Code はこのサブツリー内のファイルを読むときに本ファイルをオンデマンドで読み込む。+Claude Code はこのサブツリー内のファイルを読む、書く、または編集するときに本ファイルをオンデマンドで読み込む。## API 固有の標準@@ -67,4 +67,9 @@ Claude Code はこのサブツリー内のファイルを読むときに本フ- キャッシュキーにリソース種別のタグを付ける----**Last Updated**: April 9, 2026+**最終更新**: 2026 年 10 月 10 日+**Claude Code バージョン**: 2.1.296+**Sources**:+- https://code.claude.com/docs/en/memory+- https://github.com/anthropics/claude-code/releases/tag/v2.1.288+- https://github.com/anthropics/claude-code/releases/tag/v2.1.293diff --git a/ja/03-skills/README.md b/ja/03-skills/README.mdindex f746b89..283ac1e 100644--- a/ja/03-skills/README.md+++ b/ja/03-skills/README.md@@ -733,7 +733,7 @@ Claude が期待通りにスキルを使わない場合:### Claude が一部のスキルを認識しない場合-スキルの description は **コンテキストウィンドウの 1 %** を上限としてロードされる(フォールバック: **8,000 文字**)。各エントリはバジェットに関係なく 250 文字に制限される。`/context` を実行して除外されたスキルに関する警告を確認する。バジェットは環境変数 `SLASH_COMMAND_TOOL_CHAR_BUDGET` で上書きできる。+スキルの description は **コンテキストウィンドウの 1 %** を上限としてロードされる(フォールバック: **8,000 文字**)。各エントリの `description` + `when_to_use` は、デフォルトで 1,536 文字に制限される(`skillListingMaxDescChars`)。`/context` を実行して除外されたスキルに関する警告を確認する。バジェットは環境変数 `SLASH_COMMAND_TOOL_CHAR_BUDGET` で上書きできる。## セキュリティ上の考慮事項@@ -826,10 +826,11 @@ chmod +x ~/.claude/skills/my-skill/scripts/*.py- [フックガイド](../06-hooks/) - イベント駆動の自動化----**最終更新**: 2026 年 9 月 26 日-**Claude Code バージョン**: 2.1.283+**最終更新**: 2026 年 10 月 10 日+**Claude Code バージョン**: 2.1.296**情報源**:- https://code.claude.com/docs/en/skills- https://code.claude.com/docs/en/settings- https://code.claude.com/docs/en/changelog+- https://code.claude.com/docs/en/settings-reference**対応モデル**: Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5diff --git a/ja/05-mcp/README.md b/ja/05-mcp/README.mdindex 1f7e91e..0974fd4 100644--- a/ja/05-mcp/README.md+++ b/ja/05-mcp/README.md@@ -248,7 +248,7 @@ MCP サーバーはインタラクティブダイアログを介してユーザ## ツール説明と指示の上限-v2.1.84 以降、Claude Code は MCP サーバーごとのツール説明と指示に **2 KB の上限** を強制する。これは個々のサーバーが冗長すぎるツール定義でコンテキストを過剰に消費するのを防ぎ、コンテキストの肥大化を抑え、対話を効率的に保つ。+v2.1.84 以降、Claude Code は MCP サーバーごとのツール説明と指示に **2 KB の上限** を強制する。これは個々のサーバーが冗長すぎるツール定義でコンテキストを過剰に消費するのを防ぎ、コンテキストの肥大化を抑え、対話を効率的に保つ。v2.1.296 以降、最初から送信される説明とサーバーの指示のデフォルト上限は **4,096 文字** になり (v2.1.296)、Claude が tool search 経由で読み込む説明は **16,384 文字** で切り詰められる (v2.1.295)。## MCP プロンプトをスラッシュコマンドとして利用@@ -1168,8 +1168,8 @@ export GITHUB_TOKEN="your_token"----**最終更新:** 2026 年 9 月 30 日-**Claude Code バージョン:** 2.1.285+**最終更新:** 2026 年 10 月 10 日+**Claude Code バージョン:** 2.1.296**情報源:**- https://code.claude.com/docs/en/mcp- https://code.claude.com/docs/en/mcp#configure-tool-search@@ -1177,4 +1177,5 @@ export GITHUB_TOKEN="your_token"- https://code.claude.com/docs/en/changelog- https://github.com/anthropics/claude-code/releases/tag/v2.1.117- https://github.com/anthropics/claude-code/releases/tag/v2.1.285+- https://github.com/anthropics/claude-code/releases/tag/v2.1.296**対応モデル:** Claude Sonnet 4.6、Claude Opus 4.7、Claude Haiku 4.5diff --git a/ja/10-cli/README.md b/ja/10-cli/README.mdindex 789b9cd..d426087 100644--- a/ja/10-cli/README.md+++ b/ja/10-cli/README.md@@ -139,7 +139,7 @@ claude -p "list todos" | grep "URGENT"# 複雑なタスクには Opus 4.7claude --model opus "design a caching strategy"-# 速いタスクには Haiku 4.5+# 速いタスクには Haiku(Anthropic API では v2.1.293 以降 Haiku 5.5、Bedrock・Vertex・Foundry では Haiku 4.5)claude --model haiku -p "format this JSON"# モデル名のフルネーム指定@@ -873,10 +873,11 @@ claude -p --output-format json "query"----**最終更新**: 2026 年 9 月 26 日-**Claude Code バージョン**: 2.1.283+**最終更新**: 2026 年 10 月 10 日+**Claude Code バージョン**: 2.1.296**出典**:- https://code.claude.com/docs/en/cli-reference+- https://code.claude.com/docs/en/model-config- https://code.claude.com/docs/en/settings- https://code.claude.com/docs/en/changelog- https://www.anthropic.com/news/claude-opus-4-7diff --git a/ja/CATALOG.md b/ja/CATALOG.mdindex 5920000..13a6a59 100644--- a/ja/CATALOG.md+++ b/ja/CATALOG.md@@ -154,7 +154,7 @@ Claude Code はツール使用の許可を制御する 6 つの権限モード| **Explore** | コードベース探索 | Read、Glob、Grep | 継承(上限は Opus) | 高速検索、コード理解 || **claude** | より専門的なエージェントに当てはまらないタスク向けの汎用エージェント | 全ツール | モデル継承 | 専用エージェントがないタスク、ディスパッチされたバックグラウンドセッションのデフォルト || **statusline-setup** | ステータスライン設定 | Bash、Read、Write | Sonnet 4.6 | ステータスライン表示の設定 |-| **claude-code-guide** | ヘルプとドキュメント | Read、Glob、Grep | Haiku 4.5 | ヘルプ、機能学習 |+| **claude-code-guide** | ヘルプとドキュメント | Read、Glob、Grep | Haiku | ヘルプ、機能学習 |### サブエージェント設定フィールド@@ -540,8 +540,8 @@ chmod +x ~/.claude/hooks/*.sh----**最終更新**:2026 年 9 月 26 日-**Claude Code バージョン**:2.1.283+**最終更新**:2026 年 10 月 10 日+**Claude Code バージョン**:2.1.296**情報源**:- https://code.claude.com/docs/en/tools-reference#task-tool-availability- https://code.claude.com/docs/en/overview@@ -550,4 +550,5 @@ chmod +x ~/.claude/hooks/*.sh- https://github.com/anthropics/claude-code/releases/tag/v2.1.118- https://code.claude.com/docs/en/plugins-reference- https://code.claude.com/docs/en/discover-plugins+- https://code.claude.com/docs/en/sub-agents**互換モデル**:Claude Fable 5、Claude Opus 5、Claude Sonnet 5、Claude Sonnet 4.6、Claude Opus 4.8、Claude Haiku 4.5diff --git a/uk/02-memory/README.md b/uk/02-memory/README.mdindex c38a7ce..86803a9 100644--- a/uk/02-memory/README.md+++ b/uk/02-memory/README.md@@ -640,7 +640,7 @@ Claude завантажить CLAUDE.md із зазначеного додаткThis file supplements root CLAUDE.md for everything in /src/api/. Memory files areconcatenated, not overridden — the root CLAUDE.md still applies, and Claude Code-loads this file on demand when it reads files in this subtree.+loads this file on demand when it reads, writes, or edits files in this subtree.## API-Specific Standards@@ -1084,7 +1084,7 @@ Claude запропонує обрати, який файл пам'яті оноThis file supplements root CLAUDE.md for this directory. Memory files areconcatenated, not overridden — Claude Code loads this file on demand when it- reads files in this directory.+ reads, writes, or edits files in this directory.## [Specific Standards]EOF@@ -1159,9 +1159,11 @@ Claude запропонує обрати, який файл пам'яті оно- [Офіційна документація пам'яті](https://code.claude.com/docs/en/memory) — документація Anthropic----**Останнє оновлення**: 19 вересня 2026-**Версія Claude Code**: 2.1.278+**Останнє оновлення**: 10 жовтня 2026+**Версія Claude Code**: 2.1.296**Джерела**:- https://code.claude.com/docs/en/memory- https://code.claude.com/docs/en/memory#agents-md+- https://github.com/anthropics/claude-code/releases/tag/v2.1.288+- https://github.com/anthropics/claude-code/releases/tag/v2.1.293**Сумісні моделі**: Claude Sonnet 4.6, Claude Opus 4.6, Claude Haiku 4.5diff --git a/uk/02-memory/directory-api-CLAUDE.md b/uk/02-memory/directory-api-CLAUDE.mdindex 4cacb23..50df4cb 100644--- a/uk/02-memory/directory-api-CLAUDE.md+++ b/uk/02-memory/directory-api-CLAUDE.md@@ -2,7 +2,7 @@Цей файл доповнює кореневий CLAUDE.md для всього у /src/api/. Файли пам'ятіконкатенуються, а не перевизначаються — кореневий CLAUDE.md продовжує діяти, а Claude Code-завантажує цей файл за потреби, коли читає файли в цьому піддереві.+завантажує цей файл за потреби, коли читає, записує або редагує файли в цьому піддереві.## Специфічні стандарти API@@ -63,4 +63,9 @@- Тегувати ключі кешу типом ресурсу----**Останнє оновлення**: 9 квітня 2026+**Останнє оновлення**: 10 жовтня 2026+**Версія Claude Code**: 2.1.296+**Джерела**:+- https://code.claude.com/docs/en/memory+- https://github.com/anthropics/claude-code/releases/tag/v2.1.288+- https://github.com/anthropics/claude-code/releases/tag/v2.1.293diff --git a/uk/03-skills/README.md b/uk/03-skills/README.mdindex 3881233..161a213 100644--- a/uk/03-skills/README.md+++ b/uk/03-skills/README.md@@ -733,7 +733,7 @@ description: Analyze Excel spreadsheets, generate pivot tables, create charts. U### Claude не бачить усі навички-Описи навичок завантажуються з лімітом **1% контекстного вікна** (резерв: **8 000 символів**). Кожен запис обмежений 250 символами незалежно від бюджету. Запустіть `/context`, щоб перевірити попередження про виключені навички. Перевизначте бюджет змінною оточення `SLASH_COMMAND_TOOL_CHAR_BUDGET`.+Описи навичок завантажуються з лімітом **1% контекстного вікна** (резерв: **8 000 символів**). Для кожного запису `description` + `when_to_use` обмежені 1 536 символами за замовчуванням (`skillListingMaxDescChars`). Запустіть `/context`, щоб перевірити попередження про виключені навички. Перевизначте бюджет змінною оточення `SLASH_COMMAND_TOOL_CHAR_BUDGET`.## Питання безпеки@@ -813,8 +813,9 @@ chmod +x ~/.claude/skills/my-skill/scripts/*.py- [Посібник хуків](../06-hooks/) — автоматизація за подіями----**Останнє оновлення**: 26 вересня 2026-**Версія Claude Code**: 2.1.283+**Останнє оновлення**: 10 жовтня 2026+**Версія Claude Code**: 2.1.296**Джерела**:- https://code.claude.com/docs/en/skills+- https://code.claude.com/docs/en/settings-reference**Сумісні моделі**: Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5diff --git a/uk/05-mcp/README.md b/uk/05-mcp/README.mdindex 4bef098..6b1b1e0 100644--- a/uk/05-mcp/README.md+++ b/uk/05-mcp/README.md@@ -246,7 +246,7 @@ MCP-сервери можуть запитувати структуровани## Ліміт описів інструментів та інструкцій-Починаючи з v2.1.84, Claude Code встановлює **ліміт 2 КБ** на описи та інструкції інструментів для кожного MCP-сервера. Це запобігає споживанню надмірного контексту окремими серверами з занадто багатослівними визначеннями інструментів.+Починаючи з v2.1.84, Claude Code встановлює **ліміт 2 КБ** на описи та інструкції інструментів для кожного MCP-сервера. Це запобігає споживанню надмірного контексту окремими серверами з занадто багатослівними визначеннями інструментів. Починаючи з v2.1.296, типовий ліміт становить **4 096 символів** для описів, що надсилаються одразу, та для інструкцій сервера (v2.1.296), а описи, які Claude завантажує через tool search, обрізаються на **16 384 символах** (v2.1.295).## MCP Prompts як слеш-команди@@ -1139,11 +1139,12 @@ export GITHUB_TOKEN="your_token"- [Документація Claude API](https://docs.anthropic.com)----**Останнє оновлення**: 30 вересня 2026-**Версія Claude Code**: 2.1.285+**Останнє оновлення**: 10 жовтня 2026+**Версія Claude Code**: 2.1.296**Джерела**:- https://code.claude.com/docs/en/mcp- https://code.claude.com/docs/en/mcp#configure-tool-search- https://code.claude.com/docs/en/managed-mcp- https://github.com/anthropics/claude-code/releases/tag/v2.1.285+- https://github.com/anthropics/claude-code/releases/tag/v2.1.296**Сумісні моделі**: Claude Sonnet 4.6, Claude Opus 4.6, Claude Haiku 4.5diff --git a/uk/10-cli/README.md b/uk/10-cli/README.mdindex 72387e0..ecbf951 100644--- a/uk/10-cli/README.md+++ b/uk/10-cli/README.md@@ -123,7 +123,7 @@ claude -p "list todos" | grep "URGENT"# Opus 4.6 для складних завданьclaude --model opus "design a caching strategy"-# Haiku 4.5 для швидких завдань+# Haiku для швидких завдань (Haiku 5.5 в Anthropic API з v2.1.293; Haiku 4.5 у Bedrock, Vertex і Foundry)claude --model haiku -p "format this JSON"# Повна назва моделі@@ -837,8 +837,9 @@ claude -p --output-format json "query"*Частина серії посібників [Claude How To](../)*----**Останнє оновлення**: 26 вересня 2026-**Версія Claude Code**: 2.1.283+**Останнє оновлення**: 10 жовтня 2026+**Версія Claude Code**: 2.1.296**Джерела**:- https://code.claude.com/docs/en/cli-reference+- https://code.claude.com/docs/en/model-config**Сумісні моделі**: Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5diff --git a/uk/CATALOG.md b/uk/CATALOG.mdindex 3c78566..02ed02a 100644--- a/uk/CATALOG.md+++ b/uk/CATALOG.md@@ -147,7 +147,7 @@ Claude Code підтримує 6 режимів дозволів, що конт| **Explore** | Дослідження кодової бази | Read, Glob, Grep | Успадковує (максимум Opus) | Швидкий пошук, розуміння коду || **claude** | Універсальний агент для задач, які не підходять спеціалізованим агентам | Усі інструменти | Успадкована | Задачі без спеціалізованого агента; типовий агент для диспетчеризованої фонової сесії || **statusline-setup** | Налаштування рядка стану | Bash, Read, Write | Sonnet 4.6 | Конфігурація рядка стану |-| **claude-code-guide** | Довідка та документація | Read, Glob, Grep | Haiku 4.5 | Отримання допомоги, вивчення функцій |+| **claude-code-guide** | Довідка та документація | Read, Glob, Grep | Haiku | Отримання допомоги, вивчення функцій |### Поля конфігурації субагентів@@ -532,11 +532,12 @@ chmod +x ~/.claude/hooks/*.sh----**Останнє оновлення**: 26 вересня 2026-**Версія Claude Code**: 2.1.283+**Останнє оновлення**: 10 жовтня 2026+**Версія Claude Code**: 2.1.296**Джерела**:- https://code.claude.com/docs/en/tools-reference#task-tool-availability- https://code.claude.com/docs/en/commands- https://code.claude.com/docs/en/hooks- https://code.claude.com/docs/en/plugins-reference- https://code.claude.com/docs/en/discover-plugins+- https://code.claude.com/docs/en/sub-agentsdiff --git a/vi/02-memory/README.md b/vi/02-memory/README.mdindex 54bd395..396bc49 100644--- a/vi/02-memory/README.md+++ b/vi/02-memory/README.md@@ -647,7 +647,7 @@ Claude sẽ tải CLAUDE.md từ thư mục bổ sung được chỉ định cùThis file supplements root CLAUDE.md for everything in /src/api/. Memory files areconcatenated, not overridden — the root CLAUDE.md still applies, and Claude Code-loads this file on demand when it reads files in this subtree.+loads this file on demand when it reads, writes, or edits files in this subtree.## API-Specific Standards@@ -1083,7 +1083,7 @@ Claude sẽ nhắc bạn chọn file bộ nhớ nào để cập nhật.This file supplements root CLAUDE.md for this directory. Memory files areconcatenated, not overridden — Claude Code loads this file on demand when it- reads files in this directory.+ reads, writes, or edits files in this directory.## [Specific Standards]EOF@@ -1159,9 +1159,11 @@ Claude sẽ nhắc bạn chọn file bộ nhớ nào để cập nhật.----**Cập Nhật Lần Cuối**: Ngày 19 tháng 9 năm 2026-**Phiên Bản Claude Code**: 2.1.278+**Cập Nhật Lần Cuối**: Ngày 10 tháng 10 năm 2026+**Phiên Bản Claude Code**: 2.1.296**Nguồn**:- https://code.claude.com/docs/en/memory- https://code.claude.com/docs/en/memory#agents-md+- https://github.com/anthropics/claude-code/releases/tag/v2.1.288+- https://github.com/anthropics/claude-code/releases/tag/v2.1.293**Các Mô Hình Tương Thích**: Claude Sonnet 4.6, Claude Opus 4.6, Claude Haiku 4.5diff --git a/vi/02-memory/directory-api-CLAUDE.md b/vi/02-memory/directory-api-CLAUDE.mdindex 443edf5..1813ec1 100644--- a/vi/02-memory/directory-api-CLAUDE.md+++ b/vi/02-memory/directory-api-CLAUDE.md@@ -2,7 +2,7 @@This file supplements root CLAUDE.md for everything in /src/api/. Memory files areconcatenated, not overridden — the root CLAUDE.md still applies, and Claude Code-loads this file on demand when it reads files in this subtree.+loads this file on demand when it reads, writes, or edits files in this subtree.## API-Specific Standards@@ -61,3 +61,12 @@ Error responses:- Cache duration: 5 minutes default- Invalidate on write operations- Tag cache keys with resource type++---++**Cập Nhật Lần Cuối**: Ngày 10 tháng 10 năm 2026+**Phiên Bản Claude Code**: 2.1.296+**Nguồn**:+- https://code.claude.com/docs/en/memory+- https://github.com/anthropics/claude-code/releases/tag/v2.1.288+- https://github.com/anthropics/claude-code/releases/tag/v2.1.293diff --git a/vi/05-mcp/README.md b/vi/05-mcp/README.mdindex c546094..236126e 100644--- a/vi/05-mcp/README.md+++ b/vi/05-mcp/README.md@@ -238,7 +238,7 @@ Các MCP server có thể yêu cầu đầu vào có cấu trúc từ người d## Giới Hạn Mô Tả Và Hướng Dẫn Công Cụ / Tool Description and Instruction Cap-Kể từ v2.1.84, Claude Code thực thi **giới hạn 2 KB** trên mô tả và hướng dẫn công cụ cho mỗi MCP server. Điều này ngăn các server riêng lẻ tiêu thụ quá nhiều ngữ cảnh với các định nghĩa công cụ quá dài dòng, giảm bloat ngữ cảnh và giữ các tương tác hiệu quả.+Kể từ v2.1.84, Claude Code thực thi **giới hạn 2 KB** trên mô tả và hướng dẫn công cụ cho mỗi MCP server. Điều này ngăn các server riêng lẻ tiêu thụ quá nhiều ngữ cảnh với các định nghĩa công cụ quá dài dòng, giảm bloat ngữ cảnh và giữ các tương tác hiệu quả. Kể từ v2.1.296, mặc định là **4.096 ký tự** cho các mô tả được gửi ngay từ đầu và cho hướng dẫn của server (v2.1.296), còn các mô tả mà Claude tải qua tool search bị cắt ở **16.384 ký tự** (v2.1.295).## MCP Prompts Như Lệnh Slash / MCP Prompts as Slash Commands@@ -1158,11 +1158,12 @@ export GITHUB_TOKEN="your_token"----**Cập Nhật Lần Cuối**: Ngày 30 tháng 9 năm 2026-**Phiên Bản Claude Code**: 2.1.285+**Cập Nhật Lần Cuối**: Ngày 10 tháng 10 năm 2026+**Phiên Bản Claude Code**: 2.1.296**Nguồn**:- https://code.claude.com/docs/en/mcp- https://code.claude.com/docs/en/managed-mcp- https://code.claude.com/docs/en/mcp#configure-tool-search- https://github.com/anthropics/claude-code/releases/tag/v2.1.285+- https://github.com/anthropics/claude-code/releases/tag/v2.1.296**Các Mô Hình Tương Thích**: Claude Sonnet 4.6, Claude Opus 4.6, Claude Haiku 4.5diff --git a/vi/10-cli/README.md b/vi/10-cli/README.mdindex 3fac0a4..37839e2 100644--- a/vi/10-cli/README.md+++ b/vi/10-cli/README.md@@ -119,7 +119,7 @@ claude -p "list todos" | grep "URGENT"# Sử dụng Opus 4.6 cho các tác vụ phức tạpclaude --model opus "design a caching strategy"-# Sử dụng Haiku 4.5 cho các tác vụ nhanh+# Sử dụng Haiku cho các tác vụ nhanh (Haiku 5.5 trên Anthropic API từ v2.1.293; Haiku 4.5 trên Bedrock, Vertex và Foundry)claude --model haiku -p "format this JSON"# Tên mô hình đầy đủ@@ -834,8 +834,9 @@ claude -p --output-format json "query"----**Cập Nhật Lần Cuối**: Ngày 26 tháng 9 năm 2026-**Phiên Bản Claude Code**: 2.1.283+**Cập Nhật Lần Cuối**: Ngày 10 tháng 10 năm 2026+**Phiên Bản Claude Code**: 2.1.296**Nguồn**:- https://code.claude.com/docs/en/cli-reference+- https://code.claude.com/docs/en/model-config**Các Mô Hình Tương Thích**: Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5diff --git a/vi/CATALOG.md b/vi/CATALOG.mdindex 83f7796..24c147c 100644--- a/vi/CATALOG.md+++ b/vi/CATALOG.md@@ -144,7 +144,7 @@ Các trợ lý AI chuyên biệt với context bị cô lập cho các tasks c| **Explore** | Khám phá codebase | Read, Glob, Grep | Kế thừa (giới hạn ở Opus) | Tìm kiếm nhanh, hiểu code || **claude** | Tác nhân dự phòng cho các tác vụ không khớp tác nhân chuyên biệt nào | All tools | Kế thừa model | Tác vụ không có tác nhân chuyên biệt; tác nhân mặc định cho phiên nền được điều phối || **statusline-setup** | Cấu hình status line | Bash, Read, Write | Sonnet 4.6 | Cấu hình hiển thị status line |-| **claude-code-guide** | Trợ giúp và tài liệu | Read, Glob, Grep | Haiku 4.5 | Nhận trợ giúp, học tính năng |+| **claude-code-guide** | Trợ giúp và tài liệu | Read, Glob, Grep | Haiku | Nhận trợ giúp, học tính năng |### Subagent Configuration Fields@@ -522,11 +522,12 @@ chmod +x ~/.claude/hooks/*.sh----**Cập Nhật Lần Cuối**: Ngày 26 tháng 9 năm 2026-**Phiên Bản Claude Code**: 2.1.283+**Cập Nhật Lần Cuối**: Ngày 10 tháng 10 năm 2026+**Phiên Bản Claude Code**: 2.1.296**Nguồn**:- https://code.claude.com/docs/en/tools-reference#task-tool-availability- https://code.claude.com/docs/en/commands- https://code.claude.com/docs/en/hooks- https://code.claude.com/docs/en/plugins-reference- https://code.claude.com/docs/en/discover-plugins+- https://code.claude.com/docs/en/sub-agentsdiff --git a/zh/02-memory/directory-api-CLAUDE.md b/zh/02-memory/directory-api-CLAUDE.mdindex 1c7f110..397d141 100644--- a/zh/02-memory/directory-api-CLAUDE.md+++ b/zh/02-memory/directory-api-CLAUDE.md@@ -1,6 +1,6 @@# API 模块规范-本文件是对根目录 `CLAUDE.md` 的补充,作用于 `/src/api/` 下的所有内容。memory 文件是拼接(concatenate)而不是覆盖 — 根目录 `CLAUDE.md` 依然生效,Claude Code 会在读取该子目录下的文件时按需加载本文件。+本文件是对根目录 `CLAUDE.md` 的补充,作用于 `/src/api/` 下的所有内容。memory 文件是拼接(concatenate)而不是覆盖 — 根目录 `CLAUDE.md` 依然生效,Claude Code 会在读取、写入或编辑该子目录下的文件时按需加载本文件。## API 专属规范@@ -60,3 +60,12 @@- 缓存时长默认 5 分钟- 写操作时失效缓存- 用资源类型给缓存键打标签++---++**最后更新**: 2026 年 10 月 10 日+**Claude Code 版本**: 2.1.296+**来源**:+- https://code.claude.com/docs/en/memory+- https://github.com/anthropics/claude-code/releases/tag/v2.1.288+- https://github.com/anthropics/claude-code/releases/tag/v2.1.293diff --git a/zh/10-cli/README.md b/zh/10-cli/README.mdindex 7a97bc4..c24c399 100644--- a/zh/10-cli/README.md+++ b/zh/10-cli/README.md@@ -119,7 +119,7 @@ claude -p "列出待办事项" | grep "URGENT"# 复杂任务使用 Opus 4.6claude --model opus "设计一个缓存策略"-# 快速任务使用 Haiku 4.5+# 快速任务使用 Haiku(自 v2.1.293 起在 Anthropic API 上为 Haiku 5.5;在 Bedrock、Vertex 和 Foundry 上为 Haiku 4.5)claude --model haiku -p "格式化这个 JSON"# 使用完整模型名@@ -642,7 +642,8 @@ claude --working-directory ./backend --mcp-config ./mcp.json----**最后更新**: 2026 年 9 月 26 日-**Claude Code 版本**: 2.1.283+**最后更新**: 2026 年 10 月 10 日+**Claude Code 版本**: 2.1.296**来源**:- https://code.claude.com/docs/en/cli-reference+- https://code.claude.com/docs/en/model-configdiff --git a/zh/CATALOG.md b/zh/CATALOG.mdindex ef5661e..be5e5cc 100644--- a/zh/CATALOG.md+++ b/zh/CATALOG.md@@ -143,7 +143,7 @@ Claude Code 提供 6 种权限模式,用来控制工具调用如何被授权| **Explore** | 代码库探索 | Read、Glob、Grep | 继承(上限为 Opus) | 快速搜索、理解代码 || **claude** | 不适合更专门 agent 的任务的通用兜底 agent | 所有工具 | 继承当前模型 | 没有专门 agent 的任务;被调度的后台会话的默认 agent || **statusline-setup** | 状态栏配置 | Bash、Read、Write | Sonnet 4.6 | 配置状态栏显示 |-| **claude-code-guide** | 帮助与文档 | Read、Glob、Grep | Haiku 4.5 | 获取帮助、学习功能 |+| **claude-code-guide** | 帮助与文档 | Read、Glob、Grep | Haiku | 获取帮助、学习功能 |### Subagent 配置字段@@ -531,11 +531,12 @@ claude mcp add github -- npx -y @modelcontextprotocol/server-github----**最后更新**: 2026 年 9 月 26 日-**Claude Code 版本**: 2.1.283+**最后更新**: 2026 年 10 月 10 日+**Claude Code 版本**: 2.1.296**来源**:- https://code.claude.com/docs/en/tools-reference#task-tool-availability- https://code.claude.com/docs/en/commands- https://code.claude.com/docs/en/hooks- https://code.claude.com/docs/en/plugins-reference- https://code.claude.com/docs/en/discover-plugins+- https://code.claude.com/docs/en/sub-agents