Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.334 ·

New CLAUDE_CODE_PLUGIN_RULES variable for remote and container sessions

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
JSON All of v2.1.334
Use it nowTier: how much it should matter to you
5Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
PluginsArea: what it touches
New FeaturesKind: in v2.1.334,
What probably matters to youSection 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.

Read from
Names in the bundleCLAUDE_CODE_PLUGIN_RULES
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt 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 buildNew in this build: CLAUDE_CODE_PLUGIN_RULES

See this entry in the whole of v2.1.334 →

Feedback