explanatory-output-style plugin: SessionStart hook fails due to missing execute permission on session-start.sh
Resolved 💬 2 comments Opened Mar 26, 2026 by gorritij Closed Mar 27, 2026
Summary
The explanatory-output-style plugin ships a SessionStart hook that calls ${CLAUDE_PLUGIN_ROOT}/hooks-handlers/session-start.sh, but the script is installed without execute permissions (-rw-r--r--), causing a startup hook error on every session open.
Steps to Reproduce
- Enable the
explanatory-output-styleplugin (explanatory-output-style@claude-plugins-official) - Open Claude Code
- See:
sessionstart: startup hook error
Root Cause
The plugin cache at:
~/.claude/plugins/cache/claude-plugins-official/explanatory-output-style/unknown/hooks-handlers/session-start.sh
is installed with permissions 644 instead of 755.
Fix
chmod +x ~/.claude/plugins/cache/claude-plugins-official/explanatory-output-style/unknown/hooks-handlers/session-start.sh
The underlying fix should ensure the script is packaged/installed with execute permissions.
Environment
- macOS Darwin 24.6.0
- Plugin version:
unknown(as listed in cache directory name) - Claude Code: latest
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