uniqaiapp

Skill Shrinker — Development skill for Claude Code

Development community

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

skill-shrinker by UniqAI

[![License: MIT](https://img.shields.io/badge/license-MIT-d1fe17?style=flat-square&labelColor=0d0f12)](LICENSE) [![Claude Code skill](https://img.shields.io/badge/Claude_Code-skill-d1fe17?style=flat-square&labelColor=0d0f12)](#install) [![Cursor](https://img.shields.io/badge/Cursor-rules-d1fe17?style=flat-square&labelColor=0d0f12)](#install) [![Codex](https://img.shields.io/badge/Codex-AGENTS.md-d1fe17?style=flat-square&labelColor=0d0f12)](#install) [![Made by UniqAI](https://img.shields.io/badge/made_by-UniqAI-fdfc07?style=flat-square&labelColor=0d0f12)](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** | |