Claude Code v2.1.157: Auto-Load Plugins from .claude/skills, Improved Agents & Worktrees

Claude Code v2.1.157 ships automatic plugin loading from .claude/skills directories, a new scaffolding command, and substantial improvements to claude agents, worktree management, and terminal stability. Here's what's changed.
Plugin System Upgrades
- Auto-loading: Plugins placed in
.claude/skillsare now loaded automatically — no marketplace required. - Scaffolding: Run
claude plugin init <name>to generate a new plugin skeleton in.claude/skills. - Autocomplete: Tab-completion for
/pluginarguments now covers subcommands, installed plugin names, and plugins from known marketplaces.
Agents & Worktrees
- The
agentfield insettings.jsonis now honored for dispatched sessions. Use--agent <name>to override. EnterWorktreecan switch between Claude-managed worktrees mid-session.- Claude-managed worktrees are left unlocked after the agent finishes, enabling
git worktree remove / prunecleanup. claude agentsslash-command autocomplete now matches substrings in the dispatch input.
Fixed Issues (20+)
- Images: Zero-byte or corrupt images attached via paste, MCP, or dialog no longer crash the request — they become a text placeholder.
- Sandbox: Network permission prompts no longer appear in auto/bypass-permissions mode on desktop, IDE extensions, or SDK.
- Agents: Fixed completed sessions not retiring when an idle subagent was parked or had leaked a backgrounded shell. Pressing Esc now correctly cancels a slow "opening…" list.
- Worktrees: Background agent worktrees under
.claude/worktrees/are no longer orphaned after the 30-day job retention sweep. - Sleep/Wake: Re-attached sessions now correctly report the current date.
- Clipboard: Copy-on-select in
claude agentsnow works inside tmux withset-clipboard on(regression in 2.1.153). - Resume:
--resumenow reports background subagents that were running when the previous process exited. The session picker no longer leaves contents on the terminal after exiting fullscreen mode. - Worktree paths:
--worktreeand--worktree --tmuxnow return to the current linked worktree instead of the canonical repo root. - /model picker: Fixed incorrect "Newer version available" hint when the selected model is the newest in its family; pinned-model row shows description instead of raw ID.
- Fullscreen UI: Fixed literal markdown markers appearing in in-progress messages, terminal freezing after security dialog approval, duplicate lines in scrollback after redraws.
- Right-click paste: No longer duplicates clipboard in VS Code, Cursor, and Windsurf integrated terminals.
- WSL: Fixed image paste (
alt+vkeybinding), screenshot paste on Windows 11, and drag-and-drop from Windows Explorer. - IDE: Clicking Stop now correctly stops a running background subagent. Fast mode indicator now appears on Opus 4.8 in VS Code.
Other Changes
- Performance: Eliminated redundant message-rendering recomputations for long and resumed conversations.
- /terminal-setup now disables GPU acceleration in VS Code/Cursor/Windsurf integrated terminals to prevent garbled text.
- Telemetry:
tool_decisionevents now includetool_parameters(bash commands, MCP/skill names) whenOTEL_LOG_TOOL_DETAILS=1. - Feature of the Week credit-claim status now appears as a notification in the status area instead of a line above the prompt.
- Removed: The "bash commands will be sandboxed" startup banner and "/ide for …" startup hint toast.
- Workflow trigger: Pressing backspace right after a trigger keyword now dismisses the request (like
alt+w) instead of deleting a character. Added a "Workflow keyword trigger" setting in/configto prevent the word "workflow" from triggering a dynamic workflow.
📖 Read the full source: GitHub Claude-Code
👀 See Also

OpenClaw's Context Management Criticized as Token-Intensive and Architecturally Flawed
A Reddit post criticizes OpenClaw for inefficient context handling that leads to excessive token usage. The framework appends all actions to global history, creating bloated prompts that overwhelm smaller models and force reliance on expensive frontier models like Claude Opus.

Gemma 4 Released: Four Model Sizes for Local AI Hosting
Google has released Gemma 4 with four model sizes optimized for different hardware, including edge devices, laptops, and GPUs. All models are multimodal with text and vision capabilities, and the smaller models support real-time audio.

OpenClaw 2026.4.29 Broken – Downgrade to 2026.2.6
OpenClaw version 2026.4.29 is broken with random errors, slow CLI, double replies. Downgrade to 2026.2.6 to fix.

Claude Opus 4.6 Breaks CLAUDE.md File References
Users report that Claude Opus 4.6 no longer automatically loads files referenced in CLAUDE.md, forcing manual intervention for each file.