Skip to content

Unsupported slash commands hang the chat instead of erroring #2158

@charlesvien

Description

@charlesvien

Problem

Typing an unsupported Claude Code slash command (e.g. /plugin install slack from the Claude Code plugin install guide) hangs the chat indefinitely. The status bar shows "Discombobulating..." with a running timer (observed at 103m 34s, 0K/1.0M tokens) and never resolves or errors.

Thread: https://posthog.slack.com/archives/C09G8Q32R6F/p1778495163792959

Expected behavior

When the user submits a slash command that PostHog Code does not implement, the chat should immediately surface a clear error (e.g. "Unknown command: /plugin") and stay responsive, instead of silently entering an unrecoverable spinning state.

Steps to reproduce

  1. Open a new task in PostHog Code
  2. Type /plugin install slack and submit
  3. Observe the chat enters "Discombobulating..." and never returns

Notes

Metadata

Metadata

Labels

BugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions