Claude Code sometimes pops a ā€œHow is Claude doing this session?ā€ feedback survey mid-flow. There’s a simple way to disable it:

Set CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY=1 in your environment.

The cleanest option is to put it in Claude Code’s ~/.claude/settings.json under env:

{
  "env": {
    "CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY": "1"
  }
}

Source: this GitHub comment.

UPDATE: you can add the following for even more Claude Code tweaking:

export CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY=1
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
export DISABLE_AUTOUPDATER=1
# Reduce splash screen size.
export IS_DEMO=1

Source: this Hacker News comment.