Key Updates in Claude Code v2.1.337 - Git URL Support for /plugin install and Changes to claude -p Exit Codes

Key Updates in Claude Code v2.1.337 - Git URL Support for /plugin install and Changes to claude -p Exit Codes

Claude Code v2.1.337 lets /plugin install take owner/repo or https:// and use the plugin right away. I tested it with a DuckDB plugin, and cover claude -p exit codes and allowedMcpServers changes to check before updating.
2026.12.05

This page has been translated by machine translation. View original

I'm Ishikawa from the Cloud Business Headquarters. Claude Code v2.1.337 (released December 4, 2026 UTC) has been released. Since there are as many as 120 changes this time, I'll start with the notable updates. Today, I'll try the new Git address support for /plugin install using the plugin repository published by DuckDB.

The previous update article is here.

https://dev.classmethod.jp/articles/20261204-cc-updates-v2-1-336/

Update Summary

v2.1.337 includes 120 changes. By my classification, there are 6 new features, 5 security items, 22 improvements, 2 performance items, 83 fixes, and 2 breaking changes, of which 26 are VS Code extension changes. Fixes account for about 70% of the total. The 2 breaking changes concern the exit code of claude -p and allowedMcpServers, and I also cover one fix that changes behavior (the terminal title) in the breaking changes section.

Notable Updates

New Features

Install by specifying a Git address with /plugin install

/plugin install <git address> is now available in the terminal. If you type or paste an address in git@, https://, or owner/repo format, the plugin is installed and ready to use right away.

I feel this change is helpful for those who want to quickly try plugins published on GitHub and elsewhere.

"Run in background" for running skills

"Run in background" has been added to running skills in Desktop, cloud, and Remote Control sessions (except for third-party providers). If you specify background: false in the skill's frontmatter, it stays in the conversation.

Those who run long-running skills in Desktop or cloud sessions can now move on to the next task without waiting for the result.

Bug Fixes

Fix for startup hanging with --allowedTools and --tools

Fixed an issue where startup hung if --allowedTools or --tools contained an old tool name or a standalone *. An issue where the resume command shown at exit was rejected for some lists has also been fixed. This was a regression introduced in 2.1.333.

If you have had scripts that specify things like --tools "*" fail to start since 2.1.333, it's worth checking whether this update resolves it.

Fix for blocking caused by flags on earlier messages

Fixed many cases where subsequent messages were blocked because an earlier message in the conversation had been flagged.

This fix helps those who have been unable to proceed in the middle of a long conversation because of an earlier message.

Security

Fix for behavior when auto mode's safety check cannot run

Fixed an issue in VS Code, the Code tab of the desktop app, and background agents where operations were denied when the auto mode safety check could not run. Approval is now requested for many operations.

For those using auto mode in VS Code or the desktop app, I expect there will be more situations where you can continue working by going through approval even in environments where the safety check does not run.

Change to exit codes of claude -p and the SDK

When auto mode could not confirm an action, claude -p and SDK runs now end with is_error: true and exit code 1. You can opt out by setting CLAUDE_CODE_DISABLE_UNCHECKED_ACTIONS_ERROR=1. Because behavior changes, I also cover this in "Breaking Changes and Deprecations" below.

If you have embedded claude -p in auto mode into CI or similar, I feel it's a good idea to revisit how exit codes are handled.

allowedMcpServers no longer blocks the Artifacts server

allowedMcpServers no longer blocks Claude Code's own Artifacts server. You can still block it with deniedMcpServers and the organization's Artifacts settings. I also cover this in "Breaking Changes and Deprecations" below.

Administrators who restrict MCP servers with allowedMcpServers should note that if they want to stop the Artifacts server, they need to use deniedMcpServers or the organization's Artifacts settings.

Update Details

New Features

  • /plugin install <git address> is now available in the terminal. If you type or paste an address in git@, https://, or owner/repo format, the plugin is installed and ready to use right away
  • "Run in background" has been added to running skills in Desktop, cloud, and Remote Control sessions (except for third-party providers). If you specify background: false in the skill's frontmatter, it stays in the conversation
  • built_in has been added to the MCP server information that hooks receive. It is a value Claude Desktop sets on its own servers, and some of those servers run commands or operate the computer
  • overflowY="scroll" can now be specified on mod panes. Also added are unassigned chords for ui.key, a spinner for running Progress, and clickable file paths in mod Markdown
  • Picture cards have been added for mods. In the terminal, Button can now hold a Box and an Image element as a single control
  • [VS Code] A View button has been added to notifications for sessions waiting behind another session in the same panel

