GitHub Issue

/watch slash command silently fails to register in Claude Code (allowed-tools YAML inline-list parse issue)

Discovered On May 1, 2026
Primary Metric open
## Summary After installing `watch@claude-video` via `/plugin marketplace add` + `/plugin install`, the `/watch` slash command does not register in Claude Code. CC responds with `Unknown command: /watch. Did you mean /batch?`. The plugin's SessionStart hook fires correctly ("/watch: ready for videos with native captions"), so the plugin itself is loaded — only the slash-command registration is broken. ## Environment - Claude Code: 2.1.126 - Plugin version: 0.1.2 (gitCommitSha `755c157466738dda102c939158a0116b972925a3`) - macOS (Apple Silicon, Tahoe) - Plugin enabled in `~/.claude/settings.json` under `enabledPlugins["watch@claude-video"]` - `commands/watch.md` and `SKILL.md` both present at `~/.claude/plugins/cache/claude-video/watch/0.1.2/` ## Reproduction 1. `/plugin marketplace add bradautomates/claude-video` 2. `/plugin install watch@claude-video` 3. Fully quit + reopen Claude Code 4. Type `/watch` → "Unknown command: /watch" ## Root cause (verified locally) `commands/watch.md` declares `allowed-tools` using YAML inline-list syntax: ```yaml allowed-tools: [Bash, Read, AskUserQuestion] ``` CC's slash-command parser silently fails on this format. Every other plugin command on the same install (`firecrawl/skill-gen`, `code-review/code-review`, `superpowers/brainstorm`, etc.) either omits `allowed-tools` entirely or uses comma-separated string format: ```yaml allowed-tools: Bash, Read, AskUserQuestion ``` ## Fix (verified locally) One-line change in `commands/watc...
View Raw Thread