CLAUDE_CODE_DISABLE_CFC_PROMPT

環境変数

Claude Code を組み込み、独自のブラウザガイダンスを提供するホスト向けの設定である。1 を設定すると、システムプロンプトの Chrome セクションと /claude-in-chrome バンドルスキルを省略しつつ、Claude in Chrome のブラウザツールを利用可能なままにできる。VS Code では、v2.1.314 以降の拡張機能がセッションのメッセージからも Claude in Chrome の説明を除外する。Claude Code v2.1.257 以降が必要である。

使い方・用途

  • Claude Code を組み込みホストに埋め込んで独自のブラウザガイダンスを提供する際に、システムプロンプトの Chrome セクションや /claude-in-chrome スキルを省いてプロンプトの重複を避けたい場合に使う。
  • VS Code で Claude in Chrome の説明がセッションのメッセージに含まれるのを避けたいが、ブラウザツール自体は引き続き使いたい場合に使う。
英語原文

For hosts that embed Claude Code and supply their own browser guidance. Set to 1 to keep the Claude in Chrome browser tools available while omitting the Chrome section of the system prompt and the /claude-in-chrome bundled skill. In VS Code, the extension at v2.1.314 or later also leaves the Claude in Chrome instructions out of a session's messages. Requires Claude Code v2.1.257 or later

関連する変更履歴

v2.1.314(1件)

[VSCode] CLAUDE_CODE_DISABLE_CFC_PROMPT を設定すると、拡張機能がセッションのメッセージに Claude in Chrome の指示を追加しなくなるようにした。ブラウザツールは引き続き利用できる
英語原文を表示
[VSCode] Changed CLAUDE_CODE_DISABLE_CFC_PROMPT to also stop the extension adding the Claude in Chrome instructions to a session's messages; the browser tools stay available

変更後

CLAUDE_CODE_DISABLE_CFC_PROMPT で無効化した場合でも、ブラウザツールは引き続き利用でき、セッションのメッセージに Claude in Chrome の指示が追加されなくなる。

関連ドキュメント