Agent skill

Ralph Specum Cancel

by tzachbon in tzachbon/smart-ralph

This skill should be used only when the user explicitly asks to use $ralph-specum-cancel, or explicitly asks Ralph Specum in Codex to stop execution or remove a spec.

MITAuto-check passed

Install Ralph Specum Cancel

skills CLI
$ npx skills add tzachbon/smart-ralph --skill ralph-specum-cancel -a claude-code

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

GitHub CLI
$ gh skill install tzachbon/smart-ralph ralph-specum-cancel --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/tzachbon/smart-ralph.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/ralph-specum-codex/skills/ralph-specum-cancel .claude/skills/ralph-specum-cancel && 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
ralph-specum-cancel
GitHub stars
559
Token cost
~1.2k tokens
SKILL.md length
598 words
Files
2
Skills in repo
26
Repo updated
First seen
Licence
MIT

At a glance

This skill should be used only when the user explicitly asks to use $ralph-specum-cancel, or explicitly asks Ralph Specum in Codex to stop execution or remove a spec.

  • Works in 8 steps: Resolve the target spec. If none exists,… → Read .ralph-state.json when present and… → If activePrototypes is non-empty, use… → …
  • Explicitly asks to use $ralph-specum-cancel
  • SKILL.md covers Contract and Action
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Ralph Specum Cancel is an agent skill from tzachbon/smart-ralph. This skill should be used only when the user explicitly asks to use $ralph-specum-cancel, or explicitly asks Ralph Specum in Codex to stop execution or remove a spec.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

The repository describes itself as: Spec-driven development with smart compaction. Claude Code plugin combining Ralph Wiggum loop with structured specification workflow. The licence is MIT.

When your agent uses it

  • Explicitly asks to use $ralph-specum-cancel
  • Explicitly asks Ralph Specum in Codex to stop execution

Example prompts

  • “/ralph-specum-cancel”

Workflow steps

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

  1. Resolve the target spec. If none exists, report that there is nothing to cancel.
  2. Read .ralph-state.json when present and summarize the current phase and progress.
  3. If activePrototypes is non-empty, use the resolved basePath and run "$RALPH_CODEX_PLUGIN_ROOT/scripts/prototype_records.py" reconcile…
  4. For each active prototype
  5. Safe cancel is the default. After every active prototype has a verified immutable cancelled record, delete only .ralph-state.json through…
  6. If full removal was explicitly requested, show the resolved spec directory and every prototype isolation path and branch. Require…
  7. If no state exists, report that no active loop exists and remove nothing unless the exact full-removal confirmation is complete.
  8. Keep active epic files unless the user separately requests their removal. Report exactly what was removed and what was preserved.

What it can do on your machine

Read from SKILL.md and the folder at commit ac7251a. 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.

    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

Ralph Specum Cancel loads about 1.2k tokens when it runs. Until then it costs about 47 tokens; SKILL.md has 598 words of instructions outside code blocks.

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

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 tzachbon/smart-ralph at commit ac7251a, republished under its MIT licence (© tzachbon). 598 words, ~1,159 tokens.

Download SKILL.mdSave it as .claude/skills/ralph-specum-cancel/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
ralph-specum-cancel
description
This skill should be used only when the user explicitly asks to use `$ralph-specum-cancel`, or explicitly asks Ralph Specum in Codex to stop execution or remove a spec.
metadata.surface
helper
metadata.action
cancel

Ralph Specum Cancel

Use this to stop execution safely and optionally remove a spec. Safe cancel preserves the spec and every prototype source path.

Derive RALPH_CODEX_PLUGIN_ROOT from this loaded skill by resolving two parent directories from the SKILL.md directory. Never derive it from the project working directory.

Contract

  • Resolve the target by explicit path, exact name, or .current-spec
  • Treat a missing activePrototypes field as an empty map
  • Publish reviewed immutable cancellation evidence before removing active state
  • Confirm the exact local target before any deletion
  • Never delete a remote branch or perform another remote action
  • Do not guess on ambiguous names

