Prp Ralph Cancel

Cancel active PRP Ralph loop

ca1773130n updated 1mo ago
Claude CodeGeneric
View source ↗
---
description: Cancel active PRP Ralph loop
---

# Cancel PRP Ralph Loop

---

## Steps

1. **Check if loop is active**

   ```bash
   test -f .claude/prp-ralph.state.md && echo "ACTIVE" || echo "NOT_FOUND"
  1. If NOT_FOUND: Report "No active Ralph loop found."

  2. If ACTIVE:

    a. Read the state file to get current iteration:

    head -20 .claude/prp-ralph.state.md
    

    b. Extract iteration number from the YAML frontmatter

    c. Remove the state file:

    rm .claude/prp-ralph.state.md
    

    d. Report:

    ## Ralph Loop Cancelled
    
    **Was at**: Iteration {N}
    **Plan**: {plan_path}
    
    The loop has been stopped. Your work so far is preserved in:
    - Modified files (check `git status`)
    - Git commits (if any were made)
    
    To resume later:
    - Run `/prp-ralph {plan_path}` to start fresh
    - Or continue manually with `/prp-implement {plan_path}`
    

Maintain Prp Ralph Cancel?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[Prp Ralph Cancel on getagentictools](https://getagentictools.com/loops/ca1773130n-cancel-prp-ralph-loop?ref=badge)
npx agentictools info loops/ca1773130n-cancel-prp-ralph-loop

The second line is the CLI lookup for this page — handy in READMEs and docs.