debloat

debloat is a skill for Claude Code, Codex 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 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/debloat
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, 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 debloat

README.md
[![agentmods](https://agentmods.dev/badge/skills/lilmgenius/paperthin/debloat.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.svg" alt="Measured on agentmods" 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. 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.00066 $0.00751
Opus 5 $0.00033 $0.00376
Sonnet 5 $0.00013 $0.00150
Haiku 4.5 $0.00007 $0.00075

Measured 5d ago against content hash dfc15de621d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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/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. 5d 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,060 stars, last pushed 17d ago), licensed MIT. It adds 66 tokens to every session and 751 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