Unclear What causes a plugin agent to be refused is not stated.
What
Claude Code can now refuse an agent (a configured assistant with its own instructions) that comes from a plugin when a session starts or resumes. What happens next depends on how the agent was chosen:
- Chosen with
--agentor settings passed on the command line: the session ends with an error. - Otherwise: Claude Code shows a notice and uses a base agent instead.
Why
An agent you get from a plugin may no longer load. If you pick one with --agent, Claude Code stops instead of running without it.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
What causes a plugin agent to be refused is not stated.