Action

  1. Resolve the target spec. If none exists, report that there is nothing to cancel.
  2. Read .ralph-state.json when present and summarize the current phase and progress.
  3. If activePrototypes is non-empty, use the resolved basePath and run "$RALPH_CODEX_PLUGIN_ROOT/scripts/prototype_records.py" reconcile before cancellation. Process active IDs by created, then ID, at the next safe tool boundary.
  4. For each active prototype:
    • Inspect its owner, leaseToken, and harnessRun.id. When owner and leaseToken are both null or absent, verify that harnessRun.id is also null or absent and no builder is associated, then skip interrupt and release and continue cancellation. If those fields disagree, treat the entry as inconsistent builder ownership: retain the lease and active entry and stop for that ID. Otherwise, interrupt only its recorded child builder through the bounded harness contract. Release through locked_state.py release-lease --id <id> --lease-token <leaseToken> only after the harness verifies that the recorded builder and descendants stopped. If interruption is unavailable or unverified, or reports any failed termination attempt, retain the lease and active entry and stop cancellation for that ID.
    • Preserve its question, blocker, return phase and task, timestamps, local branch, isolation pointers, partial implementation, run evidence, stale metadata, and downstream artifacts.
    • Render an exclusive terminal candidate with verdict: cancelled, gateApproved: false, and sourceDisposition: retained. Never overwrite existing candidate or final bytes; allocate a new publication ID with supersedes: ["<original-id>"] on collision.
    • Before review, store the exact returned candidateHash. Update the existing original entry through compare-and-set transition, or reserve a separate superseding ID through create-only locked_state.py upsert-prototype with the copied recovery fields and exact candidateHash. Retain the original active entry unchanged while the superseding record is reviewed. A reservation collision preserves both entries and candidates and allocates another ID.
    • Send the exact candidate bytes and source pointers to the reviewer. Continue only after REVIEW_PASS, then call review-candidate and publish with the publication ID and exact candidate hash.
    • Re-read and parse the immutable final and verify its hash. Publication removes its own active publication entry. When a superseding ID was used, remove the original active entry only after final verification succeeds; any earlier failure retains it. Reconcile, then restore the recorded main phase and task index through locked_state.py without changing unrelated state.
  5. Safe cancel is the default. After every active prototype has a verified immutable cancelled record, delete only .ralph-state.json through locked_state.py delete-state. Keep the spec directory, .current-spec, terminal records, prototype source, partial work, scratch paths, worktrees, and local branches.
  6. If full removal was explicitly requested, show the resolved spec directory and every prototype isolation path and branch. Require confirmation naming the exact spec directory before removing it. Prototype paths and local branches require separate exact confirmations and are never included in recursive spec cleanup. Never delete a remote branch.
  7. If no state exists, report that no active loop exists and remove nothing unless the exact full-removal confirmation is complete.
  8. Keep active epic files unless the user separately requests their removal. Report exactly what was removed and what was preserved.

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

Files

SKILL.md and 1 other file in plugins/ralph-specum-codex/skills/ralph-specum-cancel of tzachbon/smart-ralph.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit ac7251a

Compare with similar skills

Ralph Specum Cancel 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.

Ralph Specum Cancel compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ralph Specum Cancel this skilltzachbon/smart-ralph559—~1.2kAutomated safety check: PassMIT
Cancel Ralphcursor/plugins11k—~183Automated safety check: PassNone
Cancel Ralphforyourhealth111-pixel/Vibe-Skills3.6k—~247Automated safety check: PassApache-2.0
RalphYeachan-Heo/oh-my-claudecode40k—~7.5kAutomated safety check: PassMIT
OMC Mode CancellationYeachan-Heo/oh-my-claudecode40k—~4.6kAutomated safety check: PassMIT
No Explicit Anythedaviddias/Front-End-Checklist74k—~565Automated safety check: PassMIT

Similar skills

  • Cancel Ralph

    cursor/plugins

    Official

    Cancel an active Ralph Loop. An agent skill from cursor/plugins.

    11k GitHub stars~183 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Cancel Ralph

    foryourhealth111-pixel/Vibe-Skills

    Codex-compatible cancel command for Ralph loop state, preserving the original command name.

    3.6k GitHub stars~247 tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Ralph

    Yeachan-Heo/oh-my-claudecode

    Self-referential loop until task completion with configurable verification reviewer

    40k GitHub stars~7.5k tokensUpdated 3 days ago
    Product & Project ManagementAuto-check passed
  • OMC Mode Cancellation

    Yeachan-Heo/oh-my-claudecode

    Detects and gracefully cancels whichever OMC mode, autopilot, ralph, swarm, pipeline, or team, is currently active, then clears its state.

    40k GitHub stars~4.6k tokensUpdated 3 days ago
    Agent WorkflowsAuto-check passed
  • No Explicit Any

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing TypeScript files for type safety regressions, during code review of functions that handle external data, or when the codebase has ESLint warnings for…

    74k GitHub stars~565 tokensUpdated 5 days ago
    DevelopmentAuto-check passed
  • Ralph Loop Yylo

    sickn33/agentic-awesome-skills

    Execute exactly one explicitly assigned YYLO Ledger task through the Ralph loop to a validated queued commit.

    47k GitHub starsUsed in 2 repos~670 tokens
    Agent WorkflowsAuto-check passed

