CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT=0 を設定する英語原文を表示英語原文を閉じる
CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT=0 to keep the full prompt変更後
カスタムデプロイ名や推論プロファイル ARN など、Claude Code が認識しないモデル名を使っていても、実際のモデルに合わせた短いシステムプロンプトが適用され、トークン消費を抑えて動作させられる。
Claude Code の完全なシステムプロンプトと、ツール説明を簡略化した短いシステムプロンプトのどちらを使うかを選択する。未設定の場合、Haiku 4.5、Sonnet 5、Opus 4.7 およびこれらのファミリーの以前のモデルは既定で完全なプロンプトを使い、それより新しいモデルは短い方を使う。1 を設定すると任意のモデルで短いプロンプトを使う。0、false、no、off のいずれかを設定すると、実験やサーバー設定が短い方を選ぶように指定されている場合でも、任意のモデルで完全なプロンプトを使う。どちらのプロンプトでもツールセット、フック、MCP サーバー、CLAUDE.md の検出は完全に保たれる。
Choose between Claude Code's full system prompt and a shorter one with abbreviated tool descriptions. When unset, Haiku 4.5, Sonnet 5, Opus 4.7, and earlier models in those families use the full prompt by default, and newer models use the shorter one. Set to 1 to use the shorter prompt on any model. Set to 0, false, no, or off to use the full prompt on any model, even where an experiment or server configuration would otherwise select the shorter one. Either prompt keeps the full tool set, hooks, MCP servers, and CLAUDE.md discovery
CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT=0 を設定するCLAUDE_CODE_SIMPLE_SYSTEM_PROMPT=0 to keep the full prompt変更後
カスタムデプロイ名や推論プロファイル ARN など、Claude Code が認識しないモデル名を使っていても、実際のモデルに合わせた短いシステムプロンプトが適用され、トークン消費を抑えて動作させられる。