re0-upgrade

re0-upgrade is a skill for Claude Code, Codex from LilMGenius/paperthin. It costs 47 tokens per session (2,578 once invoked), scanned B, original, MIT.

A workflow for updating an installed set of paperthin skills to match its current catalogue. It identifies renamed skills, missing skills, and skills that need refreshing, then shows the proposed changes for confirmation.

In plain words
What is it for?
It helps review and confirm a full skill-set upgrade, including retiring renamed items, adding missing ones, and refreshing existing ones.
Why use it?
It prevents an installation from quietly becoming incomplete or outdated as the catalogue changes.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also reads ~/.codex or $CODEX_HOME. Also seen: reads .claude/ paths; mentions Claude Code; mentions Codex.

Part of the paperthin plugin — 28 skills shipped together

Good fit It helps review and confirm a full skill-set upgrade, including retiring renamed items, adding missing ones, and refreshing existing ones.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lilmgenius/paperthin/re0-upgrade
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,086 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-upgrade
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-upgrade

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lilmgenius/paperthin/re0-upgrade"><img src="https://agentmods.dev/badge/skills/lilmgenius/paperthin/re0-upgrade.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,578 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 7 Sept 2026
  • Snyk fail 7 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 13 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Agent Snooping · line 66
    Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.
    Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
  • high Agent Snooping · line 66
    Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.
    Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
  • medium MCP Rug Pull · line 31
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 38
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 39
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 42
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 43
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 58
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 59
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 60
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 61
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 62
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 78
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00047 $0.02578
Opus 5 $0.00023 $0.01289
Sonnet 5 $0.00009 $0.00516
Haiku 4.5 $0.00005 $0.00258

Measured yesterday against content hash 3edfde89cb6f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade B, and why

re0-upgrade scanned grade B with 1 finding 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 yesterday.

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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- **Claude Code** (`~/.claude/settings.json`) and **Codex** (`~/.codex/config.toml`): add a `SessionStart` command for `~/.re0/session-check.cjs` only if none already runs `session-check.cjs` by **any** path. Keep pre-re
skills/breadth/re0-upgrade/SKILL.md · 97 lines

How it starts

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

Converge an install on the full current paperthin catalog in one step: retire renamed skills, add every skill not yet installed, refresh the rest, behind one confirmation.

Goal

Upgrade the chosen scope to the full current catalog, not just the originally installed subset. Show the reconciliation plan and name every new-to-user skill before confirmation; users who prefer a narrower install can decline.

Deprecations

The rename SSOT, in release order. Append future renames here; resolve chains to their final current names. The ssot-check row is user-confirmed pre-v0.2.0 history, unverifiable in git after a force-push; do not invent its date or tag.

Deprecated Renamed to Since
ssot-check ssotchk pre-v0.2.0 history (force-pushed; user-confirmed)
tasting sip 0.6.0
redteam hate 0.7.0
scratch re0-work 0.8.2
retro re0-memo 0.11.0
flywheel re0-loop 0.11.0
ssotchk ssotize 0.11.0
ppt-upgrade re0-upgrade 0.11.0
ppt-release re0-release 0.11.0

Current catalog

Install every skill below in the chosen scope, except those declined at confirmation. Use this roster to distinguish current from unknown names in npx skills list and installed directories.

re0, readchk, aim, modelchk, hate, macrothink, feynman, autobahn, reorder, detool, dedash, debloat, shower, factchk, mandela, sip, re0-git, re0-release, re0-merge, ssotize, re0-upgrade, re0-plan, re0-loop, re0-memo, re0-work, catchup, nba, prism

Workflow

  1. Choose one install scope for the whole run; ask if unspecified. A wrong scope reads the wrong install location.
    • Global: npx skills list --global, inspect ~/.agents/skills/<skill>/SKILL.md, and pass --global to every remove, add, and update.
    • Project: npx skills list from that project, inspect its installed skill directory if present, and omit --global.
    • Exact agent: use explicit slugs such as --agent claude-code, never --agent '*', including removals. Without agent scoping, use global or project scope.
  2. Check for a shadow install before classifying. If paperthin is loaded but the chosen scope's list reports zero paperthin skills, do not conclude the whole catalog is missing. Check for any Current-catalog directory in that scope's managed footprint (~/.agents/skills/ globally, e.g. ~/.agents/skills/re0).
    • Directory present: re-check scope and retry the list (npx skills list --global globally). If it still contradicts the footprint, report the CLI failure and stop; a flaky read is not an empty install.
    • Directory absent, paperthin loaded: report a shadow install, commonly a clone loaded as a Claude Code plugin (/paperthin:<skill>). The CLI cannot see, update, or remove it. Offer a managed reinstall via npx skills add in the chosen scope (recommended for future upgrades and discovery notices), or keep the clone untouched and CLI-invisible, with each upgrade re-flagging it. Await the user's choice; never delete the clone or install a second copy on your own.

Read the full file on GitHub · 97 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. yesterday Changed · -7 lines 3edfde89cb6f
  2. 9d ago First seen · 104 lines · 47 tokens per session scan B d7add93a668f

Subscribe to this mod's changes

re0-upgrade is a skill published in the GitHub repository LilMGenius/paperthin (1,086 stars, last pushed 2d ago), licensed MIT. It adds 47 tokens to every session and 2,578 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.