Agent skill

Cancel Ralph

by charfeng1 in charfeng1/opencode-ralph-loop

“Cancel active Ralph Loop”

— description from SKILL.md by charfeng1
MITAuto-check passedAgent Workflows

Install Cancel Ralph

skills CLI
$ npx skills add charfeng1/opencode-ralph-loop --skill cancel-ralph -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install charfeng1/opencode-ralph-loop cancel-ralph --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/charfeng1/opencode-ralph-loop.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cancel-ralph .claude/skills/cancel-ralph && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cancel-ralph
GitHub stars
112
Token cost
~222 tokens
SKILL.md length
98 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

  • Works in 4 steps: First, check if a loop is active → If active, read the current iteration… → Delete the state file to stop the loop → …
  • SKILL.md covers How to Use and When to Use
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

About this skill

Cancel Ralph is a skill in charfeng1/opencode-ralph-loop (112 stars). Its SKILL.md is about 222 tokens. Licence: MIT.

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. First, check if a loop is active
  2. If active, read the current iteration count
  3. Delete the state file to stop the loop
  4. Inform the user of the cancellation and which iteration was reached.

What it can do on your machine

Read from SKILL.md and the folder at commit 2ef2386. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cancel Ralph loads about 222 tokens when it runs. Until then it costs about 9 tokens; SKILL.md has 98 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~9
When it runs · the whole SKILL.md, loaded when a task matches
~222

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from charfeng1/opencode-ralph-loop at commit 2ef2386, republished under its MIT licence (© charfeng1). 98 words, ~222 tokens.

Download SKILL.mdSave it as .claude/skills/cancel-ralph/SKILL.md (or your agent's skills folder).
name
cancel-ralph
description
Cancel active Ralph Loop

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"
  1. If active, read the current iteration count:
bash
grep '^iteration:' .opencode/ralph-loop.local.md
  1. Delete the state file to stop the loop:
bash
rm -f .opencode/ralph-loop.local.md
  1. 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.

© charfeng1, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/cancel-ralph of charfeng1/opencode-ralph-loop.

Open the folder on GitHubat commit 2ef2386

Compare with similar skills

Cancel Ralph next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cancel Ralph compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cancel Ralph this skillcharfeng1/opencode-ralph-loop112—~222Automated safety check: PassMIT
Show Me Your Work Decision Logcursor/plugins10k8 repos~1.6kAutomated safety check: PassNone
Autoresearch Iteration Loopuditgoenka/autoresearch6.5k1 repos~2kAutomated safety check: PassMIT
Install Loop Engineeringcobusgreyling/loop-engineering11k1 repos~648Automated safety check: PassMIT
LoopyForward-Future/loopy3.2k—~3.9kAutomated safety check: PassMIT
AI Performance Improvement Plantanweai/pua20k2 repos~6.9kAutomated safety check: PassMIT

Similar skills

  • Official

    Keeps a TSV decision log for long or unattended agent runs, one row per decision with what, why, evidence and result, so a reviewer can check the work later.

    10k GitHub starsUsed in 8 repos~1.6k tokens
    Agent WorkflowsAuto-check passed
  • Autoresearch Iteration Loop

    uditgoenka/autoresearch

    Runs an autonomous modify, verify, keep-or-discard loop against any metric, with subcommands for planning, debugging, fixing, security audits, shipping and more.

    6.5k GitHub starsUsed in 1 repo~2k tokens
    Agent WorkflowsAuto-check passed
  • Install Loop Engineering

    cobusgreyling/loop-engineering

    Installs Loop Engineering into a project through the single @cobusgreyling/loop CLI, scaffolding a report-only loop and a readiness score.

    11k GitHub starsUsed in 1 repo~648 tokens
    Agent WorkflowsAuto-check passed
  • Loopy

    Forward-Future/loopy

    Discover, find, compare, audit, repair, adapt, craft, run, debrief, save, and prepare repeatable AI-agent loops for publication.

    3.2k GitHub stars~3.9k tokensUpdated 28 days ago
    Agent WorkflowsAuto-check passed
  • Pushes an agent to exhaust every option, investigate before asking and take initiative beyond the literal request, instead of giving up or waiting passively.

    20k GitHub starsUsed in 2 repos~6.9k tokens
    Agent WorkflowsAuto-check passed
  • LoopX Self Repair

    loopx-project/loopx

    Diagnoses surprising LoopX behavior, such as stale recommendations or tiny progress, assigns it to the responsible layer and repairs it at the lowest durable level.

    6.2k GitHub stars~2.2k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from charfeng1/opencode-ralph-loop

  • Help

    charfeng1/opencode-ralph-loop

    Explain Ralph Loop plugin and available commands. An agent skill from charfeng1/opencode-ralph-loop.

    112 GitHub stars~405 tokensUpdated 1 mo ago
    Auto-check passed
  • Ralph Loop

    charfeng1/opencode-ralph-loop

    Start Ralph Loop - auto-continues until task completion. An agent skill from charfeng1/opencode-ralph-loop.

    112 GitHub stars~517 tokensUpdated 1 mo ago
    Auto-check passed

Categories

Questions about Cancel Ralph

How do I install Cancel Ralph in Claude Code?

Run `npx skills add charfeng1/opencode-ralph-loop --skill cancel-ralph -a claude-code`. Or copy the skill folder (skills/cancel-ralph in charfeng1/opencode-ralph-loop) into .claude/skills/cancel-ralph in your project. Claude Code loads it when a task matches its description.

How do I install Cancel Ralph in Codex?

Run `npx skills add charfeng1/opencode-ralph-loop --skill cancel-ralph -a codex`. Or copy the skill folder (skills/cancel-ralph in charfeng1/opencode-ralph-loop) into .agents/skills/cancel-ralph in your project. Codex loads it when a task matches its description.

Can I use Cancel Ralph in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add charfeng1/opencode-ralph-loop --skill cancel-ralph -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cancel-ralph, .gemini/skills/cancel-ralph, .github/skills/cancel-ralph and .opencode/skills/cancel-ralph in your project.

What does Cancel Ralph need to run?

SKILL.md names no scripts, command-line tools or credentials: Cancel Ralph is instructions for the agent only.

Does Cancel Ralph access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cancel Ralph safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cancel Ralph use?

Cancel Ralph is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cancel Ralph use?

About 222 tokens (SKILL.md is roughly 888 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cancel Ralph?

Skills that share tags, products or a category with Cancel Ralph: Show Me Your Work Decision Log (cursor/plugins, 10k stars), Autoresearch Iteration Loop (uditgoenka/autoresearch, 6.5k stars), Install Loop Engineering (cobusgreyling/loop-engineering, 11k stars) and Loopy (Forward-Future/loopy, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cancel Ralph?

charfeng1 (a GitHub user) maintains it in charfeng1/opencode-ralph-loop, which has 112 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on September 8, 2026.

Source: charfeng1/opencode-ralph-loop on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.