spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

fix(plugins): run ralph-wiggum and output-style .sh hooks through bash with a quoted pathBrowse files
The Stop hook in ralph-wiggum and the SessionStart hooks in
learning-output-style and explanatory-output-style gave a bare, unquoted
"${CLAUDE_PLUGIN_ROOT}/....sh" as the hook command. Shell-form hook
commands are expanded by the shell from the CLAUDE_PLUGIN_ROOT env var,
so a plugin root containing a space word-splits and the hook exits 127
("not found") with no visible effect; the bare form also relies on the
script's exec bit and, on Windows, on the CLI prepending an interpreter.

Invoke the scripts as `bash "${CLAUDE_PLUGIN_ROOT}/....sh"`, the form
security-guidance already uses, and bump the three plugins to 1.0.1 so
existing installs pick the change up on update (the plugin.json version
is what the updater compares).

Refs anthropics/claude-code#95673, #78490.
Claude authored on Sep 20, 2026 parent 7974a70 · commit 971f8c6c507b
7 changed files+9 -9compared with 7974a70
M.claude-plugin/marketplace.json
Mplugins/explanatory-output-style/.claude-plugin/plugin.json
Mplugins/explanatory-output-style/hooks/hooks.json
Mplugins/learning-output-style/.claude-plugin/plugin.json
Mplugins/learning-output-style/hooks/hooks.json
Mplugins/ralph-wiggum/.claude-plugin/plugin.json
Mplugins/ralph-wiggum/hooks/hooks.json
@@ -50,7 +50,7 @@
5050 {
5151 "name": "explanatory-output-style",
5252 "description": "Adds educational insights about implementation choices and codebase patterns (mimics the deprecated Explanatory output style)",
53- "version": "1.0.0",
53+ "version": "1.0.1",
5454 "author": {
5555 "name": "Dickson Tsai",
5656 "email": "dickson@anthropic.com"
@@ -94,7 +94,7 @@
9494 {
9595 "name": "learning-output-style",
9696 "description": "Interactive learning mode that requests meaningful code contributions at decision points (mimics the unshipped Learning output style)",
97- "version": "1.0.0",
97+ "version": "1.0.1",
9898 "author": {
9999 "name": "Boris Cherny",
100100 "email": "boris@anthropic.com"
@@ -127,7 +127,7 @@
127127 {
128128 "name": "ralph-wiggum",
129129 "description": "Interactive self-referential AI loops for iterative development. Claude works on the same task repeatedly, seeing its previous work, until completion.",
130- "version": "1.0.0",
130+ "version": "1.0.1",
131131 "author": {
132132 "name": "Daisy Hollman",
133133 "email": "daisy@anthropic.com"
@@ -1,6 +1,6 @@
11 {
22 "name": "explanatory-output-style",
3- "version": "1.0.0",
3+ "version": "1.0.1",
44 "description": "Adds educational insights about implementation choices and codebase patterns (mimics the deprecated Explanatory output style)",
55 "author": {
66 "name": "Dickson Tsai",
@@ -6,7 +6,7 @@
66 "hooks": [
77 {
88 "type": "command",
9- "command": "${CLAUDE_PLUGIN_ROOT}/hooks-handlers/session-start.sh"
9+ "command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks-handlers/session-start.sh\""
1010 }
1111 ]
1212 }
@@ -1,6 +1,6 @@
11 {
22 "name": "learning-output-style",
3- "version": "1.0.0",
3+ "version": "1.0.1",
44 "description": "Interactive learning mode that requests meaningful code contributions at decision points (mimics the unshipped Learning output style)",
55 "author": {
66 "name": "Boris Cherny",
@@ -6,7 +6,7 @@
66 "hooks": [
77 {
88 "type": "command",
9- "command": "${CLAUDE_PLUGIN_ROOT}/hooks-handlers/session-start.sh"
9+ "command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks-handlers/session-start.sh\""
1010 }
1111 ]
1212 }
@@ -1,6 +1,6 @@
11 {
22 "name": "ralph-wiggum",
3- "version": "1.0.0",
3+ "version": "1.0.1",
44 "description": "Implementation of the Ralph Wiggum technique - continuous self-referential AI loops for interactive iterative development. Run Claude in a while-true loop with the same prompt until task completion.",
55 "author": {
66 "name": "Daisy Hollman",
@@ -6,7 +6,7 @@
66 "hooks": [
77 {
88 "type": "command",
9- "command": "${CLAUDE_PLUGIN_ROOT}/hooks/stop-hook.sh"
9+ "command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks/stop-hook.sh\""
1010 }
1111 ]
1212 }