More from tzachbon/smart-ralph

All 26 skills in this repo
  • Communication Style

    tzachbon/smart-ralph

    This skill should be used when generating spec artifacts (research.md, requirements.md, design.md, tasks.md), formatting agent output, structuring phase results, or when any Ralph agent needs…

    559 GitHub stars~551 tokensUpdated 25 days ago
    Auto-check passed
  • Interview Framework

    tzachbon/smart-ralph

    This skill should be used when a Ralph phase must identify critical user decisions, run a layered grill, persist partial answers, obtain explicit approval, or resume an interrupted phase interview…

    559 GitHub stars~2.2k tokensUpdated 25 days ago
    Auto-check passed
  • Reality Verification

    tzachbon/smart-ralph

    This skill should be used when the user asks to "verify a fix", "reproduce failure", "diagnose issue", "check BEFORE/AFTER state", "VF task", "reality check", "check test quality", "mock-only…

    559 GitHub stars~877 tokensUpdated 25 days ago
    Auto-check passed
  • Spec Workflow

    tzachbon/smart-ralph

    This skill should be used when the user asks to "build a feature", "create a spec", "start spec-driven development", "run research phase", "generate requirements", "create design", "plan tasks"…

    559 GitHub stars~1.1k tokensUpdated 25 days ago
    Auto-check passed
  • Ralph Specum Design

    tzachbon/smart-ralph

    This skill should be used only when the user explicitly asks to use $ralph-specum-design, or explicitly asks Ralph Specum in Codex to run the design phase.

    559 GitHub stars~1.5k tokensUpdated 25 days ago
    Auto-check passed
  • Ralph Specum Tasks

    tzachbon/smart-ralph

    This skill should be used only when the user explicitly asks to use $ralph-specum-tasks, or explicitly asks Ralph Specum in Codex to run the tasks phase.

    559 GitHub stars~1.6k tokensUpdated 25 days ago
    Auto-check passed

Questions about Ralph Specum Cancel

What does Ralph Specum Cancel do?

This skill should be used only when the user explicitly asks to use $ralph-specum-cancel, or explicitly asks Ralph Specum in Codex to stop execution or remove a spec. Ralph Specum Cancel is an agent skill from tzachbon/smart-ralph. This skill should be used only when the user explicitly asks to use $ralph-specum-cancel, or explicitly asks Ralph Specum in Codex to stop execution or remove a spec.

When should I use Ralph Specum Cancel?

Ralph Specum Cancel fits situations like: explicitly asks to use $ralph-specum-cancel; explicitly asks Ralph Specum in Codex to stop execution.

How do I install Ralph Specum Cancel in Claude Code?

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

How do I install Ralph Specum Cancel in Codex?

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

Can I use Ralph Specum Cancel 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 tzachbon/smart-ralph --skill ralph-specum-cancel -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ralph-specum-cancel, .gemini/skills/ralph-specum-cancel, .github/skills/ralph-specum-cancel and .opencode/skills/ralph-specum-cancel in your project.

What does Ralph Specum Cancel need to run?

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

Does Ralph Specum Cancel 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 Ralph Specum Cancel 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 Ralph Specum Cancel use?

Ralph Specum Cancel 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 Ralph Specum Cancel use?

About 1.2k tokens (SKILL.md is roughly 4.6k 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 Ralph Specum Cancel?

Skills that share tags, products or a category with Ralph Specum Cancel: Cancel Ralph (cursor/plugins, 11k stars), Cancel Ralph (foryourhealth111-pixel/Vibe-Skills, 3.6k stars), Ralph (Yeachan-Heo/oh-my-claudecode, 40k stars) and OMC Mode Cancellation (Yeachan-Heo/oh-my-claudecode, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ralph Specum Cancel?

tzachbon (a GitHub user) maintains it in tzachbon/smart-ralph, which has 559 GitHub stars. The repository holds 26 skills in this directory. The repository was last updated on September 16, 2026.

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