ralph-loop
Installation
SKILL.md
Ralph loop
A Ralph loop gives fresh OpenCode attempts the same task contract until the outcome passes verification or the retry limit is reached. The loop is a supervised executor, not permission to expand the user's task.
Build the task contract
Before starting, turn the request into four concrete fields:
- Goal: the outcome OpenCode must produce.
- Scope: the files, systems, and side effects the user authorized.
- Verification: observable checks that distinguish done from incomplete.
- Stop conditions: success, the attempt limit, a confirmed stall, or a need for authority the user has not granted.