Skip to content
Development
Command

/cancel-ralph

Cancel active Ralph Wiggum loop

From plugin
open-claudecode
93414 skills14 agents14 commands1 MCP
Install
> /plugin marketplace add LING71671/Open-ClaudeCode

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/cancel-ralph

Context preview

What this command does when you run it.

Cancel active Ralph Wiggum loop

Command definition

cancel-ralph.md
description: "Cancel active Ralph Wiggum loop"
allowed-tools: ["Bash(test -f .claude/ralph-loop.local.md:*)", "Bash(rm .claude/ralph-loop.local.md)", "Read(.claude/ralph-loop.local.md)"]
hide-from-slash-command-tool: "true"

Cancel Ralph

To cancel the Ralph loop:

1. Check if `.claude/ralph-loop.local.md` exists using Bash: `test -f .claude/ralph-loop.local.md && echo "EXISTS" || echo "NOT_FOUND"`

2. **If NOT_FOUND**: Say "No active Ralph loop found."

3. **If EXISTS**:

  • Read `.claude/ralph-loop.local.md` to get the current iteration number from the `iteration:` field
  • Remove the file using Bash: `rm .claude/ralph-loop.local.md`
  • Report: "Cancelled Ralph loop (was at iteration N)" where N is the iteration value
Ships withopen-claudecode

完整开源的 Claude Code 项目 - 基于 Anthropic 官方源码重建 🌐 Languages: 中文 | English

Get the whole plugin