re0

re0 is a skill for Claude Code, Codex from LilMGenius/paperthin. It costs 70 tokens per session (599 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

Part of the paperthin plugin — 28 skills shipped together

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.

agentmods
npx agentmods add skills/lilmgenius/paperthin/re0
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 28 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.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.svg" alt="Measured on agentmods" 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 599 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00070 $0.00599
Opus 5 $0.00035 $0.00300
Sonnet 5 $0.00014 $0.00120
Haiku 4.5 $0.00007 $0.00060

Measured 5d ago against content hash 8f418bc55bbb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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.

skills/depth/re0/SKILL.md · 39 lines

How it starts

The opening of the file, as written. The whole thing — 39 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

The result must be lighter, more current, and more accurate than the input. It should not read like a changelog, cleanup note, or patch over an older draft.

Workflow

  1. Identify the target artifact from the user's request or the active context.
  2. Read the target artifact end to end before editing.
  3. Check nearby artifacts that must stay aligned with it.
  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 the artifact's useful voice and structure; simplify everything else.
  8. Smooth prose noise: fold a parenthetical that interrupts a sentence or list into its own clause or cut it, keep a word or point repeated within reach of itself only once, and unwind padding that adds length but not meaning.
  9. Smooth source noise: unwrap a hard line break that splits a sentence mid-flow so each paragraph or list item lives on one source line, matching how sibling artifacts format theirs; make a plain-text pointer to a named section or file followable, a link where the medium supports one; leave code, tables, and quoted material as formatted.
  10. Re-read the result and cut again.

Rules

  • 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; surface judgment calls — never auto-resolve an ambiguity or "fix" a deliberate look-alike.
  • Repair from the source of truth — the canonical or sibling artifact, not the damaged surface — and mutate with edit-safety: assert the target exists (report a MISS, never a silent no-op), edit unicode-safe (PYTHONUTF8=1), 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 · 39 lines

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. 5d 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,060 stars, last pushed 17d ago), licensed MIT. It adds 70 tokens to every session and 599 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.

Related

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", "обнови паспорт", "регистрирую проект".…

mworldorg/markdown-memory · 200 tokens

content-editor

Writes and edits the portfolio's pages. Reads a brief, follows the style guide, and emits the HTML into public/.

crystian/skill-map · 28 tokens

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.

crystian/skill-map · 52 tokens

check-links

Validates the portfolio's internal links before publishing. Walks every generated page and reports any link whose target is missing.

crystian/skill-map · 28 tokens

publish

Publishes the portfolio: runs the link check, hands off to the content editor for any last fixes, then follows the deploy runbook.

crystian/skill-map · 31 tokens

mm-setup

Онбординг/персонализация mm-системы под конкретного пользователя — спрашивает имя, чем занимается, стек, язык, путь к Obsidian vault, и записывает это в личный gitignored-оверлей config/mm-config.local.json + генерирует персональную копию claude.ai-скилла mm-web-bridge. Use when user says "/mm setup", "/mm onboard"…

mworldorg/markdown-memory · 152 tokens