Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/lilmgenius/paperthin/re0-loopnpx skills add LilMGenius/paperthin --skill re0-loopgit clone --depth 1 https://github.com/LilMGenius/paperthinWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/lilmgenius/paperthin/re0-loop)<a href="https://agentmods.dev/skills/lilmgenius/paperthin/re0-loop"><img src="https://agentmods.dev/badge/skills/lilmgenius/paperthin/re0-loop.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00060 | $0.00507 |
| Opus 5 | $0.00030 | $0.00253 |
| Sonnet 5 | $0.00012 | $0.00101 |
| Haiku 4.5 | $0.00006 | $0.00051 |
Grade A, and why
re0-loop scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
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.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 45 lines · 60 tokens per session scan A 31eeb611bf1e
re0-loop is a skill published in the GitHub repository LilMGenius/paperthin (1,054 stars, last pushed 16d ago), licensed MIT. It adds 60 tokens to every session and 507 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
mm-init-project
Инициализирует или обновляет проект для mm-системы — создаёт passport.md в корне, копию в Obsidian, dashboard.md, handoff.md (скелет), project-instructions.md для claude.ai. Use when user says "оформи проект", "сделай паспорт", "init project", "/mm-init", "/mm-init-project", "обнови паспорт", "регистрирую проект".…
mm-setup
Онбординг/персонализация mm-системы под конкретного пользователя — спрашивает имя, чем занимается, стек, язык, путь к Obsidian vault, и записывает это в личный gitignored-оверлей config/mm-config.local.json + генерирует персональную копию claude.ai-скилла mm-web-bridge. Use when user says "/mm setup", "/mm onboard"…
mm-update
Самообновление mm-системы из удалённого репозитория. mm раздаётся через git clone + register-skills (не npm), поэтому update = git pull свежего mm из origin/main + повторный register-skills + notice о перезапуске Claude Code. Use when user says "обнови mm", "обнови систему", "/mm update", "update mm", "подтяни свежий…
mm
Диспетчер mm-системы — короткая команда вместо длинных. /mm без аргументов = список всех команд. /mm new = init project, /mm save = save session, /mm next = handoff, /mm prompt = bridge, /mm rules = instructions, /mm check = doctor. Use when user types "/mm" anything OR says "что есть в mm", "какие mm команды"…
content-editor
Writes and edits the portfolio's pages. Reads a brief, follows the style guide, and emits the HTML into public/.
notion-publish
Mirrors the portfolio's pages into Notion after publishing, creating one Notion page per site page via the Notion MCP. Use it from /publish, or when the user asks to sync the site to Notion.