CLAUDE_CODE_ENABLE_SHARE_BUNDLE

環境変数

1 に設定すると、/share がレポートを Anthropic に送信する代わりに、レポートとセッション全体のトランスクリプトを ~/.claude/feedback-bundles/ 配下のローカルアーカイブに保存するようになる。組織のポリシーで /share が無効化されている場合、この変数で再有効化することはできない。Claude Code v2.1.299 以降が必要

英語原文

Set to 1 to make /share save its report and the whole session transcript to a local archive under ~/.claude/feedback-bundles/ instead of sending the report to Anthropic. If your organization's policy turns off /share, you can't turn it back on with this variable. Requires Claude Code v2.1.299 or later