{"version":"2.1.336","anchor":"new-env-var-claude-code-uploads-kept-in-added-to-passthrough","canonical_anchor":"new-env-var-claude-code-uploads-kept-in-added-to-passthrough","heading":"New CLAUDE_CODE_UPLOADS_KEPT_IN environment variable","tier":"use","area":"Environment Variables","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/new-env-var-claude-code-uploads-kept-in-added-to-passthrough","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### New `CLAUDE_CODE_UPLOADS_KEPT_IN` environment variable\n\nClaude Code now recognises a `CLAUDE_CODE_UPLOADS_KEPT_IN` environment variable, which appears to relate to where uploaded files are kept\n\n**Unclear.** What value `CLAUDE_CODE_UPLOADS_KEPT_IN` takes and what it changes is not known.\n\n**What**\n\nClaude Code now recognises an environment variable (a named value set outside Claude Code) called `CLAUDE_CODE_UPLOADS_KEPT_IN`. It is passed along in the same lists as `CLAUDE_CODE_ATTACHMENTS_IN_USER_DATA`. A setting for an uploads folder name was added next to the existing project folder name.\n\nAnother new variable, `CLAUDE_CODE_MARL_SORREL`, is handled the same way as Claude Code's existing session tokens.\n\n**Why**\n\nThis looks like a new way to control how or where uploaded files are stored.\n\n- Area: Environment Variables\n- Names: `CLAUDE_CODE_UPLOADS_KEPT_IN`, `CLAUDE_CODE_ATTACHMENTS_IN_USER_DATA`\n- Tier: Use it now\n- Useful: 5\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}