Paperthin is a collection of low-level design patterns that coding agents can apply as repeatable checks and actions during software work. It is for people using agents such as Claude Code, Codex, Cursor, or other supported tools, and its catalogue entries package the patterns as skills, an instruction, and a plugin.
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 skills add LilMGenius/paperthin --skill re0-workgit 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-work)<a href="https://agentmods.dev/skills/lilmgenius/paperthin/re0-work"><img src="https://agentmods.dev/badge/skills/lilmgenius/paperthin/re0-work/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/lilmgenius/paperthin/re0-work"><img src="https://agentmods.dev/badge/skills/lilmgenius/paperthin/re0-work.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk fail
- NVIDIA SkillSpector pass
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.1 | $0.00063 | $0.01845 |
| Opus 5.5 | $0.00025 | $0.00738 |
| Sonnet 5.5 | $0.00013 | $0.00369 |
| Haiku 4.5 | $0.00006 | $0.00185 |
Grade A, and why
re0-work 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 14d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- re0-work — 100% identical
How it starts
The opening of the file, as written. The whole thing — 52 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Restart a project or artifact at v0, carrying forward only what the previous cycle proved.
Goal
Restart from what the previous cycle proved. Keep the proven contracts, schemas, vocabulary, real-surface tests, quality gates and negative corpus. Leave behind accidental architecture, scaffold, explanatory UI, debug panels, shallow generated content, and code whose only value was learning what not to do. Reach for it when the foundation is wrong, accumulated code is misleading progress, or a new pass should learn from the old one without inheriting its accidental architecture.
Workflow
- Read the
re0-memoof the cycle being replaced, then the current plan, local domain notes, QA evidence, and the user complaint that triggered the restart, if any. A restart with no memo measuring where the old cycle stands stops here and asks for one, since a restart aimed without that measurement repeats the old plan's picture of itself. - Judge restart scope from several independent cold reads of the old work (for example reviewers on different models or with different briefs), and decide it per layer: a layer whose responsibilities sit in the wrong places restarts; a layer that proved itself carries forward verbatim. Before reading an outcome of zero as a fact about the code, check whether any input reached that step; a step nothing reached says nothing about its code. Scope is also judged in time. A span of work that ran without the harness, hook or gate it depends on stays and gets one more pass under that harness: name the commit where the gap began with its evidence, keep every correction of fact and mechanical edit the repository's gates and CI passed, and redo only an artifact that set a new plan or direction, by a session that never read the first, laid beside it.
- Name what to preserve: contracts, schemas that survived QA, quality gates, vocabulary, reusable services, real-surface tests, negative corpus.
- Name what to discard: explanatory UI, debug panels, scaffold, shallow generated content, accidental abstractions, code whose only value was learning what not to do. A module the brief mandates is never discarded for being unexercised; it carries forward with the phase that first exercises it. When the mechanism behind a mandated requirement is blocked, discard the mechanism and plan another; the requirement stays until its owner removes it.
- For a live system (a service, deployment or scheduled job), build v0 beside it on its own orphan branch and worktree. The old line takes only the fixes the live service needs, each mirrored into the v0 plan. v0 takes over only after a rehearsal on a copy of live data, a data migration the old code can still open, and a rollback drill that moves the main line back and forward again, all inside a window where the service can afford a missed run.
- To replace a repository's main line, preserve the old main history on the archive branch
archive/<YYYYMMDD-HHMMSS>, named from the old tip's own commit time, never the wall clock. Snapshot the gitignored rotating ledgers outside the checkout: the script's defaults are the paths one loop harness writes (.omo/evidence/*/ROUNDS.md,.omo/ulw-execute/ledger.jsonland.omo/ulw-loop/*/ledger.jsonl), and--ledgeradds the ones this repository keeps. Where the repository keeps loop state out of every commit, or is public, the snapshot is the ledgers' address and the archive branch is the old tip with no commit of its own (--snapshot-only). Otherwise copy the snapshot back into the checkout while the archive branch is checked out and force-add it there, in that branch's final ledger commit before pushing, so negative corpus and ledger share one address. Reject a tracked ledger underdocs/, since it would make a gitignored working file tracked on the live branch. - Prepare the v0 line in the shape the repository's commit contract wants: a separate directory that becomes one root commit (
--prepared), or, where the contract commits per unit, an orphan branch with one commit per unit (--prepared-branch). Carry forward only the preserve set and the ignore rules, without.gitor the archive's ledger snapshot. Keep discarded tracked material on the archive branch; move any untracked negative corpus to an archive location before replacing the checkout, and never delete it. Choose the snapshot directory, the intended remote and an unused temporary orphan branch name, and resolve pending checkout changes, branch collisions, or a remote main that differs from the recorded old tip before preparing the handoff. Then run, from this skill's folder:
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 14d ago Changed c53ba71ce7d3
- 21d ago Changed · +14 lines 0dffc73a7c74
- 3mo ago First seen · 38 lines · 63 tokens per session scan A 38ef29777e17
re0-work is a skill published in the GitHub repository LilMGenius/paperthin (1,481 stars, last pushed 5d ago), licensed MIT. It adds 63 tokens to every session and 1,845 once invoked, about $0.0003 per session on Opus 5.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.
re0-work compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| re0-workLilMGenius/paperthin | Skill | 1.5k | 5d ago | MIT | A | 63 | Claude Code, Codex |
| modular-skillsathola/claude-night-market | Skill | 358 | yesterday | MIT | A | 24 | Claude Code |
| evaluate-skilledonadei/caliper | Skill | 239 | 2d ago | MIT | A | 70 | Claude Code |
| context-boundary-reporteredonadei/caliper | Skill | 239 | 2d ago | MIT | A | 20 | Claude Code, Codex |
| alertedonadei/caliper | Skill | 239 | 2d ago | MIT | A | 20 | Claude Code, Codex |
| grill-skilledonadei/caliper | Skill | 239 | 2d ago | MIT | A | 58 | Claude Code |
| hillclimb-skilledonadei/caliper | Skill | 239 | 2d ago | MIT | A | 66 | Claude Code |