Security

  • Fixed an issue in VS Code, the Code tab of the desktop app, and background agents where operations were denied when the auto mode safety check could not run. Approval is now requested for many operations
  • claude plugin configure, claude plugin install --config, and /plugin install now reject plugin options that the organization has blocked
  • For sessions using the shell's CLAUDE_CODE_OAUTH_TOKEN, ← and /background now reject the session when the saved login belongs to a different organization
  • When signing in to an Enterprise Admin Console organization, the computer's managed permission rules and default mode are now retained, and if the console has no settings, the status line and MCP server list are retained as well
  • Further fixed cases where Claude or the artifact's publishing prompt showed "private" for an artifact that others can open

Improvements and Performance

  • Memory usage has been improved for terminal, desktop app, and VS Code sessions and for claude -p
  • Open sessions can now load plugins installed by running claude plugin install in another terminal, or plugins installed by a SessionStart hook, without /reload-plugins
  • Auto mode has been improved for gateways, cloud providers, and self-hosted runners. When a safety check was denied or may be blocked, Claude or the session's error now says so and indicates who can resolve it
  • More sessions now have auto mode read short replies such as "yes" together with Claude's question (including Remote Control and Team/Enterprise cloud sessions)
  • Detection of streaming responses corrupted in transit has been improved, reducing cases where a tool call is executed with incomplete input
  • MCP tool calls after compaction have been improved when using third-party providers or when telemetry and feature flags are turned off. Claude now knows which tools had been loaded and can reload them
  • Many warnings, errors, and notifications in the conversation now start with the ∷ mark, making them easier to tell apart from Claude's replies
  • Self-hosted runners now tell Anthropic's service when the host specifies a different model provider, when plan mode or accept edits mode is the default, or when managed settings prohibit auto mode
  • [VS Code] Saving a proposed diff now approves the edit without clicking inside the diff. The Accept and Reject icons are also shown right next to the Claude tab
  • In addition, there are 15 improvements and changes, including what is shown when clicking a file path, mod panes, dialog key hints and line counts, permission prompt display, releasing idle sessions on self-hosted runners, and the VS Code extension (5 items).

