AGENT SKILL

cancel-ralph

Cancel an active ralph loop

License 许可
GPL-2.0
所属仓库
The-Rabak/naysmith
最近更新
2026-03-04
Stars
★ 0
Forks
0

01 前言 Front Matter

name
cancel-ralph
description
Cancel an active ralph loop

02 资源文件 1

03 SKILL.md 正文

Cancel Ralph Loop

Check for and cancel an active ralph loop.

STATE_FILE=".github/ralph-loop.local.md"

if [ -f "$STATE_FILE" ]; then
  ITERATION=$(grep "^iteration:" "$STATE_FILE" | sed 's/^iteration: *//')
  MAX=$(grep "^max_iterations:" "$STATE_FILE" | sed 's/^max_iterations: *//')
  echo "Cancelling ralph loop at iteration ${ITERATION}/${MAX}"
  rm -f "$STATE_FILE"
  echo "Ralph loop cancelled."
else
  echo "No active ralph loop found."
fi

Run the above script via Bash tool to cancel the loop.

04 同仓库更多 Skills