環境変数
DISABLE_DOCTOR_COMMAND
1 を設定すると /doctor のセットアップチェックアップスキルとそのエイリアス /checkup が非表示になる。ユーザーにセッションからセットアップ診断を実行させたくない管理対象デプロイで有用である。ターミナルコマンドの claude doctor には影響しない。v2.1.205 より前は、この変数は /doctor の診断画面コマンドを非表示にしていた。
使い方・用途
- 管理された環境での展開において、ユーザーがセッション内からセットアップ診断(/doctor)を実行できないようにしたいときに使う。
- disableBundledSkills を有効にしても /doctor は入力可能なまま残るため、それもまとめて非表示にしたいときに使う。
- v2.1.205 より前のバージョンでは /doctor の診断画面コマンド自体を隠したいときに使う。
英語原文(公式ドキュメントより)
Set to 1 to hide the /doctor setup checkup skill and its /checkup alias. Useful for managed deployments where users shouldn't run setup diagnostics from a session. Doesn't affect the claude doctor terminal command. Before v2.1.205, this variable hid the /doctor diagnostics screen command