Opus 5.5's safeguards flagged this session (Claude Code)
A safety classifier on Opus 5.5 flagged the conversation, most often as cybersecurity or biology. Take the fallback model Claude Code offers, or rewind past the turn that did it.
Summary
- Opus 5.5 and Sonnet 5.5 print this wording when they have a fallback model; cybersecurity flags on Opus 5.5 re-run on Opus 4.8.
- The check reads the whole conversation, including CLAUDE.md and git status, so rewording only the last prompt often trips it again.
- Press Esc twice or run /rewind to step back, or start a new session; claude --safe-mode shows whether a customization is the trigger.
- A Details line of reasoning_extraction means a prompt asked Claude to write out its reasoning; remove that instruction.
On this page
A classifier flagged the conversation
Opus 5.5's safeguards flagged this session. Details: `[cyber]`
Fable models, Opus 5.5, Sonnet 5.5 and Opus 5 run with safety classifiers that most often flag cybersecurity and biology content. Claude Code's model configuration page describes what happens next: for a flagged category that has a fallback model, Claude Code re-runs the request on that model. From Opus 5.5, cybersecurity flags go to Opus 4.8 and biology flags to Opus 5; from Sonnet 5.5, cybersecurity flags go to Sonnet 5 and biology flags end in a refusal. The this session wording is what models with automatic fallback print, and the Details line names the category.
Whether the switch happens on its own depends on one setting. With Switch models when a message is flagged set to Ask each time in /config (or switchModelsOnFlag: false in settings), Claude Code pauses and offers two choices: switch to the fallback model, or edit the prompt and retry.
Switch, or step back
The fastest way to keep working is to accept the switch. After a fallback the session stays on the fallback model at the same effort level; run /model later to go back. The reporter of claude-code issue #100964, flagged as [cyber] while fixing a self-hosted gateway install over SSH, rewrote the prompt down to one plain sentence and was flagged again; the same task then ran on Opus 4.8.
That matches how the check works. Per the Claude Code error reference, it reads the full conversation, not only the latest prompt, so a new message in the same session usually trips it again, as does reopening the session with --continue or --resume. To stay on Opus 5.5:
- Press Esc twice or run
/rewindto return to a checkpoint before the turn that triggered the flag, then take a different approach. - If you cannot tell which turn did it, run
/clearfor a fresh conversation. The old one stays available in/resume.
If it fires on the first message
The first request already carries your CLAUDE.md, git status and other workspace context, and a repository with security or biology material can trip the classifier on that alone. Start claude --safe-mode in the same folder; it turns off customizations such as CLAUDE.md, skills, MCP servers and hooks. If the flag stops, one of those is the trigger.
For penetration testing, CTF work and other offensive security, Anthropic says frequent fallback is expected routing, not an account flag. The non-fallback version of the message links to the Cyber Verification Program, where you can apply for access for legitimate cybersecurity work. If your request had nothing to do with security, report the false positive with /feedback.
When Details says reasoning_extraction
Details: `[reasoning_extraction]` is a different trigger: the request asked the model to reproduce its internal reasoning in the response. Remove or reword any instruction that asks for a <thinking> section, a scratchpad, or a reasoning field in JSON output, whether it sits in your prompt, CLAUDE.md, a skill, a subagent prompt, an output style or an MCP tool description. Asking for a short explanation or the evidence behind a result is fine. Start a new session after changing a customization.
On Bedrock, Google Cloud and Foundry
On Amazon Bedrock, Google Cloud's Agent Platform and Microsoft Foundry, Claude Code can only switch when it can identify both models, so set ANTHROPIC_DEFAULT_OPUS_MODEL (and for Sonnet 5.5 also ANTHROPIC_DEFAULT_SONNET_MODEL) to IDs it recognizes. Without that, the flagged request ends in a refusal and you switch with /model yourself. If you get Claude through a reseller, these are the checks to make before you buy. Other errors are on our Claude Code API Error 400 page.