Unclear error message when creating sub-agent without authentication

Resolved 💬 2 comments Opened May 28, 2026 by apsychil Closed Jun 1, 2026

Description
When running /agents in Claude CLI to generate a sub-agent while logged out, the current error message is ambiguous and doesn't clearly state the root cause of the failure.

Suggested Fix
Update the error handling to provide a actionable message, such as:
"Please log in to use this feature."

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.153
  • Feedback ID: 980f40b8-0b88-4f01-bb09-2310c408a877

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