Fixes

  • Fixed startup hanging with --allowedTools and --tools: Fixed an issue where startup hung if --allowedTools or --tools contained an old tool name or a standalone *, and an issue where the resume command shown at exit was rejected for some lists (a regression in 2.1.333)
  • Fixed subsequent messages being blocked by flags on earlier messages: Fixed many cases where subsequent messages were blocked because an earlier message in the conversation had been flagged
  • Fixed losing track of the git branch after compaction: Fixed an issue where, in folders where git status is slow, Claude lost track of the git branch and status after compaction
  • Fixed command denials in worktree sessions: Fixed an issue where worktree sessions and subagents rejected commands containing paths or branch names such as tests/eval or x/source
  • Fixed duplicate runs of scheduled tasks such as /loop: Fixed an issue where session-scoped scheduled tasks such as /loop ran twice after forking a session that was left open
  • Fixed "No diff content" in /diff: Fixed an issue where /diff showed "No diff content" instead of the file changes when git's color.ui or color.diff was always
  • Fixed /code-review skipping REVIEW.md rules: Fixed an issue where /code-review skipped some REVIEW.md rules. It could occur for content beyond 150,000 bytes, folders with square brackets or parentheses in their names, and, in large repositories, for all folders
  • Fixed loss of conversation on exit: Fixed an issue where the conversation was lost on exit when running claude in a terminal that another Claude Code session had opened
  • Fixed incorrect display of the waiting notification: Fixed an issue where the "Claude is waiting for your input" notification appeared while a background subagent was waiting for its own command or monitor (anthropics/claude-code#98373)
  • Fixed --model default failing on Amazon Bedrock (Mantle): Fixed an issue where, in headless runs, --model default failed on Amazon Bedrock (Mantle) when the latest Opus model was not enabled
  • A quietly welcome fix: Fixed an issue in cloud sessions where Claude could not recognize by name attachments whose names contain non-English characters, such as 報告.txt. For those who often hand over materials with Japanese file names, I feel this is a quietly helpful fix.
  • In addition, many minor bugs have been fixed, including background sessions, cloud and Remote Control sessions, computer use, voice input, and the VS Code extension.

Breaking Changes and Deprecations

Change to exit codes of claude -p and the SDK

When auto mode could not confirm an action, claude -p and SDK runs now end with is_error: true and exit code 1. You can opt out by setting CLAUDE_CODE_DISABLE_UNCHECKED_ACTIONS_ERROR=1.

Below is an example of the commands.

Before the change (up to v2.1.336):

# "The run ends with is_error: true and exit code 1 when auto mode could not confirm an action"
# This behavior was introduced by the v2.1.337 change (the exit code before the change is not stated in the CHANGELOG)
% claude -p "..."

After the change (v2.1.337 onward):

# If auto mode could not confirm an action,
# the run ends with is_error: true and exit code 1
% claude -p "..."

# To opt out
% CLAUDE_CODE_DISABLE_UNCHECKED_ACTIONS_ERROR=1 claude -p "..."

allowedMcpServers and the Artifacts server

allowedMcpServers has been changed so that it no longer blocks Claude Code's own Artifacts server. You can still block it with deniedMcpServers and the organization's Artifacts settings.

Below is an example of the settings. Since the CHANGELOG does not describe how entries are written, I show them in comments.

Before the change (up to v2.1.336):

// Claude Code's own Artifacts server, which is not in the allow list, is also blocked
{
  "allowedMcpServers": [ /* MCP servers to allow */ ]
}

After the change (v2.1.337 onward):

// allowedMcpServers does not block the Artifacts server.
// To block it, use deniedMcpServers or the organization's Artifacts settings
{
  "allowedMcpServers": [ /* MCP servers to allow */ ],
  "deniedMcpServers": [ /* Specify the Artifacts server */ ]
}

Terminal title when CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC is set

Fixed an issue where the terminal title was not shown when CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC was set. One model request occurs per title, and it can be stopped with CLAUDE_CODE_DISABLE_TERMINAL_TITLE (anthropics/claude-code#106307). The CHANGELOG lists this as a fix, but because behavior changes in environments where this environment variable is set, I cover it in this section.

Below is an example of setting the environment variables. The value 1 to set for CLAUDE_CODE_DISABLE_TERMINAL_TITLE follows the list of environment variables in the official documentation.

Before the change (up to v2.1.336):

# Setting CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC means the terminal title is not shown
% export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
% claude

After the change (v2.1.337 onward):

# Even with CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC set, the terminal title is shown,
# and one model request occurs per title
% export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
% claude

# To stop the model request for the title
% export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
% export CLAUDE_CODE_DISABLE_TERMINAL_TITLE=1
% claude

Trying Git address support in /plugin install

I'll try this new feature with duckdb/duckdb-skills, the plugin repository published by DuckDB. I specify it to /plugin install in owner/repo format. After installing, I check whether it becomes usable without restarting.

Test environment

I used a session started in an empty directory with claude --permission-mode manual. Manual mode is a mode that asks for approval every time Claude uses a tool.

Check the repository contents before installing

Plugins can include elements that run code on your machine (hooks, MCP servers, bin/, and so on). So I check the repository contents before installing.

% gh api repos/duckdb/duckdb-skills/commits/HEAD --jq '.sha, .commit.committer.date'
44dfbbb414e54187964a2212eae28495f6ae21d9
2026-11-17T10:58:37Z

% gh api 'repos/duckdb/duckdb-skills/git/trees/HEAD?recursive=1' --jq '.tree[] | select(.type=="blob") | .path'
.claude-plugin/marketplace.json
.claude-plugin/plugin.json
.gitignore
LICENSE
README.md
skills/attach-db/SKILL.md
skills/convert-file/SKILL.md
skills/duckdb-docs/SKILL.md
skills/install-duckdb/SKILL.md
skills/install-duckdb/eval.sh
skills/query/SKILL.md
skills/read-file/SKILL.md
skills/read-memories/SKILL.md
skills/s3-explore/SKILL.md
skills/spatial/SKILL.md
skills/spatial/references/functions.md
skills/spatial/references/overture.md

There are no hook definitions (hooks/), MCP server definitions (.mcp.json), or bin/. skills/install-duckdb/eval.sh is a test script for evaluating the install-duckdb skill.

On the other hand, all 9 skills specify allowed-tools: Bash in their frontmatter. allowed-tools specifies the tools that Claude can temporarily use without asking for approval after the skill is invoked.

Run /plugin install

In Claude Code's input field, type /plugin install followed by the repository address and run it. (/plugin install is typed by hand, and duckdb/duckdb-skills can be pasted.)

In a single run, the following three things happened in succession.

  1. The marketplace duckdb-skills was added to the user settings
  2. The plugin duckdb-skills was installed with user scope
  3. The plugins were reloaded

The numbers on the Reloaded line are the totals for all plugins in my environment.

Besides the owner/repo format, the address can also be specified in git@ format and https:// format. Here are input examples for specifying the same repository.

/plugin install duckdb/duckdb-skills
/plugin install https://github.com/duckdb/duckdb-skills
/plugin install git@github.com:duckdb/duckdb-skills.git

I also ran it with duckdb/duckdb-skills in https:// format and confirmed that it is installed just like the owner/repo format.

❯ /plugin install https://github.com/duckdb/duckdb-skills
  ⎿  Added marketplace duckdb-skills to your user settings.
     Successfully installed plugin: duckdb-skills@duckdb-skills (scope: user)
     Reloaded: 16 plugins · 137 skills · 14 agents · 10 hooks · 8 plugin MCP servers · 1 plugin LSP server
% claude plugin marketplace list
  ❯ duckdb-skills
    Source: Git (https://github.com/duckdb/duckdb-skills.git)

The marketplace source was shown as GitHub (duckdb/duckdb-skills) in owner/repo format, but in https:// format it became a Git URL with .git at the end.

The git@ format clones over SSH, so it requires an environment where SSH key authentication to GitHub works.

Check whether it is usable without restarting

In the same session, I typed up to /duckdb-skills: in the input field (without pressing Enter). The skills of the installed plugin were displayed as candidates.

Without restarting or running /reload-plugins, the skills can be selected right after installation.

I also checked the state of the installed plugin from another terminal. claude plugin details shows the components the plugin has and an estimate of the number of tokens added to the context.

% claude plugin list
  ❯ duckdb-skills@duckdb-skills
    Version: 0.2.5
    Scope: user
    Status: ✔ enabled

% claude plugin marketplace list
  ❯ duckdb-skills
    Source: GitHub (duckdb/duckdb-skills)
% claude plugin details duckdb-skills@duckdb-skills
duckdb-skills 0.2.5
  Description: DuckDB-powered skills for Claude Code: read any data file, attach and query DuckDB databases, search DuckDB/DuckLake docs, search past session logs, and install/update DuckDB extensions.
  Source: duckdb-skills@duckdb-skills

Component inventory
  Skills (9)  attach-db, convert-file, duckdb-docs, install-duckdb, query, read-file, read-memories, s3-explore, spatial
  Agents (0)
  Hooks (0)
  MCP servers (0)
  LSP servers (0)

Projected token cost
  Always-on:   ~1,043 tok   added to every session

For the outputs of claude plugin list and claude plugin marketplace list, I extracted only the part for this plugin. For the output of claude plugin details, I omitted the per-skill token table.

The only components were the 9 skills, and hooks, MCP servers, and LSP servers were all 0. It also shows that about 1,043 tokens are added to every session while this plugin is enabled.

Cleanup

Since it was installed with user scope, it would remain enabled in all projects as is. After checking, I remove the plugin and the marketplace.

% claude plugin uninstall duckdb-skills@duckdb-skills
✔ Successfully uninstalled plugin: duckdb-skills (scope: user)
% claude plugin marketplace remove duckdb-skills
✔ Successfully removed marketplace: duckdb-skills

Being able to paste a plugin found on GitHub as-is in owner/repo form and try it is, I feel, a welcome change for those who want to casually try plugins.

Conclusion

Of the 120 changes in v2.1.337, 83 are fixes by my classification, so I feel this is a release centered on stability improvements. On the other hand, the 2 items, the exit code of claude -p and allowedMcpServers, may affect CI and organization settings, so I think those affected should check them first.

If you have embedded claude -p in automation, or manage MCP servers with an allow list, why not check how the behavior changes, then update and give it a try?

References

https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md

https://code.claude.com/docs/en/changelog

https://code.claude.com/docs/en/env-vars

https://dev.classmethod.jp/articles/20261204-cc-updates-v2-1-336/


Claudeならクラスメソッドにお任せください

クラスメソッドは、Anthropic社とリセラー契約を締結しています。各種製品ガイドから、業種別の活用法、フェーズごとのお悩み解決などサービス支援ページにまとめております。まずはご覧いただき、お気軽にご相談ください。

サービス詳細を見る

Share this article

AI白書