ai-tools

Claude Code v2.1.72 Released - Auto-Memory, /loop Command, and Cron Scheduling

AI Tools Hub
#claude-code #anthropic #ai-coding #release-notes #v2.1.72

Anthropic releases Claude Code v2.1.72 with auto-memory for context saving, /copy command, /loop command, Cron scheduling tools, Voice keybinding customization, and more.

Anthropic released Claude Code v2.1.72 on March 6, 2026. This update brings significant improvements to context management, scheduling, and voice functionality.

Key Changes

Auto-Memory for Context Saving

Automatic Context Persistence: Claude Code now automatically saves useful context to auto-memory. This ensures important information is retained across sessions, improving workflow continuity.

New /copy Command

Code Block Selection: The new /copy command allows users to select individual code blocks or the full response from an interactive picker. This is particularly useful when you only need specific portions of long code blocks.

New Slash Commands: /simplify and /batch

Command Expansion: Bundled slash commands /simplify and /batch have been added. The simplify command helps rewrite complex code more concisely.

/loop Command

Recurring Execution: The /loop command enables running prompts or slash commands at recurring intervals. This is useful for automated monitoring and repetitive tasks.

Cron Scheduling Tools

In-Session Scheduling: Cron scheduling tools for recurring prompts within a session have been added, enabling complex workflow automation.

Voice Feature Enhancement

Customizable Keybinding: The voice push-to-talk key is now rebindable in keybindings.json. Users can customize the key placement to their preference.

Project Config Sharing

Git Worktree Support: Project configurations and auto-memory are now shared across Git worktrees of the same repository. No need to reconfigure when working across multiple branches.

HTTP Hooks

External Integration: HTTP hooks have been added, allowing JSON to be POSTed to a URL and JSON to be received in return. This enables integration with external systems instead of shell command execution.

Smarter Bash Command Suggestions

Improved Prefix Suggestions: “Always allow” prefix suggestions for compound bash commands have been enhanced, computing smarter per-subcommand prefixes.

Multi-Agent Memory Optimization

Reduced Memory Usage: Memory usage in multi-agent sessions has been improved by releasing completed subagent task state.

macOS Keychain Fix

Authentication Issue Resolved: Fixed an issue where large OAuth metadata blobs could overflow the security buffer, causing stale credentials and repeated login prompts.

MCP Binary Content Handling

File Saving Automation: Tools returning PDFs, Office documents, or audio now save decoded bytes to disk with correct file extensions instead of dumping raw base64 into the conversation context.

Bash Auto-Approval List Expansion

New Commands Added: Several new commands including fmt, comm, cmp, numfmt, expr, test, printf, getconf, seq, tsort, and pr have been added to the bash auto-approval allowlist.

Summary

v2.1.72 significantly enhances developer experience and automation capabilities. The addition of auto-memory, /loop command, and Cron scheduling provides numerous features for automating repetitive tasks. HTTP hooks also enable easier integration with external systems, allowing for more flexible workflow construction.

関連記事

人気記事

最新記事

0 tools selected