Ijfw compress

From FerroxLabs/wayland-core · View interactive version

Ijfw compress is an AI agent skill from the GitHub repository FerroxLabs/wayland-core. Compress memory/context files into terse form. Trigger: /compress, compress file

How to use this skill

Skill file

<!-- IJFW: narration-not-applicable -->


name: ijfw-compress

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


Compress the target file. Preserve all meaning. Reduce tokens.

Rules:

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)"
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.