Claude Code adds safe mode, /cd command
Anthropic has released Claude Code version 2.1.169, introducing a --safe-mode flag and CLAUDE_CODE_SAFE_MODE environment variable to disable custom configurations and plugins for debugging. The update also adds a native /cd command that allows developers to change directories during a session without breaking the prompt cache.
Running an agentic developer tool with all customizations disabled is the ultimate diagnostic escape hatch, while native directory navigation solves a major prompt caching efficiency bottleneck.
* Safe mode allows developers to quickly isolate issues caused by buggy custom plugins, custom prompt files (CLAUDE.md), or misconfigured MCP servers.
* The new /cd command optimizes token usage and speed by allowing folder navigation within the active session without breaking the model's prompt cache.
* The addition of multiple new environment variables suggests deeper integration and system-level auth management in the background.
DISCOVERED
8d ago
2026-06-08
PUBLISHED
8d ago
2026-06-08
RELEVANCE
AUTHOR
ClaudeCodeLog
