- namespace
SKILL.md
The skill file stays in the publisher's repository.
Paste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add jmagly/aiwg --skill ralph-abort -a cursor -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add jmagly/aiwg --skill ralph-abort -a claude-code -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add jmagly/aiwg --skill ralph-abort -a codex -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add jmagly/aiwg --skill ralph-abort -a grok -ySend the copied message in a Grok Bot chat. The Bot fetches this SKILL.md from GitHub and adds it to the skills all your Bots share.
Install this skill: https://github.com/jmagly/aiwg/tree/HEAD/agentic/code/addons/agent-loop/skills/ralph-abortFrom the publisher
Abort a running or paused agent loop.
Before any confirmation below, read and apply
agent-loop authorization checkpoints.
Call aiwg config authorization check --action-file "$ACTION_FILE" --target "$TARGET_REPO"
for host-classified effects. Only auto-authorized with a signed receipt skips
that workflow prompt; retain existing prompts/refusals otherwise. Platform
prompts are never bypassed. Limits, regression and threat overrides still require review.
/ralph-abort # Abort, keep changes
/ralph-abort --revert # Abort and revert all changes
/ralph-abort --force # Abort even if no active loop
Stop the loop but keep all file changes made during iterations.
Revert all changes made during the agent loop using git:
ralph: iteration)Abort even if state indicates no active loop (for cleanup).
.aiwg/ralph/current-loop.jsonOutput:
Agent Loop: ABORTED
Task: {task}
Iterations completed: {N}
Duration: {time}
Changes have been kept. To revert:
git reset --hard HEAD~{N}
Partial report: .aiwg/ralph/completion-{timestamp}.md
ralph: iteration commits from this loopConfirmation prompt:
This will revert {N} commits:
- ralph: iteration 1 - initial attempt
- ralph: iteration 2 - fixed auth
- ralph: iteration 3 - in progress
Files to be reverted:
- src/auth.ts
- test/auth.test.ts
Type 'yes' to confirm revert:
After revert:
Agent Loop: ABORTED + REVERTED
Reverted {N} commits.
Working directory restored to pre-loop state.
State cleaned: .aiwg/ralph/current-loop.json archived
No active loop:
No active agent loop to abort.
Use --force to clean up stale state files if needed.
Git not available:
Git not available for --revert option.
Loop aborted, but changes cannot be reverted automatically.
Manual cleanup may be needed.
Dirty working directory (for --revert):
Cannot revert: uncommitted changes exist.
Options:
1. Commit or stash changes first
2. Use /ralph-abort without --revert to keep current state
After abort:
current-loop.json marked with status: "aborted"active: false/ralph-status - Check loop status before aborting/ralph-resume - Continue instead of abortAbort a running agent loop and optionally revert changes
---name: ralph-abortdescription: Abort a running agent loop and optionally revert changes---# agentic/code/addons/agent-loop/skills/ralph-abort/SKILL.mdFAQ
Download agentic/code/addons/agent-loop/skills/ralph-abort/SKILL.md from the publisher, or copy the path and open the repository. PlugMCP lists the skill and does not host the file.
The publisher keeps it at https://github.com/jmagly/aiwg.
Claude, Cursor, Codex, and Grok Build can read a SKILL.md you add from the publisher's repository. Grok Bot installs it when you send the skill's GitHub folder link in a chat.