Agent skill

Re0 Loop

by LilMGenius in LilMGenius/paperthin

Run repeated build - QA - re0-memo - re0-work cycles while preserving learning and letting code die.

MITAuto-check passedDevelopment

Install Re0 Loop

skills CLI
$ npx skills add LilMGenius/paperthin --skill re0-loop -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install LilMGenius/paperthin re0-loop --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/LilMGenius/paperthin.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/coil/re0-loop .claude/skills/re0-loop && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
re0-loop
GitHub stars
1.1k
Token cost
~579 tokens
SKILL.md length
299 words
Files
1
Skills in repo
28
Repo updated
First seen
Licence
MIT

At a glance

Run repeated build - QA - re0-memo - re0-work cycles while preserving learning and letting code die.

  • Works in 7 steps: Frame the thesis and quality gates. → Build one complete vertical slice. → Drive it through the real surface:… → …
  • Long agentic projects where progress must be measured by quality-cleared templates
  • SKILL.md covers Goal, Workflow, Rules and Verification
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Re0 Loop is an agent skill from LilMGenius/paperthin. Run repeated build - QA - re0-memo - re0-work cycles 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.

Its SKILL.md is about 580 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. The repository describes itself as: Low-level agentic design patterns. Turning old engineering wisdom into reflexes your agent reaches for on its own—on any agent. The licence is MIT.

When your agent uses it

  • Long agentic projects where progress must be measured by quality-cleared templates
  • Reusable modules
  • Eliminated anti-patterns rather than hours spent
  • Features accumulated

Example prompts

  • “/re0-loop”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Frame the thesis and quality gates.
  2. Build one complete vertical slice.
  3. Drive it through the real surface: browser for web apps, HTTP for API contracts, computer-use for desktop apps, and CLI only for…
  4. Run re0-memo to extract lessons, anti-patterns, and next-cycle gates.
  5. Decide whether the next pass iterates in place or uses re0-work; when that call or the next move is unclear, nba reads the cycle state and…
  6. Kill the next plan before build: use the project's adversarial review skill or a human-invoked attack when that skill is user-only.
  7. Version only templates or modules that clear their gates.

What it can do on your machine

Read from SKILL.md and the folder at commit 7d5dc62. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Re0 Loop loads about 579 tokens when it runs. Until then it costs about 75 tokens; SKILL.md has 299 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~75
When it runs · the whole SKILL.md, loaded when a task matches
~579

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from LilMGenius/paperthin at commit 7d5dc62, republished under its MIT licence (© LilMGenius). 299 words, ~579 tokens.

