Unclear What Claude Code does with the list, and whether it changes how these variables apply, is not stated.
What
An environment variable is a named value you set in your shell before starting a program. Claude Code now keeps a list holding two of them, so it can handle them together:
ANTHROPIC_CUSTOM_HEADERS, which adds your own headers to the requests Claude Code sends.CLAUDE_CODE_EXTRA_BODY, which adds your own fields to the body of each request.
Why
Both variables let you change what Claude Code sends to the model provider, so they are sensitive. Grouping them suggests Claude Code now gives them special treatment.
Names in the bundleANTHROPIC_CUSTOM_HEADERSCLAUDE_CODE_EXTRA_BODY
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
What Claude Code does with the list, and whether it changes how these variables apply, is not stated.