Skill Shrinker — Development skill for Claude Code
Skill shrinker: compresses SKILL.md, AGENTS.md, CLAUDE.md and .cursor/rules files so agents load fewer tokens per turn.
How to install Skill Shrinker
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open uniqaiapp/skill-shrinker and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Skill Shrinker does
Skill shrinker: compresses SKILL.md, AGENTS.md, CLAUDE.md and .cursor/rules files so agents load fewer tokens per turn. Finds duplicate rules, long examples, dead sections; reports tokens before/after (stdlib Python, no deps). Keeps every instruction, drops the padding. Claude Code skill + Codex/Cursor rules. By UniqAI.
Alternatives in Development
- Semble — Fast and Accurate Code Search for Agents 6.1k ★
- Code Review Graph — Local knowledge graph for Claude Code 3.7k ★
- Openwolf — Sharper context 699 ★
README
[](LICENSE) [](#install) [](#install) [](#install) [](https://uniqai.app/?utm_source=github&utm_medium=readme&utm_campaign=skill-shrinker)
skill-shrinker: compress SKILL.md, AGENTS.md and Cursor rules
**Shrink any SKILL.md or agent instruction file: measures size, moves long material to references, keeps the triggers intact.**
[Quickstart](#quickstart) · [How it works](#how-it-works) · [Examples](#examples) · [Install](#install) · [FAQ](#faq)
English · [Русский](README.ru.md) · [简体中文](README.zh-CN.md) · [Español](README.es.md) · [Português (BR)](README.pt-BR.md) · [日本語](README.ja.md) · [한국어](README.ko.md)
skill-shrinker compresses `CLAUDE.md`, `AGENTS.md`, `SKILL.md` and `.cursor/rules` files so Claude Code, Cursor and Codex load fewer tokens per turn. It is a skill (the rewrite procedure) plus one dependency-free Python script that finds duplicate rules, contradictions, narration, long examples and dead sections, reports tokens before and after, and checks that every MUST / NEVER / ALWAYS / DO NOT sentence survived the rewrite. Every instruction stays; the padding goes.
| **Audit with line numbers** | **Rewrite by rule, not by taste** | **Prove nothing was lost** | |
Related Skills
ShrinkCode
A Claude Skill that compresses bloated codebases into fewer lines without changing behavior: finds duplicate b
Charon
Named after the greek ferryman of the underworld, it audits your Project for Dead code and duplicate code in C
Report To Brief
긴 보고서를 정책브리프·요약본(1~8p)으로 압축하는 Claude Code 스킬 — 두괄식·자립성·근거보존, 3축 압축검수로 요약 환각 차단 Compresses long reports into st
Optimaizr
Spend fewer tokens on the same work. A local CLI that finds wasted tokens in Claude Code, Codex and your own A
Billion Context
基本稳定可用 A context-compression plugin for small context windows (a 100K context is enough), token savings (5x fe
Code Optimizer
Remove duplication, dead code, and needless indirection — fewer lines as a result, never as the goal
Related Agents
Part 19: Repowise — Codebase Intelligence For Coding Agents
60% fewer tokens. 4x faster. Your coding agents stop guessing and start knowing. ---
Lean Reader
Read-only reader, collector, or verifier stage that runs without CLAUDE.md and the memory index (18.8k fewer t
Memory Distiller
Compresses memory-sessions.md older entries into a rolling archive to reduce context load. Safe to run monthly