re0

re0 is a skill for Claude Code, Codex from LilMGenius/paperthin. It costs 70 tokens per session (676 once invoked), scanned A, original, MIT.

A workflow for refreshing an existing artifact, such as a document, specification, or other saved work, into a cleaner and more current version.

In plain words
What is it for?
Use it to clean up, synchronize, deduplicate, rewrite, or update an artifact after it has gone through several revisions.
Why use it?
It removes stale details, duplicated process notes, and leftover scaffolding while keeping related artifacts aligned.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the paperthin plugin — 45 skills shipped together

Good fit Use it to clean up, synchronize, deduplicate, rewrite, or update an artifact after it has gone through several revisions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lilmgenius/paperthin/re0
About the project

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.

LilMGenius/paperthin · 1,481 stars · on GitHub · paperthin.ai

Install

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.

Any agent
npx skills add LilMGenius/paperthin --skill re0
Clone the repo
git clone --depth 1 https://github.com/LilMGenius/paperthin

Made for: Claude Code, Codex.

Or install paperthin, the plugin that ships this one along with the rest of its 45 skills.

Wrote 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.

agentmods badge for re0

README.md
[![agentmods](https://agentmods.dev/badge/skills/lilmgenius/paperthin/re0/github.svg)](https://agentmods.dev/skills/lilmgenius/paperthin/re0)
Your own site
<a href="https://agentmods.dev/skills/lilmgenius/paperthin/re0"><img src="https://agentmods.dev/badge/skills/lilmgenius/paperthin/re0/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.

agentmods 80×15 button for re0

Your own site · 80×15
<a href="https://agentmods.dev/skills/lilmgenius/paperthin/re0"><img src="https://agentmods.dev/badge/skills/lilmgenius/paperthin/re0.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 676 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 6 Jul 2026
  • Snyk pass 6 Jul 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00070 $0.00676
Opus 5.5 $0.00028 $0.00270
Sonnet 5.5 $0.00014 $0.00135
Haiku 4.5 $0.00007 $0.00068

Measured 21d ago against content hash 09ba34e2d782, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

re0 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 21d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/unwrap.mjs, scripts/unwrap.test.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • re0 — 100% identical
skills/depth/re0/SKILL.md · 40 lines

How it starts

The opening of the file, as written. The whole thing — 40 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Refresh the target artifact as if it were the first clean version.

Goal

Make the artifact lighter, more current, and more accurate. It should read as a clean version without changelog language, cleanup notes, or patches over an older draft.

Workflow

  1. Identify the target from the user's request or active context.
  2. Read it end to end before editing.
  3. Check nearby artifacts that must stay aligned.
  4. Remove scaffolding residue, stale deltas, duplicated process noise, deprecated information, and over-specific history.
  5. Fold durable lessons into the place they should have lived from the start.
  6. Rewrite instead of appending when appending would preserve noise.
  7. Preserve useful voice and structure; simplify everything else.
  8. Smooth prose: give an interrupting parenthetical its own clause or cut it, keep nearby repeated words or points once, and remove padding that adds no meaning.
  9. Smooth source text: decide whether the artifact's paragraphs and list items should each sit on one source line, matching sibling formatting. Where they should, run node scripts/unwrap.mjs <paths...> [--json] [--write] from this skill's folder: it lists each hard-wrapped paragraph or list item (file, start line, line count), exits 3 when it finds any, and with --write joins them only after proving the words and every fenced block unchanged. Make pointers to named sections or files followable, using links where supported.
  10. Re-read the result and cut again.

Rules

  • Refresh to the current best v0. Within the de- family, remove shape-class machine-writing tells by rewriting across sentence boundaries. Never compress for its own sake or edit punctuation choice alone; the punctuation pass runs after any rewrite. Report an unsourced claim as an observation; never delete it or invent a source.
  • A pass that finds nothing to genuinely improve changes nothing.
  • Prefer editing existing sections over adding new ones.
  • Convert "what changed" into "what is true now".
  • Keep only details that improve future execution, accuracy, or recall.
  • Do not leave old/new traces unless the artifact is explicitly a changelog.
  • Fix machine-clear residue and surface judgment calls. Never auto-resolve ambiguity or "fix" a deliberate look-alike.
  • Repair from the canonical or sibling source of truth, not the damaged surface. Edit safely: assert the target exists and report a MISS rather than a silent no-op; read and write files as UTF-8 (PYTHONUTF8=1 for Python), replace positional targets per occurrence rather than by blanket sweep, and script large structural moves.
  • Do not create extra files unless the user asks.

Read the full file on GitHub · 40 lines

Files

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.

Changes

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.

  1. 21d ago Changed · +1 lines 09ba34e2d782
  2. 3mo ago First seen · 39 lines · 70 tokens per session scan A 8f418bc55bbb

Subscribe to this mod's changes

re0 is a skill published in the GitHub repository LilMGenius/paperthin (1,481 stars, last pushed 5d ago), licensed MIT. It adds 70 tokens to every session and 676 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.

Related

re0 compared with skills from other repositories

re0 next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
re0LilMGenius/paperthinSkill1.5k5d agoMITA70Claude Code, Codex
modular-skillsathola/claude-night-marketSkill358yesterdayMITA24Claude Code
evaluate-skilledonadei/caliperSkill2392d agoMITA70Claude Code
context-boundary-reporteredonadei/caliperSkill2392d agoMITA20Claude Code, Codex
alertedonadei/caliperSkill2392d agoMITA20Claude Code, Codex
grill-skilledonadei/caliperSkill2392d agoMITA58Claude Code
hillclimb-skilledonadei/caliperSkill2392d agoMITA66Claude Code