Claude Code v2.1.59 adds auto-memory, copy command, and shell improvements

✍️ OpenClawRadar📅 Published: February 26, 2026🔗 Source
Claude Code v2.1.59 adds auto-memory, copy command, and shell improvements
Ad

What's new in Claude Code v2.1.59

Anthropics released Claude Code v2.1.59 on February 26, bringing several practical improvements to the AI coding assistant. This release focuses on memory management, code interaction, and shell command handling.

Ad

Key features and fixes

  • Auto-memory management: Claude now automatically saves useful context to auto-memory. You can manage this with the /memory command.
  • Interactive copy command: Added /copy command that shows an interactive picker when code blocks are present, allowing selection of individual code blocks or the full response.
  • Improved bash command handling: Enhanced "always allow" prefix suggestions for compound bash commands (e.g., cd /tmp && git fetch && git push) to compute smarter per-subcommand prefixes instead of treating the whole command as one.
  • Task list ordering: Improved ordering of short task lists.
  • Memory optimization: Reduced memory usage in multi-agent sessions by releasing completed subagent task state.
  • Bug fixes: Fixed MCP OAuth token refresh race condition when running multiple Claude Code instances simultaneously. Fixed shell commands not showing clear error messages when the working directory has been deleted.

This release addresses specific workflow issues developers encounter when using Claude Code for shell operations and code manipulation. The auto-memory feature should help maintain context across longer sessions, while the improved bash command handling makes compound operations more reliable.

📖 Read the full source: GitHub Claude-Code

Ad

👀 See Also

CipherClaw: Using a Security Persona to Audit Code with Claude
Tools

CipherClaw: Using a Security Persona to Audit Code with Claude

A developer used CipherClaw, a CLAUDE.md persona called TALON, to make Claude Code think like a security architect. Running it on a Next.js app revealed 17 security findings including critical vulnerabilities like unauthenticated endpoints returning admin data and hardcoded auth tokens.

OpenClawRadar
ClawControl iOS client released for OpenClaw self-hosted servers
Tools

ClawControl iOS client released for OpenClaw self-hosted servers

ClawControl v1.50 is now available on iOS as a privacy-focused mobile client for self-hosted OpenClaw/Claw servers. The open-source app enables real-time chat with streaming responses, agent management, and session control from mobile devices.

OpenClawRadar
cc-lens: Local Dashboard for Claude Code Session Analysis
Tools

cc-lens: Local Dashboard for Claude Code Session Analysis

A developer built cc-lens, a local-first dashboard that reads Claude Code session files from ~/.claude/ and provides usage analytics, cost tracking, and session replay. It runs entirely on your machine with no cloud sync, sign-ups, or telemetry.

OpenClawRadar
Open-source markdown vault gives Claude persistent memory across sessions
Tools

Open-source markdown vault gives Claude persistent memory across sessions

My Portable Brain is a markdown vault structure with an agent runtime layer that provides Claude with persistent context about identity, projects, goals, CRM, and weekly plans. It works natively with Claude Code and Claude Cowork, uses plain markdown files, and runs background scripts nightly to keep context fresh.

OpenClawRadar