coding-agent-loops
SKILL.md
Coding Agent Loops
Run AI coding agents in persistent, self-healing sessions with automatic retry and completion notification.
Core Concept
Instead of one long agent session that stalls or dies, run many short sessions in a loop. Each iteration starts fresh — no accumulated context. The agent picks up where it left off via files and git history. This is the "Ralph loop" pattern.
Prerequisites
tmuxinstalledralphy-cli:npm install -g ralphy-cli- A coding agent:
codex(Codex CLI) orclaude(Claude Code) - Stable tmux socket: always use
~/.tmux/sock(default/tmpsocket gets reaped by macOS)
Quick Start
Single Task