Claude Code v2.1.153: Git LFS, Agent Autocomplete, macOS Permissions & Security Fix
Claude Code v2.1.153 landed early this morning (00:52 UTC). The release is narrower in scope than yesterday's v2.1.152, but carries one security fix and several quality-of-life improvements that developer automation workflows will notice immediately.
Git LFS support in plugin marketplace sources
Plugin marketplace sources using the github or git provider can now set skipLfs: true to bypass Git LFS downloads entirely during clone and update. This matters for any plugin whose repository tracks large binary assets — documentation images, pre-built binaries, test fixtures — that your runtime environment doesn't need. Skipping LFS makes installs faster and avoids needing LFS credentials in environments that don't have them.
# In your plugin marketplace source entry:
{
"type": "github",
"repo": "acme/my-plugin",
"skipLfs": true
}
Agent autocomplete now includes native commands and bundled skills
When you type claude agents or trigger autocomplete in the agent configuration interface, the suggestion list now surfaces native slash commands and bundled skills alongside custom agents. Before this change, discovering which built-in commands were available required consulting the docs. Now the shell autocomplete itself is the documentation — especially useful when writing SessionStart hooks that chain agent calls together.
Security fix: custom API gateway credential isolation
A regression since v2.1.129 meant that when Claude Code was configured to route API calls through a custom gateway, the user's Anthropic OAuth token was sometimes forwarded to the gateway instead of the gateway's own credential. This release fixes the isolation so that your Anthropic OAuth token stays local and the gateway receives only the token configured for it. If you operate a shared gateway (for cost tracking, rate limiting, or compliance routing), upgrading to v2.1.153 is security-relevant.
Other changes
/doctorimprovement — now shows the outcome of your last update attempt alongside the current environment check. Useful for diagnosing "it said it updated but nothing changed" situations.- Status-line commands get
COLUMNSandLINES— scripts running as status-line providers now receive terminal dimension environment variables, enabling responsive output that doesn't wrap or truncate at arbitrary widths. - macOS background agents listed as "Claude Code" — Background agent processes now appear under the "Claude Code" entry in System Settings → Privacy & Security, and their permission grants persist across Claude Code upgrades. Previously, each upgrade could reset macOS permissions for background agents.
- MCP auth notifications consolidated — Multiple connector and MCP authentication startup messages are now batched into a single notification instead of flooding the output at session start.
Bug fixes
- Paginated MCP
tools/listresponses now return all pages (previous builds silently dropped tools beyond the first page) - SVG images and other unsupported MIME types returned by MCP image tools no longer break conversations
- Stateful MCP servers without GET SSE no longer enter a reconnect loop on startup
- Bedrock and Vertex users can now select "Opus (1M context)" from
/model(regression since v2.1.129) - Skill tool no longer throws a permission error when running in headless mode
- Subagent (Agent tool) frontmatter MCP servers now correctly respect
--strict-mcp-config,--bare, and managed MCP policies - Windows PowerShell installer no longer falsely reports "Installation complete!" on failure
Yes, if any of these apply: you use a custom API gateway (security fix), you have macOS background agents that lose permissions after upgrades (permissions fix), or you run MCP servers with pagination (silent data-loss fix). The credential leak fix alone makes this worth applying immediately in shared or enterprise environments. Run claude update or reinstall via npm.