Skip to content
AI & Agents
Skill

/re0-loop

Run repeated cycles of build, QA, re0-memo and re0-work while preserving learning and letting code die. Use for long agentic projects where progress must be measured by quality-cleared templates, reusable modules, and eliminated anti-patterns rather than hours spent or features

From plugin
paperthin
1.5k45 skills

Claude Code

$ npx -y skills add LilMGenius/paperthin --skill re0-loop --agent claude-code

SKILL.md

re0-loop.SKILL.md
name: re0-loop
description: "Run repeated cycles of build, QA, re0-memo and re0-work while preserving learning and letting code die. Use for long agentic projects where progress must be measured by quality-cleared templates, reusable modules, and eliminated anti-patterns rather than hours spent or features accumulated."

Run a long project through repeated laps of the coil cycle so learning compounds and code is free to die.

Goal

Keep a long project moving through repeated turns so learning compounds and piling up code never passes for progress. Use it on long agentic projects where progress must be measured by quality-cleared output rather than time or feature count. Progress counts only as quality-cleared templates, reusable platform modules, and anti-patterns eliminated in later cycles; never hours, files, panels, or features.

Each lap runs this cycle:

FRAME -> BUILD -> DRIVE -> RE0-MEMO -> HATE -> RE0-WORK -> BUILD AGAIN

Workflow

Run the steps in this order.

1. **Frame.** Write the thesis and the quality gates the lap will be judged against. 2. **Build.** Build one complete vertical slice. 3. **Drive.** Drive the slice through its real surface, picked by artifact: a browser for web apps, HTTP for API contracts, desktop UI automation for desktop apps, and the CLI only for data-shaped artifacts. Capture what the drive shows as the lap's evidence. 4. **Memo.** Call the Skill tool with "re0-memo" to extract lessons, anti-patterns, and next-cycle gates from the lap. The memo lands where that skill's own contract puts it. 5. **Decide.** You decide whether the next pass iterates in place or restarts, and you state the choice as keep, iterate, or re0-work. For a restart, call the Skill tool with "re0-work". When that call, or the next move, is unclear, call the Skill tool with "nba", which reads cycle state and returns the single next action. 6. **Kill the plan.** Attack the next plan before building it. Use the project's adversarial review skill. When that skill is user-invoked only, as `hate` is, the attack is the human's to fire: tell the human to run it, and never call it yourself. 7. **Version.** Put a version label only on the templates or modules that cleared their gates. The next lap builds again from what survived.

Rules

  • Tests support; they are not the gate. Every lap needs a real-surface proof sized to the artifact.
  • Do not widen scope before the core loop clears.
  • Generated variety is not structural variety: if many outputs converge on one shape, the cycle failed the variety gate.
  • Preserve negative corpus so later cycles can prove an anti-pattern is gone.
  • Let code die: a restart that keeps the right lessons counts as progress.
  • A request the human makes while a lap runs goes onto the live plan the moment it arrives, beside earlier ones rather than over them, and leaves it only when it is done or the human drops it. A summary written when the context is compacted or handed to a new session lists every request still open, started or not, because a request held only in the conversation is lost with it.
  • Outside truth is evidence the lap did not produce about itself: a real-surface drive, a user's reaction, data from outside the build. A lap with none stops; add such evidence before running another pass rather than looping on itself.
  • Through the Skill tool, call only the model-invoked "re0-memo", "re0-work", and "nba". Route the plan attack to the project's adversarial skill, or to the human when that skill is user-invoked; never call a user-invoked skill.

Verification

Before closing each lap:

1. The real surface was driven and evidence captured. 2. The re0-memo names at least one lesson, anti-pattern, or gate that affects the next pass. 3. The keep / iterate / re0-work decision is explicit. 4. Any version label sits only on a quality-cleared template or module.

Read more
@lilmgenius
Ships withpaperthin

The skillbook for recursive self-improvement (RSI).NVIDIA's latest proof, unpacked with timeless engineering.Distilled from the OpenAI harness engineering hackathon winner's zero-touch method.

Stars on GitHub

Momentum

stars in total
1.5k
Star history of LilMGenius/paperthin on GitHub, a chart by star-history.com

Other skills on paperthin.

re0-import

re0-import

Land handed-over material of any shape (a note, a link, a dump, a correction) in the document of an existing knowledge base that…

re0-readme

re0-readme

Keep a repository's README for the person deciding whether and how to use it, its AGENTS.md (or a CLAUDE.md read through it) for…

re0-upgrade

re0-upgrade

Keep one paperthin install current and loaded once: move an old skills.sh install onto the Claude Code or Codex plugin, clear the…

ssotize-local

ssotize-local

Consolidate duplicate files or directories into one canonical home after approval, held as an identity by this machine's…

ssotize

ssotize

Audit and consolidate a fact that's scattered across places into one canonical source, after approval, and replace the rest with…

backprop

backprop

Feed what a finished cycle taught back through the sources that produced it: measure the lesson, question the requirements it…

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw3w393k
@openclaw@openclawInstall Skill

Questions about re0-loop.

Which coding agents can use re0-loop?
re0-loop installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.