ijfw-compress

Solid

Compress memory/context files into terse form. Trigger: /compress, compress file

AI & Automation 184 stars 32 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
75
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
38
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

Compress the target file. Preserve all meaning. Reduce tokens. Rules: - Drop: articles (a/an/the), filler (just/really/basically), hedging, pleasantries. - Fragments OK. Short synonyms (big not extensive, fix not implement a solution). - Arrows for causality (X -> Y). - Abbreviate common terms (DB/auth/config/req/res/fn/impl/env/deps). - Preserve EXACTLY: code blocks, URLs, file paths, commands, headings, dates, versions, technical terms. - Only compress prose. Never touch code. Process: 1. Back up: cp <file> <file>.original.md 2. Compress prose sections. 3. Validate: all headings preserved, all code blocks intact, all URLs unchanged. 4. Report savings: "Compressed: 1,847 -> 923 tokens (50% saved -- approx $0.01-0.02 per session at Sonnet input pricing)"

Details

Author
FerroxLabs
Repository
FerroxLabs/ijfw
Created
1 months ago
Last Updated
yesterday
Language
JavaScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category