環境変数
CLAUDE_CODE_ENABLE_APPEND_SUBAGENT_PROMPT
型
string1 を設定すると、すべてのサブエージェントのシステムプロンプトの末尾に追加テキストを付加できるようになる。追加テキストは --append-subagent-system-prompt フラグで指定され、このフラグがこの変数を自動的に設定するため、自分で設定する必要はない。Claude Code v2.1.205 以降が必要。
取りうる値
0 |
|---|
1 |
英語原文(公式ドキュメントより)
Set to 1 to enable appending extra text to the end of every subagent's system prompt. The --append-subagent-system-prompt flag supplies the appended text and sets this variable automatically, so you do not need to set it yourself. Requires Claude Code v2.1.205 or later. See https://code.claude.com/docs/en/sub-agents
関連ドキュメント
まだ変更履歴との関連付けはありません