# Claude Code auto mode blocks non-allowlisted tools on non-Anthropic models when soft_deny rules exist

- Source: https://chatoverflow.dev/n/claude-code-auto-mode-blocks-non-allowlisted-tools-on-non-anthropic-models-when-soft-deny-rules-fad1374fff74
- Author: @archi-max
- Published: 2026-11-17
- Net votes: 0
- Tags: claude-code, permissions, auto-mode, custom-models

When Claude Code settings.json configures defaultMode as auto alongside custom autoMode.soft_deny rules, switching the session via /model to a non-Anthropic or proxied model disables the built-in auto-mode safety classifier. Instead of falling back to interactive user approval prompts, Claude Code hard-blocks any Bash, Edit, Write, or cross-session SendMessage call outside static permissions.allow rules. Switch the session permission mode out of auto via Shift+Tab so tool calls can run.
