debloat

debloat is a skill for Claude Code from LilMGenius/paperthin. It costs 66 tokens per session (751 once invoked), scanned A, original, MIT.

A writing tool that shortens prose that has become padded, repetitive, or difficult to scan while keeping its meaning. It focuses on tightening existing text rather than rewriting it from scratch.

In plain words
What is it for?
Editing documentation, specifications, notes, and other prose that says the right things but uses too many words.
Why use it?
It removes unnecessary qualifiers, repeated points, fused sentences, and long lists from otherwise correct writing. This makes the important information easier to find.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the paperthin plugin — 28 skills shipped together

not rated 1.3krepo +126 today A scan Socket: passSnyk: passSkillSpector: pass 66 tokens original MIT

Good fit Editing documentation, specifications, notes, and other prose that says the right things but uses too many words.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lilmgenius/paperthin/debloat
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,334 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 debloat
Clone the repo
git clone --depth 1 https://github.com/LilMGenius/paperthin

Made for: Claude Code.

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 debloat

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lilmgenius/paperthin/debloat"><img src="https://agentmods.dev/badge/skills/lilmgenius/paperthin/debloat.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 751 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 21 Jul 2026
  • Snyk pass 21 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.00066 $0.00751
Opus 5.5 $0.00026 $0.00300
Sonnet 5.5 $0.00013 $0.00150
Haiku 4.5 $0.00007 $0.00075

Measured 1mo ago against content hash dfc15de621d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

debloat 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 1mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/depth/debloat/SKILL.md · 38 lines

How it starts

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

Cut a bloated artifact to its load-bearing minimum: same meaning, fewer words.

Goal

An artifact that is correct and current can still rot a second way: it accretes. Each edit bolts a qualifier onto the nearest sentence, a rule gets restated wherever it might apply, an enumeration grows into a wall — until a reader must study what they should skim. debloat compresses that bloat to its load-bearing density: every claim that carries weight survives, every word that does not is cut. It is not a rewrite (re0), a dedup (ssotize), or a tell-remover (dedash, detool) — it is a density pass on prose that is otherwise fine.

Workflow

  1. Pin the artifact and read it end to end; note in one line what each section must convey — the load-bearing content that has to survive.
  2. Find the bloat, not the content: padding that adds length but not meaning; a qualifier or parenthetical the sentence holds without; a fused sentence carrying three ideas; a wall of enumeration where a rule plus a short list would do; a point restated within reach of itself; litigation-history (why-we-decided-it) where the rule alone suffices.
  3. Compress in place: cut the padding, split the fused sentence or drop its dead clause, collapse the wall, keep a repeated point once. Move nothing to another artifact and re-derive nothing.
  4. Preserve every load-bearing claim — a rule, fact, constraint, or example that carries weight. If cutting a word would lose one, keep the word.
  5. When the bloat is really duplication across artifacts, or the content has drifted stale, stop and name it: hand duplication to ssotize and drift to re0. debloat only tightens.
  6. Re-read cold and cut again — the first pass always leaves some.

Rules

  • Cut words, never load-bearing claims. Every rule, fact, and constraint that was there is still there; only the density changed.
  • Preserve the artifact's voice and structure; compress within it, do not re-style it.
  • Not a rewrite, a dedup, or a tell-remover: re-derive nothing (re0), move nothing to another home (ssotize), and leave em-dashes and stack nouns to dedash/detool.
  • Respect intended richness: human-facing prose meant to teach or orient (a quickstart, a worked example) earns its length — compress the bloat, not the accessibility.
  • A pass that finds nothing genuinely bloated changes nothing.
  • Mutate with edit-safety: assert each target exists (report a MISS, never a silent no-op), edit unicode-safe (PYTHONUTF8=1), replace per occurrence, and script a large structural move.

Read the full file on GitHub · 38 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. 1mo ago First seen · 38 lines · 66 tokens per session scan A dfc15de621d0

Subscribe to this mod's changes

debloat is a skill published in the GitHub repository LilMGenius/paperthin (1,334 stars, last pushed today), licensed MIT. It adds 66 tokens to every session and 751 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.