agentic/code/addons/agent-loop/skills/ralph-abort/SKILL.md
Abort a running agent loop and optionally revert changes
npx skillsauth add jmagly/aiwg ralph-abortInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Abort a running or paused agent loop.
/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 abortdata-ai
Report which research-corpus radar sidecars are overdue for refresh. Computes staleness (days since last refresh vs the cadence window) for every radar, sorted most-overdue-first. Runs via `aiwg corpus radar-status`.
data-ai
Aggregate research-corpus radar sidecars into a corpus or per-cluster freshness report — totals, overdue count, per-cluster / per-GRADE / per-trajectory breakdowns, an overdue table, and per-radar rationale snippets. Runs via `aiwg corpus radar-report`.
testing
Scaffold radar/freshness sidecars for research-corpus REFs. Pulls title/authors from the citation sidecar and GRADE from the analysis doc, defaults the refresh cadence from GRADE and the cluster from a corpus-local map, and stamps documentation/radar/REF-XXX-radar.md. Runs via `aiwg corpus radar-init`.
data-ai
Compute an entity's publication trajectory — per-year paper counts, topic drift, hot-streak detection (≥3 consecutive A-grade years), and career phase. Runs via `aiwg corpus profile-temporal`.