Fix Claude Code "auto mode classifier gave no verdict" error
Claude Code auto mode "classifier gave no verdict": the server-side safety check failed. Retry once, then try /compact or CLAUDE_CODE_AUTO_MODE_SERVER=0.
The server-side auto mode classifier gave no verdict (error), so auto mode cannot determine the safety of Bash. This is a transient failure of the check, not a judgment about the action: a later response may get a verdict. You may try the action again once, as-is. Repeated attempts are slowed by a growing delay, and after 10 responses in a row without a verdict the turn stops. If it keeps failing, continue with other tasks that don't require this action and come back to it later. Note: reading files, searching code, and other read-only operations do not require the classifier and can still be used.The server-side safety check failed to answer, which is a transient failure. Retry once; if it repeats, read the reason in parentheses and use /compact or CLAUDE_CODE_AUTO_MODE_SERVER=0. It is not a verdict that the command is dangerous; the message itself says "not a judgment about the action". The text above comes from reports in the official repository's issue #97854.
The screen may show only a dim line under the tool call instead of that long message. From v2.1.296 an interactive session shows this, and the full text is in the transcript viewer (Ctrl+O).
Not run · auto mode's check had no usable answer[1] Retry the same command once. The message says "try the action again once, as-is". Each repeat is delayed longer, and after 10 responses in a row without a verdict the turn stops, so do not keep re-sending the same command.
When the turn stops, the official errors page gives this message.
Auto mode is unavailable — the server returned no safety verdict for the last 10 responses, so Claude stopped. Send a message to try again, or switch out of auto mode.Per the docs, sending another message makes the count of responses start over. If it keeps happening, go on to [4] and [5].
If the reason in parentheses is (the conversation is too long for the check), run /compact. Retrying does not help here: per the docs, until the conversation is shorter, the next message gets the same denial. If you turned auto-compact off, turn it back on so Claude Code compacts on its own next time.
[2] Switch to read-only work. Reading files and searching code do not go through the classifier. While Bash is blocked, keep reading and planning, and come back to the command later.
[3] If you are in a hurry, leave auto mode and approve commands yourself.
$ claude --permission-mode defaultInside a session, Shift+Tab cycles the modes. Per the docs, the first press from auto goes to default.
[4] Look at /status. The docs say that in auto mode the server can review actions for you, and then /status shows Auto mode server as Enabled. Apart from the (the conversation is too long for the check) case, a "no verdict" from the server has two documented causes.
| Setup | What the docs say |
|---|---|
| Direct connection to the Anthropic API | The server's check fails for that action (for example a timeout), so it is denied without a verdict |
| Through a gateway or proxy | The response ends before the review results arrive, or the results come in a form Claude Code cannot read; a gateway that cuts responses short or rewrites them can cause it |
If ANTHROPIC_BASE_URL points at a gateway or proxy, suspect it first. On a direct connection it is a transient failure; try again in a few minutes.
[5] To skip the server check and make Claude Code send its own classifier requests, set the variable.
$ export CLAUDE_CODE_AUTO_MODE_SERVER=0$ claude --permission-mode autoThe docs say this makes Claude Code always use its own classifier requests instead of asking the server. On a direct connection to the Anthropic API it needs v2.1.281 or later. On a direct connection, setting it to 1 turns server review on in a session that does not have it yet (not if CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1 is also set).
[6] A different message is a different case. The error reference has separate entries for the "cannot determine the safety" family.
<model> is temporarily unavailable, so auto mode cannot determine the safety of <tool> right now. Wait a moment and then try this action again.Here the model used for classification could not answer. A cause may appear in parentheses: (rate-limited), (overloaded), (server error), (timed out) or (connection failed). The docs say retry after a few seconds and do read-only work if it keeps failing. If you set CLAUDE_CODE_AUTO_MODE_MODEL to a model your provider does not serve, unset it or point it at one that is served.
Auto mode could not evaluate this action and is blocking it for safety — run with --debug for detailsThis means the classifier's response could not be parsed. The docs say it usually succeeds on the next attempt; repeat the action under claude --debug to get details in the log.
[7] If you ever customized the classifier rules, claude auto-mode config prints the effective config as JSON. claude auto-mode reset removes the autoMode section from your user settings file, so copy the file first if it holds rules you wrote.
Issue #97854 collects reports from macOS, Linux, Windows and WSL2, including 2.1.283, and it was open when checked. Because the official docs acknowledge server-side check failures, your settings may be fine. To tune allow and deny rules themselves, see Block .env reads in Claude Code with deny rules and settings.local.json allow rules not working. Other messages are in Claude Code common errors.