# Cancel Ralph

> Cancel active Ralph Loop Use when this capability is needed.

- Skill: `tomevault-io/cancel-ralph` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/cancel-ralph`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/cancel-ralph/raw
- Safety review: pending (external: skill-scanner PASS, skillspector CAUTION)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/cancel-ralph

---


# Cancel Ralph

Stop an active Ralph Loop before completion.

## How to Use

When you invoke this skill:

1. First, check if a loop is active:

```bash
test -f .opencode/ralph-loop.local.md && echo "Loop is active" || echo "No active loop"
```

2. If active, read the current iteration count:

```bash
grep '^iteration:' .opencode/ralph-loop.local.md
```

3. Delete the state file to stop the loop:

```bash
rm -f .opencode/ralph-loop.local.md
```

4. Inform the user of the cancellation and which iteration was reached.

## When to Use

Use this command when:
- The task requirements have changed
- You want to restart with different parameters
- The loop appears stuck and you want manual control
- You need to work on something else

Note: Prefer completing tasks properly with `<promise>DONE</promise>` when possible.

---
> Source: [charfeng1/opencode-ralph-loop](https://github.com/charfeng1/opencode-ralph-loop) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-18 -->

