Claude-Code v2.1.72: SSH improvements, permission prompt reductions, and bug fixes

What's new in Claude-Code v2.1.72
Claude-Code v2.1.72 focuses on practical workflow improvements and bug fixes, particularly for SSH sessions and permission management.
Key changes and features
- SSH file writing: Added
wkey in/copyto write focused selection directly to a file, bypassing clipboard (useful over SSH) - Plan mode enhancement: Added optional description argument to
/plan(e.g.,/plan fix the auth bug) that enters plan mode and immediately starts - Reduced permission prompts: Added
lsof,pgrep,tput,ss,fd, andfdfindto bash auto-approval allowlist for common read-only operations - Tool search proxy: Changed tool search to bypass third-party proxy gate when environment variable is set (replaces
CLAUDE_CODE_PROXY_SUPPORTS_TOOL_REFERENCE, now removed) - Worktree management: Added
ExitWorktreetool to leave anEnterWorktreesession - Cron control: Added
CLAUDE_CODE_DISABLE_CRONenvironment variable to immediately stop scheduled cron jobs mid-session - Git URL support: Added support for marketplace git URLs without
.gitsuffix (Azure DevOps, AWS CodeCommit) - Model parameter restored: Restored the
modelparameter on the Agent tool for per-invocation model overrides - Effort levels simplified: Simplified to low/medium/high (removed max) with new symbols (○ ◐ ●) and brief notification instead of persistent icon. Use
/effort autoto reset to default - Command alias: Added
claude pluginsas an alias forclaude plugin
Interface improvements
- Improved
/config— Escape cancels changes, Enter saves and closes, Space toggles settings - Improved up-arrow history to show current session's messages first when running multiple concurrent sessions
- Improved voice input transcription accuracy for repo names and common dev terms (regex, OAuth, JSON)
- Improved bash command parsing by switching to a native module — faster initialization and no memory leak
- Reduced bundle size by ~510 KB
- Changed CLAUDE.md HTML comments (
<!-- ... -->) to be hidden from Claude when auto-injected (comments remain visible when read with Read tool)
Bug fixes
- Fixed slow exits when background tasks or hooks were slow to respond
- Fixed agent task progress stuck on "Initializing…"
- Fixed skill hooks firing twice per event when hooks-enabled skill is invoked by model
- Fixed several voice mode issues: input lag, false "No speech detected" errors after releasing push-to-talk, and stale transcripts re-filling prompt after submission
- Fixed
--continuenot resuming from most recent point after--compact - Fixed bash security parsing edge cases
- Fixed several plugin issues: installation failing on Windows with
EEXISTerror in OneDrive folders, marketplace blocking user-scope installs when project-scope install exists,CLAUDE_CODE_PLUGIN_CACHE_DIRcreating literal~directories, andplugin.jsonwith marketplace-only fields failing to load - Fixed feedback survey appearing too frequently in long sessions
- Fixed
--effortCLI flag being reset by unrelated settings writes on startup - Fixed backgrounded Ctrl+B queries losing transcript or corrupting new conversation after
/clear - Fixed
/clearkilling background agent/bash tasks — only foreground tasks now cleared - Fixed worktree isolation issues: Task tool resume not restoring cwd, and background task notifications missing
worktreePathandworktreeBranch - Fixed
/modelnot displaying results when run while Claude is working - Fixed digit keys selecting menu options instead of typing in plan mode permission prompt's text input
- Fixed sandbox permission issues: certain file write operations incorrectly allowed without prompting, and output redirections to allowlisted directories (like
/tmp/claude/) prompting unnecessarily - Improved CPU utilization in long sessions
- Fixed prompt cache invalidation in SDK
query()calls, reducing input token costs up to 12x - Fixed Escape key becoming unresponsive after cancelling query
- Fixed double Ctrl+C not exiting when background agents or tasks are running
- Fixed team agents to inherit leader's model
- Fixed "Always Allow" saving permission rules
Performance and security improvements
- Reduced false-positive bash permission prompts — tree-sitter parsing now handles
find -exec, variable assignments, command substitutions, and other patterns that previously triggered unnecessary prompts - Fixed tree-sitter not loading in npm-installed versions
- Improved marketplace clone failure messages to show diagnostic info even when git produces no stderr
- Improved
claude plugin validateto explain that marketplace.json source paths are relative to repo root when rejecting../paths
📖 Read the full source: GitHub Claude-Code
👀 See Also

GitHub Claude-Code v2.1.27 Release: Key Updates and Fixes
Claude-Code v2.1.27 enhances logging and fixes several issues, including context management and OAuth token expiration in VSCode.

Nine Common AI Coding Agent Failure Patterns and Pre-Execution Validation
A Reddit post identifies nine specific failure patterns that commonly cause AI coding agents to fail, including incomplete enum handling, silent null paths, and hallucinated imports. The author reports implementing a validation pass before execution catches about 70% of these failures.

When an Autonomous Agent Nukes Its Own env, Then Generates an RSA-Signed Accountability Certificate
A Reddit user's agent, Antigravity, overwrote critical env vars including DATABASE_URL, then self-refactored and produced an RSA-signed 'Accountability Certificate' before handover.
Microsoft Exec Called AI Scraping 'the Largest Theft of Labor in Human History,' Unredacted NYT v. OpenAI Filings Show
Newly unredacted filings in The New York Times' three-year copyright suit against OpenAI and Microsoft quote a Microsoft director calling scraping 'the largest theft of labor in human history.' Internal data also shows Copilot cut NYT click-throughs by up to 93%.