Claude Code v2.1.334 · 1 Dec 2026
Setting CLAUDE_CODE_PLUGIN_RULES in a remote or container session changes how Claude Code treats the attachment and simple-mode variables
Use it now Notable
No documentation found New Features
Copy link
Copy markdown
JSON
All of v2.1.334
Use it now Tier: how much it should matter to you
5 Useful: my rating, 1 to 5
3 Signal: worth watching, 1 to 5
Plugins Area: what it touches
New Features Kind: in v2.1.334, 01 Dec 26
What probably matters to you Section of the release
Unclear It is not clear whether the check switches those two modes on for such sessions or exempts those sessions from them.
What
Claude Code now recognizes an environment variable named CLAUDE_CODE_PLUGIN_RULES . Environment variables are named values handed to Claude Code when it starts.
If it is set together with either of the variables below, one internal check treats CLAUDE_CODE_DISABLE_ATTACHMENTS and CLAUDE_CODE_SIMPLE as if they were set:
There is also a new kind of attachment called plugin rules. Attachments are extra pieces of context that Claude Code adds alongside your messages, such as the list of available skills or output style instructions.
Why
Sessions that run remotely or in a container can now be given plugin rules. This variable also changes how those sessions are handled by the no-attachments and simple modes.
How sure we are
Something disagrees Something we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt It is not clear whether the check switches those two modes on for such sessions or exempts those sessions from them.
The name it cites is new in this build New in this build: CLAUDE_CODE_PLUGIN_RULES
See this entry in the whole of v2.1.334 →
1 Dec 2026 · 544 entries, this one is #11.
Use it now15 You'll notice322 Nothing to try yet40 Under the hood167
Open the release →
Names in this entry
env CLAUDE_CODE_PLUGIN_RULES Setting CLAUDE_CODE_PLUGIN_RULES in a remote or container session changes how Claude Code treats the attachment and simple-mode variables
env CLAUDE_CODE_DISABLE_ATTACHMENTS Set to 1 to disable attachment processing. File mentions with @ syntax are sent as plain text instead of being expanded into file content
env CLAUDE_CODE_SIMPLE When a coordinator agent cannot use a tool, Claude is told to run it from a worker.
env CLAUDE_CODE_REMOTE_SESSION_ID Commands blocked in cloud sessions now tell you the exact local command to run instead.
env CLAUDE_CODE_CONTAINER_ID Claude Code now records yes or no for whether a remote session ID or container ID is set
Is this right?
0
0
Feedback
What's wrong with this entry?
Hard to understand Too vague Looks wrong Not relevant to me Too long Missing the detail I wanted Duplicate of another card
Clear Learned something new I can act on this Good catch
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
← Previous · 10 of 544
claude gateway --check config checks gateway settings without starting it
Use it now Gateway
In v2.1.334 What probably matters to you release-page order
Next → · 12 of 544
New CLAUDE_CODE_RETRY_WATCHDOG_END_AT_ADMIN_LIMIT setting for the retry watchdog
Use it now Retry Watchdog