cancel-ralph

Cancel the active Ralph loop by deleting its local state file.

2|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/JaimeJunr/context-mode --skill cancel-ralph-jaimejunr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cancel-ralph
Source: https://github.com/JaimeJunr/context-mode/tree/main/.claude/skills/cancel-ralph
Command: npx skills add https://github.com/JaimeJunr/context-mode --skill cancel-ralph-jaimejunr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Cancel active Ralph loops to regain control in interactive sessions and prevent runaway iterations.

Core Features & Use Cases

  • Detects whether a Ralph loop state file exists at .claude/ralph-loop.local.md
  • Reads the current iteration from the iteration field
  • Deletes the state file and reports the cancellation status

Quick Start

Cancel the active Ralph loop.

Frequently Asked Questions about cancel-ralph

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely cancel an active Ralph loop in an interactive session?

To safely cancel an active Ralph loop, you need to detect the local state file at .claude/ralph-loop.local.md, delete it, and verify the final status to confirm termination.

What happens to the state file when I terminate a Ralph process?

When you terminate a Ralph process, the system detects the local state file, reads the current iteration field, deletes the state file, and reports the final cancellation status.

How do I stop a runaway Ralph automation loop?

To stop a runaway Ralph automation loop, you delete the iteration state file at .claude/ralph-loop.local.md, which safely aborts the active process and regains interactive control.

Do I need a specific state file to abort a Ralph loop safely?

Yes, safe Ralph loop termination requires detecting the local state file located at .claude/ralph-loop.local.md to verify the active iteration before deletion and final status reporting.

Why does my Ralph loop keep running after I try to cancel it?

If your Ralph loop keeps running, the cancellation likely failed because the state file at .claude/ralph-loop.local.md was not detected or deleted to confirm the final termination status.

Can I verify the current iteration before cancelling a Ralph loop?

Yes, the cancellation mechanism reads the current iteration from the local state file field at .claude/ralph-loop.local.md before deleting it to report the final status.