Back to Phantom Notes
AI Agents

Claude Code Auto Mode Is Here. Combined With Auto Memory, It Changes Everything.

March 24, 20268 min readBy T.W. Ghost
Claude CodeAuto ModeAuto MemoryAnthropicAI AgentsAutomationDeveloper Tools

The Missing Piece Just Shipped

Auto Memory has been quietly running in Claude Code since February 2026. It saves your preferences, corrections, and project context across sessions. Most developers using Claude Code are already benefiting from it whether they realize it or not.

What was missing was autonomy. Claude remembered everything about your project but still asked permission for every file read, every shell command, every API call. You were clicking "Yes" dozens of times per session on operations Claude already knew were safe.

On March 12, 2026, Anthropic shipped the fix: Auto Mode. Claude now classifies each action by risk and makes its own permission decisions. Combined with Auto Memory, Claude Code stops being a tool you babysit and becomes an assistant that remembers how you work and acts on its own.


Auto Mode: Claude Decides What Is Safe

Auto Mode is a research preview that launched on March 12, 2026. Instead of prompting you for every file read, every shell command, and every API call, Claude now classifies each action by risk level and makes its own permission decisions.

How it works:

Low-risk operations get auto-approved:

  • Reading files in your project directory
  • GET requests and read-only API calls
  • Installing packages already declared in your manifest (package.json, requirements.txt)
  • Pushing to your working branch (not main)

Higher-risk actions still require your approval:

  • Force pushing or deleting remote branches
  • Deploying to production
  • Running downloaded code (curl pipe bash)
  • Modifying shared infrastructure
  • Writing to production hosts via SSH or docker exec

Enable it:

bash
claude --enable-auto-mode

Or set the permission mode directly:

bash
claude --permission-mode auto

Disable it org-wide:

  • macOS: MDM policies on com.anthropic.claudecode
  • Windows: Registry at HKLM\SOFTWARE\Policies\ClaudeCode
  • Cross-platform: managed-settings.json

Inspect the rules:

bash
claude auto-mode defaults    # See all allow/deny rules
claude auto-mode config      # See your effective config
claude auto-mode critique    # Get AI feedback on custom rules

What Auto Mode Replaces

Before Auto Mode, you had three choices:

ModeWhat It DoesRisk
DefaultPrompts for everythingSafe but slow
Accept EditsAuto-approves file edits, prompts for commandsMiddle ground
Yolo (--dangerously-skip-permissions)Approves everything, no promptsFast but risky

Auto Mode sits between Accept Edits and Yolo. It approves safe operations instantly but blocks anything that could cause real damage. Anthropic calls it "a safer alternative to skipping checks."

The tradeoff: slightly higher token usage, cost, and latency. Claude spends tokens classifying each action before executing it. For most workflows, the time saved from fewer prompts more than compensates.


Auto Memory: The Feature You Have Been Using Without Knowing

Auto Memory shipped in February 2026. If your Claude Code sessions have been feeling smarter over time, this is why.

How it works:

Claude watches how you work. When it notices patterns worth preserving, it saves them to a local memory file:

~/.claude/projects/<project>/memory/MEMORY.md

The first 200 lines of this file get injected into every new session automatically. Claude reads it before you type your first message.

What it remembers:

Get the Weekly IT + AI Roundup

What changed this week in NinjaOne, ServiceNow, CrowdStrike, and AI. One email, every Monday.

No spam, unsubscribe anytime. Privacy Policy

  • User preferences: Your role, expertise, how you like explanations structured
  • Feedback: Corrections you have made ("use named exports", "stop summarizing at the end")
  • Project context: Ongoing work, deadlines, architectural decisions
  • References: Where things live in external systems (Jira boards, Slack channels, dashboards)

The 3-layer architecture:

LayerLocationPurpose
Global~/.claude/CLAUDE.mdPersonal preferences, every session
Project./CLAUDE.md in your repoTeam standards, committed to git
Auto Memory~/.claude/projects/<project>/memory/Learned patterns, local only

Plus task-specific rules in .claude/rules/ that load only when matching files are opened.

Key detail: MEMORY.md is an index, not a dump. Detailed content goes in separate topic files (debugging.md, api-conventions.md, etc.). MEMORY.md links to them. This keeps the 200-line limit manageable.


What We Learned Running Both

We have been using Auto Memory since February 2026 on a project with 20+ memory files covering everything from VPS configuration to YouTube strategy to blog content planning. Every session picks up exactly where the last one left off.

Here is what we learned:

Memory gets bloated fast. The 200-line limit on MEMORY.md is real. After three weeks of active development, our index hit 224 lines. Lines after 200 get silently truncated. You have to actively prune, moving detailed content into topic files and keeping the index lean.

Feedback memories are the most valuable type. When you correct Claude once ("always use named exports, not default exports"), it saves that correction and applies it to every future session. You stop repeating yourself. One correction, applied automatically across dozens of sessions. That compounds fast.

Auto Mode is not for every setup. We run Claude Code on a $7/month VPS connected to Telegram. The bot needs to operate autonomously 24/7 with zero human interaction. Auto Mode's risk classification would block routine operations like sending Telegram messages (classified as "external system writes") and running curl commands to external APIs.

For our unattended bot, we still use permissive mode with a watcher script that auto-approves prompts. Auto Mode is designed for interactive developer sessions where a human is present to handle the occasional "are you sure?" prompt.

The combination is where the magic is. Auto Mode alone saves you from clicking "Yes" 47 times a day. Auto Memory alone saves you from re-explaining your project every session. Together, Claude Code becomes something different: an assistant that knows your project, knows your preferences, and acts without constant hand-holding.


When to Use Each Feature

Use Auto Mode when:

  • You are coding interactively and tired of permission prompts
  • You work in a sandboxed or development environment
  • You want a safer alternative to --dangerously-skip-permissions
  • Your org allows it (check with your IT team first)

Do NOT use Auto Mode when:

  • You run Claude Code unattended (bots, CI/CD, scheduled tasks)
  • You work directly on production systems
  • You need every action logged and approved for compliance
  • You are in a shared environment with production credentials

Auto Memory is on by default. Let it work. Correct Claude when it gets something wrong, and it will save that correction for next time. The only maintenance is pruning MEMORY.md when it hits 200 lines.


The Bigger Picture

Auto Memory laid the foundation in February. Auto Mode, the piece that just shipped, is what makes it all click. Together they represent a clear direction: Claude Code is moving from "AI that writes code when you ask" to "AI collaborator that understands your project and works independently."

The trajectory since launch:

  • November 2025: Claude Code launches as a CLI coding assistant
  • January 2026: Cowork launches as a research preview, bringing autonomous task completion to the Claude Desktop app via Computer Use
  • February 2026: Auto Memory ships, sessions persist across restarts
  • March 2026: Auto Mode ships, permission prompts become optional
  • March 2026: Channels ships, Claude responds to Telegram and Discord
  • March 2026: Dispatch ships, letting you assign tasks from your phone while Claude works on your Mac

Each feature builds on the one before it. Memory makes Claude smarter. Auto Mode makes it more autonomous. Channels make it always-on. Cowork and Dispatch make Claude capable of working independently on your machine, even when you are away.

The question is not whether AI assistants will handle real work autonomously. They already do. The question is whether you are configuring yours to work the way you need it to, or still clicking "Yes" 47 times a day.


Sources:


*Want to set up your own always-on AI assistant? Read our VPS setup guide or download the PDF.*

*Not sure which AI tool fits your workflow? Take the free quiz and get matched in 2 minutes.*