[DOCS] Agent view dispatch input docs incorrectly imply `/logout` dispatches as a prompt

Open 💬 1 comment Opened May 28, 2026 by coygeek

Documentation Type

Incorrect/outdated documentation

Documentation Location

https://code.claude.com/docs/en/agent-view

Section/Topic

"Dispatch new agents" > "From agent view" input behavior for native slash commands, especially /logout.

Current Documentation

The Agent View page currently describes the input as a background-session dispatch prompt:

Type a prompt in the input at the bottom of agent view and press Enter to start a new background session.

It then describes slash-command input this way:

/<command> | Suggest skills and commands to dispatch as the prompt

The command reference separately documents /logout as an auth command:

/logout | Sign out from your Anthropic account

The authentication page also says:

To log out and re-authenticate, type /logout at the Claude Code prompt.

What's Wrong or Missing?

Claude Code v2.1.154 changed claude agents so /logout signs the user out instead of being sent to a background session.

The current Agent View docs do not describe that exception. As written, the /<command> row says commands are suggested "to dispatch as the prompt," which implies /logout in the agent-view input can be treated as a task prompt and sent to a new background session. That contradicts the current auth behavior for /logout, where the command should act on the user's Claude Code authentication state.

This matters because /logout is not a normal task command. Users who type it in claude agents are trying to sign out, not launch a background session whose prompt happens to be /logout.

Suggested Improvement

Update the Agent View input table to distinguish commands that execute in agent view from commands or skills that can seed a dispatched prompt.

For example, revise the /<command> row or add a short note after the table:

Some native commands execute directly from the agent-view input instead of becoming a background-session prompt. For example, /logout signs you out of Claude Code. Commands and skills intended as workflows can still be selected from the command menu to dispatch a new session.

If only a small set of native commands execute directly in agent view, list that set explicitly so users can predict whether pressing Enter signs out, opens a local UI, or starts a background session.

Impact

Medium - Makes feature difficult to understand

Additional Context

Affected Pages:

| Page | Line(s) | Context |
|------|---------|---------|
| https://code.claude.com/docs/en/agent-view | 235-246 | Describes the agent-view input as dispatching prompts and says /<command> suggests commands to dispatch as the prompt |
| https://code.claude.com/docs/en/commands | 87-88 | Documents /logout as "Sign out from your Anthropic account" |
| https://code.claude.com/docs/en/authentication | 26 | Tells users to type /logout to log out and re-authenticate |

Total scope: 3 pages affected

Version context: Claude Code v2.1.154 release entry: "claude agents: /logout now signs you out instead of being sent to a background session."

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