/paperthin:re0-upgradefrom paperthin
Migrates an old skills.sh install to the Claude Code or Codex plugin route, removes stale session-start notices, sets up daily update jobs, and brings the install to the full current catalog with integrity protection for local edits.
Ships in paperthin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Keep one paperthin install per agent, current and loaded once, after you see and confirm the plan.
Each agent runs paperthin from one route that stays current without the user remembering. Claude Code and Codex take the plugin route, which each host's own marketplace update keeps current; OpenCode and every other agent take the skills.sh route, which a daily per-user job keeps current. This skill does the part neither updater does: it moves an old skills.sh install onto the plugin route without leaving every skill loaded twice, removes the session-start notice older releases wired into agent configs, installs or checks the daily job where skills.sh stays, and brings a skills.sh install to the full current catalog, removing the names a rename or retirement left stale and adding the ones the user never installed. An integrity gate protects any locally edited copy before anything replaces or removes it.
It is user-invoked on purpose: it removes skill installs, edits agent configs and registers a scheduled job, so it runs only when the human asks.
This section owns every rename and retirement, in release order; a future one appends its row here. A rename chain resolves to its final current name. A skill removed with no replacement carries retired (no backticks around the word in the table) in the Renamed-to column. Each retired skill has a note in the list under the table saying where its job went, or that nothing a user can install does it. The ssot-check row is user-confirmed history from before v0.2.0 that git cannot verify after a force-push; never 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 |
readchk | readback | 1.0.0 |
reorder | re0-order | 1.0.0 |
prism | retired | 1.0.0 |
feynman | whychk | 1.0.0 |
catchup | recap0 | 1.3.0 |
re0-decide | retired | 1.3.0 |
Where each retired skill's job went:
macrothink fanning out independent reads and reporting where they diverge, and multithink weighing reads already collected by their evidence.Install every skill listed here in the chosen scope, except any the user declines at confirmation. This roster is also how the list output and the installed directories tell current names from unknown ones.
re0, debloat, re0-order, detool, re0-style, dedash, dedot, readback, aim, modelchk, elon, scopechk, hate, macrothink, crossthink, whychk, autobahn, sip, shower, factchk, mandela, demock, deid, re0-git, re0-release, re0-merge, re0-squash, ssotize, ssotize-local, re0-readme, re0-import, labelchk, re0-upgrade, paperthin, re0-workflow, re0-memo, backprop, re0-work, recap0, nba, re0-plan, re0-loop, re0-watch, re0-tutorial, multithink
Run every script from this skill's folder. Each one reads and reports, or makes only the one change its verb names; none decides anything a person must.
Find each agent's route. Ask which agents the user runs if it is not clear, then name the route each one loads paperthin from:
/plugin, Codex /plugins), or its plugin cache holds it (~/.claude/plugins/cache/<marketplace>/paperthin/, ~/.codex/plugins/cache/<marketplace>/paperthin/).npx skills@latest list --global lists paperthin names, or npx skills@latest list does from a project; the canonical copies sit in ~/.agents/skills/ (global) or the project's .agents/skills/.~/.agents/skills itself beside its plugins, so a Codex plugin install plus any global skills.sh copy is both, whichever agent the skills.sh copy was added for.Find the old notice wiring. Run node scripts/upgrade.mjs wiring (--home <dir> reads another home). It reads Claude Code's settings.json, Codex's config.toml and hooks.json, OpenCode's opencode.json and opencode.jsonc (under XDG_CONFIG_HOME when set), and ~/.re0/, and prints JSON naming each file and line that runs session-check.cjs or loads opencode-discovery.js, plus the ~/.re0/ runtime copy. Exit 0 means none, 1 means some was found, 2 a usage error. Nothing else in those files is reported or touched.
Classify a skills.sh install that stays. Pick its scope, global or one project, and carry that scope's flags, written <scope-flags> below (--global or nothing; for one agent, explicit slugs such as --agent claude-code, never --agent '*', from the CLI's supported agents table). Run node scripts/upgrade.mjs classify --skill-md SKILL.md --installed <dir-or-file>, with --installed the scope's skills directory (its folder slugs are read, whatever their frontmatter names) or a text file holding one name per line from the scoped list. Input: this file's Deprecations table and Current catalog, the one source of both. Output: JSON with four groups. stale lists each deprecated name or slug with the final current name its rename chain resolves to and whether that replacement is installed, both null for a retired name; missing lists current names not installed; present lists current names installed; unknown lists names in neither section, left untouched. An installed replacement is present, so only its stale name is removed and the replacement is not added again. Exit 0 means nothing is stale or missing, 1 means something is, 2 means a usage error or a table it cannot read confidently (a malformed row, a rename loop, a chain ending outside the catalog, a line holding more than one name); on 2, stop and report the ambiguity. If the scope's list shows no paperthin skill while a catalog folder sits in its directory, retry once, then report the CLI failure and stop; a flaky read is not an empty install.
Check the daily job wherever a global skills.sh install exists: node scripts/schedule/schedule.mjs status. It looks up one job by name, the one this script installs by default or the one --name gives, prints JSON with whether the OS scheduler holds it, its next run, the log path and the last run's start, end, exit code and the stale names it left installed, and exits 0 when the job is registered, 1 when it is not. It sees no job under any other name, so whatever it exits, also read the scheduler's own list (Task Scheduler, ~/Library/LaunchAgents, systemctl --user list-timers with systemctl --user cat on each timer's service, crontab -l) for every job that runs skills update or this script, and report each with the command it runs. The command tells whose a job is. One that runs this script's run verb is this skill's job, whatever its name; the --skip names in that command are the catalog skills the user declined for the global install, and one a later release renamed holds back its replacement. Only this skill's job is passed by its name to status --name and uninstall --name, since on Windows and systemd those verbs act on any job of that name. Any other job is the user's to keep or remove. Two or more jobs found here for the global install run the update more than once a night, so report them as a double for the user to resolve by keeping one. The job covers the global scope only; a project-scope install is kept current by running this skill.
Print the plan before any change, per agent and in this order: its route now and after; move to plugin (the skills.sh names to remove, and whether the whole install goes or only some agents' links); remove old wiring (each file and line from step 2, and ~/.re0/); refresh the skills.sh install that stays (remove the stale names, each one the table marks retired shown with its note on where its job went; add (new to you), every missing name in full, replacements for renamed names included; declined before, each missing name the --skip of this skill's kept job holds back, which stays out of the add group; refresh the present names; untouched, the unknown names); daily job (install this skill's job, keep it, reinstall it where the declined skills come to differ from those its --skip names hold back, or keep another job step 4 found in its place; a double step 4 found, and the one job the plan keeps of it; when no skills.sh install stays, uninstall each job this script installed and report any other for the user to remove); execution order as the steps below run it. Where the plan installs or keeps this skill's job, it says what each run does: it updates every global skill, other packages' included, and adds every catalog skill not installed except those its --skip names hold back, but removes none, so a name a later release renames or retires stays installed until this skill runs again. Where it keeps another job step 4 found, it says what that job's command does, and that neither status nor the stale-name log covers it.
Confirm. Get explicit confirmation before any removal, install, update, config edit or job change. Recommend one route per agent, the full catalog and the daily job. The user decides: approve, decline the whole run, decline individual catalog skills or take back one declined before, or decline any one change. A declined skill stays out of the add group and, for the global install, out of every run of this skill's job (step 10); of a double step 4 found, the user picks the one job to keep. Reprint the parts of the plan a choice changes before approval. Nothing mutates before approval.
Move onto the plugin route, where approved:
/paperthin:<skill>); invoke one skill explicitly on an input its Workflow handles and confirm it runs to its own Verification. Until that holds, keep the skills.sh copies and report the move pending, with the resume step: reload, verify, remove.node scripts/schedule/schedule.mjs uninstall, with --name for one step 4 found under another name), which removes that job and nothing else, and report any other update job for the user to remove; then remove every installed catalog and stale name: npx skills@latest remove --global <names...> --yes. If another agent still loads paperthin through skills.sh, remove only the moved agents' links (npx skills@latest remove --global --agent <slug...> <names...> --yes) and keep the job; Codex reads the canonical directory itself, so a Codex moved while another agent keeps the global skills.sh install still loads twice. Say so and let the user choose which agent gives way.Remove the old wiring, where approved. Back up each config beside itself (<file>.pre-re0-unwire.bak) before editing it, then remove the entry holding each hit and nothing beside it: in Claude Code's settings.json the hook object whose command runs session-check.cjs, and its SessionStart group if that leaves it empty; in Codex's config.toml the [[hooks.SessionStart]] table and its [[hooks.SessionStart.hooks]] lines whose command runs session-check.cjs (in hooks.json, the same object as Claude Code's); in OpenCode's config the plugin array element naming opencode-discovery.js. Remove ~/.re0/ only when it holds nothing but what older releases wrote there (catalog.cjs, session-check.cjs, opencode-discovery.js, last-notice.json); otherwise report what else it holds and leave it. Never edit another tool's hook. Rerun step 2; it must exit 0.
Refresh the skills.sh install that stays, with step 3's scope flags and only the commands the plan named:
npx skills@latest add LilMGenius/paperthin <scope-flags> -s <missing...> --yes, each catalog name with its own -s.npx skills@latest update <scope-flags> <present...> --yes.SKILL.md with the right frontmatter name and Goal, Workflow, Rules and Verification sections; no add or update failure remains for it. Reload as in step 14, observe the host resolve the new name, then invoke the replacement explicitly on one input its Workflow handles and confirm it runs to its own Verification. Availability plus that run close "new works"; files on disk alone do not. If a reload or fresh session is unavailable, report the migration pending and keep the stale name, recording in the handoff the scope, the stale and replacement pair, and the resume step. A retired name has no replacement, so it has no such step.npx skills@latest remove <scope-flags> <stale...> --yes.Set the daily job as the plan left it, where a global skills.sh install stays.
node scripts/schedule/schedule.mjs install, with one --skip <name> per catalog skill declined for the global install and --name for this skill's job under another name. Install replaces the job of the name it is given. Then run status again, which must show the job registered with its next run at the coming local 00:00.node scripts/schedule/schedule.mjs uninstall, with --name for one under another name), and report each other job beside it for the user to remove.npx -y skills@latest update -g -y), then adds each skill in the latest release's Current catalog that is neither installed nor named by a --skip, since update never adds a skill shipped after the install, and adds nothing where no paperthin skill is installed. It removes nothing: update warns that a skill was deleted upstream, keeps it and still exits 0, so after a release renames or retires a skill, the old name stays installed and loading, beside its replacement wherever the job added one, until this skill runs again; each run's log, and status after it, names every such stale name. It writes one log of its last ten runs and exits non-zero on a failure, so status and the scheduler both show it. A missed midnight runs at the next login or wake; a Linux user timer runs only while the user's session is up, unless lingering is on.Pass the integrity gate before any remove, update or reinstall of a skills.sh copy. Compare the installed file with the published revisions of the independently pinned upstream LilMGenius/paperthin by running node scripts/upgrade.mjs integrity --installed-file <installed SKILL.md> --skill <slug> --lock <lock> --fetch once per name.
~/.agents/.skill-lock.json, or $XDG_STATE_HOME/skills/.skill-lock.json when that variable is set; a project's is skills-lock.json at its root. The script accepts a lock entry only when it names that upstream (its source, and its source URL, which a project lock leaves out for a GitHub source) and its skill path is skills/<perspective>/<slug>/SKILL.md with the checked slug, a catalog perspective (breadth, depth, coil, mesh), and no traversal or absolute component.https://api.github.com/repos/LilMGenius/paperthin/releases, skips drafts, and fetches the validated path from https://raw.githubusercontent.com/LilMGenius/paperthin/<tag>/<path> at each published tag, newest first, until the bytes match; a 404 means that tag does not hold the path. Timestamps order the candidates and never exclude one, so the walk is complete only when every tag answered.result, its reason, the validated path and each tag walked with its status. A match is clean, exit 0. A full walk with no match is divergent-or-unknown, exit 1. A missing entry, unexpected source, invalid path, unreadable lock or release list, failed fetch or incomplete walk is cannot-compare, exit 1, never clean. Exit 2 is a usage error. No hash in the lock (skillFolderHash, computedHash) is read, and integrity is never inferred from one.Handle failures. If add or update reports a failed skill, retry that skill alone with the same scope flags; any mutation of an installed file still passes the integrity gate. If it fails again, get the user's confirmation by skill name, then remove and reinstall that same name with the same remove and add -s forms, behind the integrity gate. If the reinstall fails, report the skill absent. A replacement or plugin route that fails to reach "new works" cancels the removal paired with it: keep the old copy and report the move stopped with the reason, never retried as a removal. An outstanding host reload is pending, not a failure. A job install or status that exits 1 is reported with its message; never report the job as running without a status that shows it registered.
Verify:
status shows this skill's job registered, its --skip holding back every skill declined for the global install, or the report names the job kept from step 4, and one job of each double remains or the rest are reported for the user to remove; where none stays, no job this script installed remains, under any name.Report any failure as incomplete, never as a successful upgrade.
Explain pickup. Claude Code applies changed SKILL.md content automatically in this session; run /reload-skills in any other running Claude Code session that shares the install, and /reload-plugins after a plugin change. Codex has no in-session reload: restart it, or codex resume. For other agents, restart if the new behavior does not appear.
Offer the star, after successful verification and after reporting the upgrade outcome. Ask once through the host's structured user-question tool: "Star LilMGenius/paperthin on GitHub using your authenticated gh account?" with the options "Star repository" then "Skip", and explain that starring is optional and skipping leaves the upgrade unchanged.
--yes never do.gh auth status --hostname github.com. If gh is missing or auth fails, skip, and offer gh auth login --hostname github.com and the star command for the user to run. Never log in, read tokens or switch API clients. On decline, offer neither command nor a login nudge.gh api --hostname github.com -X PUT user/starred/LilMGenius/paperthin --silent once; --silent hides only the response body. On success report "star is set", never "newly added"; report failures separately. Report the star outcome on its own, after the upgrade report and apart from upgrade success. Star outcomes never block or undo the upgrade.SKILL.md frontmatter name already says the replacement; remove it by the deprecated slug with skills remove.skills remove after confirmation. The one raw deletion is ~/.re0/, and only when it holds nothing but the files older releases wrote there.skills add --all or a bare skills add LilMGenius/paperthin. Give each name its own -s, so the Current catalog defines the install rather than the broader meaning of --all.skills update from this skill; pass only the present paperthin names from the plan. The daily job's global update is the job's own, set at install.schedule.mjs uninstall removes it and nothing else.gh repo star is not a real gh subcommand; star only through the consent-gated REST command in step 15.With nothing to move, remove, add or install, the plan shows only the refresh, declined-before and untouched groups and the daily job's state, and the run still verifies; a declined skill still counts as missing to classify. A declined run changes nothing. Before reporting, confirm:
node scripts/upgrade.mjs wiring exits 0, or each remaining hit is reported with its reason, and every edited config has its .pre-re0-unwire.bak beside it.--skip in the command of this skill's job wherever that job stays.node scripts/schedule/schedule.mjs status shows this skill's job registered with its next run at local 00:00, or the report names the job the plan kept from step 4 and what its command does; of a double step 4 found, no other job of this skill's remains beside the one the user kept, and every other job beside it is reported for the user to remove. Where none stays, status exits 1 for every name this script installed a job under, and any other update job is reported for the user to remove.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
skills-migration, plugin-setup, install-upgrade, catalog-sync
npx claudepluginhub lilmgenius/paperthin --plugin paperthin45 skills in this plugin
/aimWhen data lands with a thin ask (files, a repo, a paste, a chat scrollback), read it and propose what the user is trying to do with it for them to confirm. Use the moment material arrives without a fully-formed ask, or when the ask reads thinner than the data suggests./autobahnCarve guardrail-adjacent items out of scope with safe alternatives before risk-adjacent work starts, then run the safe remainder at full strength in a fresh subagent that only ever sees the carved prompt, never the risky input. Use when a task includes stealth, scraping, privacy, IP, policy, licensing, security, or other safety-adjacent material that could be silently dropped, over-elaborated, or needlessly diluted. Fires on the impulse, not only the topic: the moment you notice yourself about to hedge, soften, silently skip, or brace for a refusal, carve before you execute./backpropFeed what a finished cycle taught back through the sources that produced it: measure the lesson, question the requirements it touches, land it in one owner, refresh that owner to a clean v0, cut its padding and realign its listings, each pass only when it applies. Use after a correction, a request the user had to repeat, a failed or disappointing cycle, or a cleanup pass over a repository's docs, rules or skills, when the lesson has to change the sources rather than sit in a memo./crossthinkWhen every option on the table is a variation of one route or waits on the same sign-in, approval, person or dependency, list the options that frame already gives, then map working mechanisms from five or more distant domains onto the problem and report the ones the first list lacked, each with where it breaks. Use when work is stuck inside one frame, when the user asks how another field or industry would solve it, or asks for an analogy that actually transfers. Not for re-reading a decision at a larger scale (macrothink), listing options when no single frame is stuck, or checking claims (factchk)./debloatCut an artifact that has accreted into bloat, prose or code, to its load-bearing density, meaning and behavior preserved. In prose: padding, over-qualification, fused sentences, walls of enumeration, adjacent restatement. In code, behind green tests: comments that restate the code, commented-out code, vague TODOs, dead code, debug leftovers, guards on guaranteed values, pass-through wrappers, single-use helpers, and nesting a guard clause flattens. Use when the user names an artifact, section, file list, or diff that is correct and current but verbose, patched-over, or slop-filled and wants it tight without a full rewrite; when they ask to clean up, deslop, or remove AI slop from code or recent changes; or when a pipeline the user invoked passes that scope on. Acts only inside that scope./dedashRemove the em and en dashes an agent drops into running prose where a comma, colon, parentheses or a sentence break belongs, from a user-owned scope, keeping hyphens, ranges and dashes that separate a label from its text.Other plugins' skills for the same job