compress-prompt
CommunityShrink prompts without losing meaning.
Authorjbrukh
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Compress prompts while preserving semantic content, reducing length while keeping all instructions, constraints, and essential structure intact, enabling faster iteration and shareability.
Core Features & Use Cases
- Lossy mode targets 30-50% reduction with ≥90% semantic retention, while lossless (--lossless) preserves 100% of directives and constraints with 10-30% reduction.
- Works across all prompt types (system prompts, task prompts, multi-section documents) and supports recovery of intent even when formatting is complex.
- Use cases include refining long prompts for chat tasks, sharing compact prompts with teammates, and automating prompt distribution in templates.
Quick Start
Provide a prompt and specify a mode (--lossless for full retention) to receive a compressed version with a concise stats report.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: compress-prompt Download link: https://github.com/jbrukh/skills/archive/main.zip#compress-prompt Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.