Skip to content
Agent Orchestration
Command

/cancel-ralph

Cancel active Ralph Loop

BOOST
From plugin
aigc
20019 skills15 agents19 commands10 MCP
Install
$ npx -y skills add xiaoyuge886/aigc --agent claude-code

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 Loop

Command definition

cancel-ralph.md
description: "Cancel active Ralph 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 withaigc

基于 Claude AI 的智能对话与任务执行平台,支持自定义技能生态和场景化 AI 解决方案

Get the whole plugin

Other commands on aigc.