Skip to content
Development
Command

/compress

Compress a memory/context file into terse form. Saves ~40-50% tokens per session. Usage: /compress <filepath>

From plugin
ijfw
20522 skills37 agents22 commands1 MCP
Install
$ npx -y skills add FerroxLabs/ijfw --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/compress

Context preview

What this command does when you run it.

Compress a memory/context file into terse form. Saves ~40-50% tokens per session. Usage: /compress <filepath>

Command definition

compress.md
name: compress
description: "Compress a memory/context file into terse form. Saves ~40-50% tokens per session. Usage: /compress <filepath>"

Compress the specified file using ijfw-compress skill rules.

1. Back up original as <filename>.original.md 2. Rewrite prose in compressed form: drop articles, filler, hedging. Fragments OK. 3. Preserve exactly: code blocks, URLs, file paths, commands, headings, dates, versions. 4. Validate the compressed version retains all actionable instructions. 5. Report: original tokens → compressed tokens (% saved).

Ships withijfw

IJFW — It Just F*cking Works. Ferrox Labs' local-first infrastructure for AI coding agents: shared memory, smart routing, multi-AI cross-audits, disciplined workflow.

Get the whole plugin