Download SKILL.mdSave it as .claude/skills/re0-loop/SKILL.md (or your agent's skills folder).
name
re0-loop
description
Run repeated build -> QA -> re0-memo -> re0-work cycles 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 the cycle so learning compounds and code accumulation does not masquerade as progress.

Goal

re0-loop keeps a project moving through repeated turns:

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

The unit of progress is not hours, files, panels, or features. It is the count of quality-cleared templates, reusable platform modules, and anti-patterns eliminated in later cycles.

Workflow

  1. Frame the thesis and quality gates.
  2. Build one complete vertical slice.
  3. Drive it through the real surface: browser for web apps, HTTP for API contracts, computer-use for desktop apps, and CLI only for data-shaped artifacts.
  4. Run re0-memo to extract lessons, anti-patterns, and next-cycle gates.
  5. Decide whether the next pass iterates in place or uses re0-work; when that call or the next move is unclear, nba reads the cycle state and returns the single next action.
  6. Kill the next plan before build: use the project's adversarial review skill or a human-invoked attack when that skill is user-only.
  7. Version only templates or modules that clear their gates.

Rules

  • Tests are supporting evidence, not the gate; every turn needs a real-surface proof sized to the artifact.
  • Do not widen before the core loop clears.
  • Do not confuse generated variety with structural variety. If many outputs converge to the same shape, the cycle failed the variety gate.
  • Preserve negative corpus so later cycles can prove the same anti-pattern is gone.
  • Let code die. A restart that preserves the right lessons is progress.
  • Stop a lap when no outside truth enters; add evidence before another internal pass.

Verification

Before finishing a lap:

  1. The real surface was driven and evidence was 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 belongs only to a quality-cleared template or module.

© LilMGenius, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/coil/re0-loop of LilMGenius/paperthin.

Open the folder on GitHubat commit 7d5dc62

Compare with similar skills

Re0 Loop next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Re0 Loop compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Re0 Loop this skillLilMGenius/paperthin1.1k—~579Automated safety check: PassMIT
Vercel Composition Patternssupabase/supabase111k59 repos~726Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
Typescript Advanced Typesrolling-scopes/rsschool-app10k25 repos~4.2kAutomated safety check: PassMPL-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Official

    React composition patterns that scale. An agent skill from supabase/supabase.

    111k GitHub starsUsed in 59 repos~726 tokens
    DevelopmentAuto-check passed
  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 25 repos~4.2k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed

More from LilMGenius/paperthin

All 28 skills in this repo
  • Modelchk

    LilMGenius/paperthin

    Size a task's run before spending it: the cheapest sufficient capability tier (fast, standard, frontier) and the reasoning effort within it, on a neutral scale that binds to whatever levels the…

    1.1k GitHub stars~1.6k tokensUpdated 7 days ago
    Auto-check passed
  • Autobahn

    LilMGenius/paperthin

    Carve guardrail-adjacent items out of scope with safe alternatives before risk-adjacent work starts, then run the safe remainder at full strength in a fresh subagent that only ever sees the carved…

    1.1k GitHub stars~2.1k tokensUpdated 7 days ago
    Auto-check passed
  • Catchup

    LilMGenius/paperthin

    Rebuild the human's lost context on a project from live state, in plain language: what needs them, what changed, what new words mean.

    1.1k GitHub stars~785 tokensUpdated 7 days ago
    Auto-check passed
  • Debloat

    LilMGenius/paperthin

    Compress an artifact that has accreted into bloat — padding, over-qualification, fused sentences, walls of enumeration, adjacent restatement — down to its load-bearing density, meaning preserved.

    1.1k GitHub stars~813 tokensUpdated 7 days ago
    Auto-check passed
  • Factchk

    LilMGenius/paperthin

    Verify reality-grounded claims against external sources in both directions before they ship — could the 'absurd' be real, could the 'obvious' be false or long-established?

    1.1k GitHub stars~717 tokensUpdated 7 days ago
    Auto-check passed
  • Nba

    LilMGenius/paperthin

    Read the live cycle state and return the single highest-leverage next best action, not a menu.

    1.1k GitHub stars~540 tokensUpdated 7 days ago
    Auto-check passed

Categories

Questions about Re0 Loop

What does Re0 Loop do?

Run repeated build - QA - re0-memo - re0-work cycles while preserving learning and letting code die. Re0 Loop is an agent skill from LilMGenius/paperthin. Run repeated build - QA - re0-memo - re0-work cycles while preserving learning and letting code die.

When should I use Re0 Loop?

Re0 Loop fits situations like: long agentic projects where progress must be measured by quality-cleared templates; reusable modules; eliminated anti-patterns rather than hours spent; features accumulated.

How do I install Re0 Loop in Claude Code?

Run `npx skills add LilMGenius/paperthin --skill re0-loop -a claude-code`. Or copy the skill folder (skills/coil/re0-loop in LilMGenius/paperthin) into .claude/skills/re0-loop in your project. Claude Code loads it when a task matches its description.

How do I install Re0 Loop in Codex?

Run `npx skills add LilMGenius/paperthin --skill re0-loop -a codex`. Or copy the skill folder (skills/coil/re0-loop in LilMGenius/paperthin) into .agents/skills/re0-loop in your project. Codex loads it when a task matches its description.

Can I use Re0 Loop in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LilMGenius/paperthin --skill re0-loop -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/re0-loop, .gemini/skills/re0-loop, .github/skills/re0-loop and .opencode/skills/re0-loop in your project.

What does Re0 Loop need to run?

SKILL.md names no scripts, command-line tools or credentials: Re0 Loop is instructions for the agent only.

Does Re0 Loop access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Re0 Loop safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Re0 Loop use?

Re0 Loop is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Re0 Loop use?

About 579 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Re0 Loop?

Skills that share tags, products or a category with Re0 Loop: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 296k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Re0 Loop?

LilMGenius (a GitHub user) maintains it in LilMGenius/paperthin, which has 1,130 GitHub stars. The repository holds 28 skills in this directory. The repository was last updated on October 1, 2026.

Source: LilMGenius/paperthin on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.