SessionStart hook blocks input on Windows (session-start.sh not executable)
Description
The superpowers plugin's SessionStart hook causes Claude Code CLI to become completely unresponsive on Windows. The input field is frozen and no text can be typed. The error message shown is SessionStart:startup hook error.
Root Cause
The hook in hooks/hooks.json executes session-start.sh, a bash script. On Windows, Claude CLI cannot natively execute .sh files from PowerShell/cmd, which causes the hook to fail and block all terminal input.
Environment
OS: Windows 11 Shell: PowerShell Claude Code: 2.1.31 Bash available at: C:\Program Files\Git\usr\bin\bash.exe (Git for Windows) Steps to Reproduce
Install superpowers plugin on Windows Open PowerShell Run claude in any directory Terminal input is completely frozen
Workaround
Disabling the plugin in ~/.claude/settings.json:
"superpowers@claude-plugins-official": false
Suggested Fix
Either:
Add a .cmd / .ps1 equivalent of session-start.sh for Windows Or wrap the hook command to explicitly invoke bash: bash ${CLAUDE_PLUGIN_ROOT}/hooks/session-start.sh
i am facing the exact same issue on windows. i believe using superpowers version 4.1.1
Same here - SessionStart:startup hook error and unresponsive on Windows.
might be related to https://github.com/obra/superpowers/issues/404#issue-3893103357 #404
Ref https://github.com/anthropics/claude-code/issues/23083#issuecomment-3850558585
Closing as duplicate of #414, which covers the same problem (Windows can't execute .sh files, terminal freezes).
The terminal freeze has been fixed on main:
961052e:async: trueprevents TUI blocking when hook fails038abed: O(n)escape_for_jsoneliminates performance timeouts
The underlying "bash not available on Windows" problem is still tracked at #414.