rsi-loop

Manage recursive self-improvement workflows for evaluating research-agent rewrites.

Updated Nov 18, 2025
One-click install
npx skills add https://github.com/cajias/claude-skills --skill rsi-loop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rsi-loop
Source: https://github.com/cajias/claude-skills/tree/main/plugins/rsi-loop/skills/rsi-loop
Command: npx skills add https://github.com/cajias/claude-skills --skill rsi-loop

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps run a disciplined outer-loop improvement process for a research agent, so you can evaluate candidate rewrites against a fixed task battery instead of guessing which change is better.

Core Features & Use Cases

  • Propose Improvements: Generate a focused mutation of the incumbent inner agent based on the run ledger and current design.
  • Evaluate on Tasks: Test the candidate across public task families under a fixed token budget to obtain comparable scores.
  • Private Verification and Selection: Score only on held-out private data in the outer harness, then reject candidates that fail verifier checks or do not strictly beat the incumbent.
  • Use Case: Run an rsi outer step when you want to compare agent versions, audit for reward hacking, and record whether the new candidate is actually better.

Quick Start

Ask the skill to perform an rsi-loop step for the current run and explain the candidate, evaluation, verification, and selection outcome in plain language.

Frequently Asked Questions about rsi-loop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is recursive self-improvement for research agents?

Recursive self-improvement for research agents evaluates and selects agent rewrites against a fixed task battery. It proposes mutations, tests candidates under a fixed token budget, and scores them on held-out private data to ensure strict improvement.

How do I benchmark agent rewrites with private scoring?

Benchmark agent rewrites by testing candidates across public task families under a fixed token budget, then scoring strictly on held-out private data. Reject any candidate that fails verifier audits or does not strictly beat the incumbent agent.

How does adversarial verification prevent reward hacking in agent evaluation?

Adversarial verification prevents reward hacking by applying verifier audits to candidates after private scoring. Candidates failing these checks are rejected, ensuring selected agent rewrites represent genuine improvements rather than exploited metrics.

What tasks are included in the benchmarking task battery?

The benchmarking task battery includes bin-packing, tabular-classification, and instruction-routing tasks. These multi-step tasks evaluate candidate agent rewrites and obtain comparable scores under a fixed token budget during the improvement process.

When should I use strict separation between public and private data in agent evaluation?

Use strict separation between public and private data when running recursive self-improvement loops. This prevents overfitting by evaluating candidates on public task families first, then scoring strictly on held-out private data to verify genuine performance gains.

How to perform an rsi-loop step for the current run?

To perform an rsi-loop step, generate a focused mutation of the incumbent inner agent based on the run ledger, evaluate it on public tasks under a fixed budget, apply private scoring, run verifier audits, and select only candidates that strictly beat the incumbent.