re0-loop
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.
Install
npx skills add https://github.com/lilmgenius/paperthin --skill re0-loopSKILL.md
Run the cycle so learning compounds and code accumulation does not masquerade as progress.
Goal
re0-loop keeps a project moving through repeated turns:
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
- Frame the thesis and quality gates.
- Build one complete vertical slice.
- 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.
- Run
re0-memoto extract lessons, anti-patterns, and next-cycle gates. - Decide whether the next pass iterates in place or uses
re0-work; when that call or the next move is unclear,nbareads the cycle state and returns the single next action. - Kill the next plan before build: use the project's adversarial review skill or a human-invoked attack when that skill is user-only.
- 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:
- The real surface was driven and evidence was captured.
- The re0-memo names at least one lesson, anti-pattern, or gate that affects the next pass.
- The keep/iterate/re0-work decision is explicit.
- Any version label belongs only to a quality-cleared template or module.
Related skills
find-skillsvercel-labs3.6MHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.handoffmattpocock883KCompact the current conversation into a handoff document for another agent to pick up.microsoft-foundrymicrosoft618KBuild, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and resources end to end. USE FOR: foundry, azd ai agent, azd provision/deploy, hosted agent scaffold/develop/run/deploy/troubleshoot, prompt agent create, create agent, update agent, add tool to agent, invoke agent, agent.yaml, agent insights, pull agent insights, evaluate agent, batch eval, continuous eval, continuous monitoring, agent CI/CD, optimize prompt, improve prompt, prompt optimizer, optimize agcavemanjuliusbrussee544KUltra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".