debloat — скилл для Claude Code: что делает и как установить
Сжимает раздутые тексты и инструкции до плотной сути без потери правил или фактов. Пригодится, когда документ стал длинным из-за правок, но переписывать его с нуля не нужно.
npx skills add LilMGenius/paperthin --skill debloat -a claude-codeЧто делает debloat
Скилл находит в тексте словесный балласт: вводные оговорки, громоздкие перечисления, склеенные сложные фразы и повторы одних и тех же правил по соседству. Смысл при этом остаётся нетронутым. Сохраняются все опорные факты и технические ограничения.
Работа идёт строго по шагам. Агент фиксирует ключевую мысль каждого раздела, находит раздутые формулировки и ужимает их на месте. Для правок действует защита: скилл меняет текст с поддержкой Unicode через PYTHONUTF8=1, проверяет точные совпадения и сообщает об ошибке MISS, если фрагмент для замены не найден.
Этот инструмент только уплотняет текущий текст. Он не переписывает устаревшие разделы (для этого автор советует re0) и не выносит дубли между несколькими файлами в единый источник (это задача ssotize). Если формулировка уже чёткая, скилл оставит её как есть.
Какие задачи решает
- убрать вводные слова и лишние оговорки из инструкций
- сократить длинные списки правил без потери требований
- разбить склеенные громоздкие предложения
- удалить соседние повторы одной и той же мысли
Примеры запросов агенту
- Используй debloat для файла
docs/architecture.md, сохранив все технические требования. - Сократи раздутый текст в
API.mdчерез debloat: убери лишние оговорки и повторы.
Как установить debloat
1Через Skills CLI (Vercel)
npx skills add LilMGenius/paperthin --skill debloat -a claude-code2Вручную: положить файлы
~/.claude/skills/debloat/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/debloat/
1Через Skills CLI (Vercel)
npx skills add LilMGenius/paperthin --skill debloat -a codex2Вручную: положить файлы
.agents/skills/debloat/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add LilMGenius/paperthin --skill debloat -a cursor2Вручную: положить файлы
.cursor/skills/debloat/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install LilMGenius/paperthin debloat2Вручную: положить файлы
.github/skills/debloat/SKILL.md1Через Skills CLI (Vercel)
npx skills add LilMGenius/paperthin --skill debloat -a gemini-cli2Командой платформы
gemini skills install https://github.com/LilMGenius/paperthin --path skills/depth/debloatВручную: положить файлы
.devin/skills/debloat/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add LilMGenius/paperthin --skill debloat -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Из того же набора27
Похожие
Рядом в теме «Тексты и документация»
Всё по теме «Тексты и документация» →Вопросы о debloat
Как установить debloat в Claude Code?
Выполните команду npx skills add LilMGenius/paperthin --skill debloat -a claude-code. Также можно вручную поместить файл в ~/.claude/skills/debloat/SKILL.md.
Чем debloat отличается от ssotize и re0?
Скилл только повышает плотность текущего текста на месте. Он не переписывает устаревшую логику с нуля, как re0, и не убирает дублирование между разными файлами проекта, как ssotize.
Что произойдёт, если фрагмент для замены не будет найден?
Скилл использует строгие правила редактирования. Вместо тихого пропуска операции он сообщит об ошибке MISS.
Исходный текст
SKILL.md · MIT
--- name: debloat disable-model-invocation: true description: "Compress an artifact that has accreted into bloat — padding, over-qualification, fused sentences, walls of enumeration, adjacent restatement — down to its load-bearing density, meaning preserved. Use when prose is correct and current but has grown verbose or patched-over and you want it tight without a full rewrite." --- 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. ## Verification Before finishing: 1. Every load-bearing claim present before is present after — only words were cut. 2. The result reads tighter to a cold reader, and reads as intended-terse, not amputated. 3. Anything that was duplication or drift, not bloat, was handed to `ssotize`/`re0`, not force-compressed.
© LilMGenius · MIT · LilMGenius/paperthin