Claude Code v2.1.337: Git Plugin Installs, Background Skills & 85 Fixes
Claude Code v2.1.337 (Dec 4, 2026) adds /plugin install from Git, background skills, built_in MCP hook metadata, fail-closed claude -p checks, and 85 bug fixes.

Q. What are the biggest changes in Claude Code v2.1.337? You can now install plugins directly in the terminal via
/plugin install <Git address>and use them immediately, and move running skills to the background across Desktop, cloud, and Remote Control sessions. In addition, headlessclaude -pand SDK runs now exit withis_error: trueand code 1 if auto mode cannot check an action.
⚠️ Accuracy guardrail: This article is based on Anthropic's official Claude Code Changelog (
2.1.337, released December 4, 2026) andCHANGELOG.mdinanthropics/claude-codeas of December 5, 2026. Internal implementation details of the 85 bug fixes and rollout timing for Enterprise Admin Console policies were not inspected beyond the official release notes.
30-second summary
- Instant Git plugin installs in the terminal:
/plugin install <git@ | https:// | owner/repo>lets you install and use a plugin right away, and plugins installed from another terminal or aSessionStarthook now load without/reload-plugins. - Background skills &
built_inMCP hook metadata: Desktop, cloud, and Remote Control sessions add "Run in background" for active skills (background: falsein frontmatter keeps them inline), and hooks receive abuilt_infield to identify Claude Desktop's built-in servers. - Stricter headless safety checks:
claude -pand SDK runs now fail withis_error: trueand exit 1 when auto mode cannot verify an action (opt out viaCLAUDE_CODE_DISABLE_UNCHECKED_ACTIONS_ERROR=1). - VS Code, memory & stability overhaul: Includes 12 improvements and 85 bug fixes—instant diff accept on save in VS Code, lower memory use in long Code Mode MCP sessions, and reliable MCP tool reloading after compaction.

Instant terminal plugin installs and Mod UI upgrades
You can now attach plugins from a Git repository without leaving your terminal workflow. Version 2.1.337 adds /plugin install supporting git@, https://, and owner/repo addresses so you can install a plugin and start using it immediately.
Plugins installed via claude plugin install in another terminal or by a SessionStart hook are now picked up by open sessions without running /reload-plugins. However, claude plugin configure, claude plugin install --config, and /plugin install will reject options for plugins blocked by your organization.
Terminal mod panes also gain richer controls: overflowY="scroll" for panes, unbound chords in ui.key, a spinner for running Progress, clickable file paths in mod Markdown, and picture cards where a Button holds Box and Image elements together.

Background skills and built_in MCP details for hooks
Long-running skills no longer need to block your main chat turn. In Desktop, cloud, and Remote Control sessions (excluding third-party providers), a running skill now offers "Run in background"; authors who want a skill to stay in the conversation can set background: false in its frontmatter.
Hook authors also get finer-grained MCP context. Hook payloads now include built_in on MCP server details, allowing policies to distinguish Claude Desktop's own built-in servers (some of which run commands or control the computer) from third-party MCP servers.
For related terminal agent updates, see Toris News on OpenCode v2.4.4: HTTP Hook Responses & Session Deep Links and OpenAI Codex CLI v0.174.0: Cloud Chats, Side Docking & Vertex AI.
Headless (claude -p), Enterprise, and permission changes
| Area | What changed in v2.1.337 | Practical impact / flag |
|---|---|---|
claude -p / SDK |
Ends with is_error: true, exit 1 if auto mode cannot check an action |
Set CLAUDE_CODE_DISABLE_UNCHECKED_ACTIONS_ERROR=1 to opt out |
allowedMcpServers |
No longer blocks Claude Code's built-in Artifacts server | Use deniedMcpServers or org Artifacts settings to block it |
| Enterprise Admin Console | Preserves local managed allow rules and default mode on sign-in | Also keeps status line and MCP list unless console defines its own |
CLAUDE_CODE_OAUTH_TOKEN |
← and /background refuse mismatched org shell tokens |
Prevents cross-org token mix-ups |
| Self-hosted runner | Re-opened idle sessions release at --release-idle-session-min |
Tracked via the new ready_idle_sessions metric |
The most important breaking safeguard for automation pipelines is the change to claude -p and SDK runs. Instead of proceeding when an auto mode safety check is unavailable, headless runs now fail closed with exit code 1.

VS Code, compaction recovery & 85 bug fixes
In VS Code, saving a proposed diff now accepts the edit without requiring an extra click inside it first, and Accept/Reject icons appear immediately beside a Claude tab. Permission cards also show right after closing an open menu (instead of up to 20 seconds later, unless a screen reader is active), and vscode://anthropic.claude-code/open links once again accept prompts over 5,000 characters.
Long-session reliability also improved across the board. Memory usage is reduced in terminal, desktop, VS Code, claude -p, and especially long fullscreen sessions where Code Mode scripts make many MCP calls. After compaction, Claude now remembers which MCP tools were loaded and can reload them even on third-party providers or with telemetry disabled.
Among the 85 bug fixes are a macOS computer-use fix for Korean/Russian keyboards (which previously triggered Select All instead of copy/paste/save), preserving git branch and status after compaction in slow git status repos, and fixing /code-review skipping REVIEW.md rules past 150,000 bytes or inside bracketed folder names. (For browser handoff workflows with coding agents, see Handing Off Browser Work from Claude Code to Codex with ego lite.)
Toris's take
- Teams running
claude -pin CI/CD: Check whether your environment can run auto mode safety checks before upgrading, or setCLAUDE_CODE_DISABLE_UNCHECKED_ACTIONS_ERROR=1if you intentionally run without them. - Builders sharing plugins and skills: One-line
/plugin installwith a Git URL orowner/reporemoves friction when distributing internal or open-source workflows. - Heavy MCP and Korean macOS users: Between the Code Mode memory optimizations and the Korean IME shortcut fix in computer use, upgrading to
2.1.337brings immediate daily-driver wins.
Sources
Advertisement