Skip to content
Back to skills

Rlar

ASecurity

Ralph loop with agentic review. A persistent actor works; after every turn a fresh reviewer that never saw the work reads the repository, decides whether the task is done, and writes the actor's next prompt. Run with /baton:rlar "<task>".

  • 3 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added October 26, 2026
ai-agentsrustgogit

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add cornch-k/baton --skill rlar --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rlar?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rlar
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cornch-k-rlar/badge)](https://www.skillsdirectory.com/skills/cornch-k-rlar)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: rlar
description: Ralph loop with agentic review. A persistent actor works; after every turn a fresh reviewer that never saw the work reads the repository, decides whether the task is done, and writes the actor's next prompt. Run with /baton:rlar "<task>".
argument-hint: "\"<task>\" [--turns N] [--minutes M] [--check \"cmd\"] [--in-place] [--resume [run-id]]"
disable-model-invocation: true
---

# rlar

Arguments: $ARGUMENTS

Load the run protocol first (Skill tool → `baton:protocol`; if that fails, Read `${CLAUDE_PLUGIN_ROOT}/skills/protocol/SKILL.md`) and follow it. This file only adds what is specific to rlar.

## Idea

"Is it done?" shouldn't be answered by the agent that did the work. The actor keeps its memory; the reviewer starts fresh every time, sees only the task, what the actor said, and the repository, and its review becomes the actor's next prompt.

## Roles

| Role | subagent_type | Model | Session |
|---|---|---|---|
| actor | `baton:worker` | worker model | persistent, named `<run-id>-actor` |
| reviewer | `baton:reviewer` | reviewer model | fresh every round |

`--turns` counts actor turns. Reviews don't count.

## Round

1. **Actor.** Round 1 (Agent call with `name`):
   ```
   BATON rlar · turn 1/<max> · role actor · run <run-id>

   TASK:
   <task, verbatim>

   You keep this session. After each of your turns, a fresh reviewer who never saw you work reads the repository and decides whether the TASK is done. If it isn't, its instructions become your next message.
   ```
   Round n > 1 (SendMessage to `<run-id>-actor`): the header line, then the reviewer's `next_prompt`, verbatim.
2. **Turn call** (protocol): `turn <run_dir> t<n> actor <status>`.
3. **Reviewer** (fresh):
   ```
   BATON rlar · turn <n>/<max> · role reviewer · run <run-id>

   TASK:
   <task, verbatim>

   WHAT THE ACTOR SAID THIS TURN (verify, don't trust):
   <the actor's summary and changed lines>

   COMMITS THIS RUN: `git log --oneline <base>..HEAD`; start from `git diff --stat <base>..HEAD`.
   <if --check: "Check command: <cmd> (last result: <pass|fail from the turn call>)">

   Decide whether the TASK is completely done in the repository as it is now. If it isn't, write next_prompt: the exact instructions for the actor's next turn.
   ```
4. `done: true` stops the run as finished. Otherwise go to the next round.

Fallback: if the actor can't be reached, respawn it fresh with the TASK plus the latest `next_prompt` and log it.

## Stop

- The reviewer returns `done: true`.
- The budget is used up, or a turn fails (protocol).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.