fix(ralph-wiggum): remove markdown code blocks from command syntax#134
Open
sapoepsilon wants to merge 2 commits intoanthropics:mainfrom
Open
fix(ralph-wiggum): remove markdown code blocks from command syntax#134sapoepsilon wants to merge 2 commits intoanthropics:mainfrom
sapoepsilon wants to merge 2 commits intoanthropics:mainfrom
Conversation
The bash command in ralph-loop.md was wrapped in markdown code blocks (```), which caused Claude Code to include the literal ``` characters in the command string sent for permission checking, resulting in execution errors. Remove the markdown code block markers so the ! prefix for shell command execution works correctly.
Closed
3 tasks
|
@sapoepsilon Experiencing the same parsing error. Putting the line in single ticks also seems to work.
|
|
@jeroendee is it working for you without --dangerously-skip-permissions? If so what's your environment? |
|
I'm experiencing the same error. OS : I tried |
harry-hathorn
approved these changes
Jan 8, 2026
|
Removing those ``` fixed this issue for me. |
smmorneau
approved these changes
Jan 9, 2026
stevencarpenter
approved these changes
Jan 12, 2026
zbeyens
approved these changes
Jan 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
See for more here: [BUG]
/ralph-wiggum:ralph-loophas a problem with newline characters. claude-code#12170 (comment)Problem
The bash command in
plugins/ralph-wiggum/commands/ralph-loop.mdwas wrapped in markdown code blocks:When Claude Code parses this, it includes the literal ``` characters in the command string sent for permission checking, causing execution errors.
Solution
Remove the markdown code block markers so the
!prefix for shell command execution works correctly:"${CLAUDE_PLUGIN_ROOT}/scripts/setup-ralph-loop.sh" $ARGUMENTSQuestion
Should command blocks in skill/command markdown files be wrapped at all? If wrapping is desirable for visual distinction or parsing purposes, would
<command>or similar XML tags be a better approach than markdown code blocks? XML tags would be less ambiguous and wouldn't conflict with the command syntax.