1. 2.1.337 This release
  2. 2.1.336 Previous

Claude Code 2.1.337: install plugins by git address, background skills, stricter SDK

2.1.337 lets you install a plugin straight from a git address, extends background skills to more surfaces, and makes claude -p and the SDK fail when auto mode can't check an action.

published
reading
5 min

Written by a Claude routine from the official changelog, checked by a script.

Claude Code 2.1.337, released on December 4, 2026, stacks up six additions, seventeen changes, twelve improvements and eighty-five bug fixes. Three of them are worth your attention if you install plugins, write skills, or run Claude Code unsupervised through claude -p or the SDK: installing a plugin gets more direct, a skill can now run in the background on more surfaces, and auto mode makes an automated run fail loudly instead of quietly carrying on when it can't verify an action.

Install a plugin straight from a git address

Until now, installing a plugin that didn't come from an already-registered marketplace took two steps: add the marketplace with /plugin marketplace add, then install the plugin by name. Since 2.1.275, a shortcut existed with /plugin install <plugin> --marketplace <source>, which offers to add the marketplace before installing the plugin; 2.1.292 brought it to claude plugin install in the shell.

2.1.337 goes a step further: you can type or paste a git@..., https://... or owner/repo address straight after /plugin install in the terminal. Claude Code installs the plugin and makes it usable right away. These are the same three formats the marketplace docs already document for /plugin marketplace add: a full git URL for a repo outside GitHub, git@host:path over SSH, or the owner/repo shorthand Claude Code reads as GitHub. A private repo over HTTPS goes through whatever git credentials you already have configured (gh auth login, the macOS keychain, a credential helper), with no prompt: if nothing is set up, the clone fails instead of asking you for a password.

A skill can now run in the background on more surfaces

2.1.337 adds "Run in background" for a running skill in Desktop, cloud and Remote Control sessions, except on third-party providers: you can send the skill to the background and keep working. A skill with background: false in its frontmatter stays in the conversation. That field doesn't apply to every skill: the skills docs say it only applies to skills declared with context: fork, the ones that run as a detached subagent instead of inline in the conversation. For those skills, the forked subagent runs in the background by default, and its result lands in the conversation once it's done. It's the skill's author who decides, with background: false, whether it should instead wait for the result in the turn that invoked it.

The docs also list cases where Claude Code waits regardless of that frontmatter setting: a non-interactive run with -p or the SDK, the CLAUDE_CODE_DISABLE_BACKGROUND_TASKS=1 environment variable, invoking a forked skill while an earlier invocation of the same skill is still running, or a session-scoped scheduled task that fires with that skill as its prompt. One detail worth knowing if your skill needs a specific tool: a backgrounded fork runs with the narrower tool set that applies to background subagents, so background: false is still what you need to keep the full tool set.

claude -p and the SDK now fail hard when auto mode can't judge an action

This is the change most likely to break an existing automation. Auto mode replaces your manual approvals with a classifier that judges each action before it runs. That classifier can fail to reach a verdict: its model is temporarily unavailable, its response doesn't parse, a safety safeguard refuses its own request, or, under server-side review, the server returns no verdict.

Through 2.1.336, Claude Code handled that by blocking the action, and the claude -p run carried on without it. 2.1.337 changes that for claude -p and SDK runs: when auto mode can't verify an action, the run now ends with is_error: true and exit code 1, instead of silently continuing with a missing action. If you have a CI pipeline or a script that calls claude -p in auto mode and only checks the exit code, a classifier outage that used to pass unnoticed can now fail the job. Set CLAUDE_CODE_DISABLE_UNCHECKED_ACTIONS_ERROR=1 to restore the old behavior if you'd rather keep going without that action than stop the run.

The rest that matters

  • The ← shortcut now opens agent view on the first press right after you empty the prompt or move through prompt history, no second press needed.
  • In VS Code, the desktop app's Code tab and background agents, auto mode no longer refuses an action outright when its safety check can't run: Claude asks you to approve most of them.
  • /background and ← now refuse a session using CLAUDE_CODE_OAUTH_TOKEN from your shell when that token belongs to a different organization than the one your session is signed into.
  • Number shortcuts shown above the prompt, like a survey's, now ignore a digit that was pasted or recalled from history: it stays in the prompt as text instead of triggering the shortcut.
  • Many cases of later messages getting blocked because an earlier message in the conversation had been flagged are fixed.
  • A plugin installed with claude plugin install in another terminal, or by a SessionStart hook, can now load into an already-open session without needing /reload-plugins.
  • /plugin install, claude plugin install --config and claude plugin configure now refuse options for a plugin your organization blocks.
  • allowedMcpServers no longer blocks Claude Code's built-in Artifacts server; deniedMcpServers and your organization's Artifacts setting still apply.
  • Lower memory use for the terminal, the desktop app, VS Code and claude -p, and for long fullscreen sessions that make many MCP calls through Code Mode.

Most of what's left goes to VS Code (saving a proposed diff accepts the edit, Accept and Reject icons shown at once, faster permission prompts, plugin installs that only ask for required options with no default), to self-hosted runners and to organizations managed through the Enterprise Admin Console. If you run scripts or CI on claude -p in auto mode, the one worth checking before your next deploy is the third change: a run that used to finish without an error despite an unchecked action can now exit with one.

Previous release: 2.1.336, December 4.

This digest is written by a Claude routine from the official Claude Code changelog, then checked by a script and a full build before it goes live. How that works: Claude Routines, the complete guide. Claude Hub is published by Pierre Rondeau.

Back to top

The Claude Hub newsletter

One email a week: new guides and the week's articles. Unsubscribe in one click.