cli-compression
What it does
This skill shows how to set up and test prompt compression with the command line. It is for people who want to reduce prompt size and check what the compressed text looks like.
When to use it
- ✓When a user wants to shorten prompts before sending them to a model.
- ✓When a user wants to preview how compression changes a real prompt.
- ✓When a user wants to see compression statistics for a period.
Skill link
https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-compression/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Show me how much my prompts shrink with compression this week.”
5 new skills a week. 1 minute to read.
How it works
The skill lists commands to check status, choose an engine, set compression levels and filters, and preview output. It also shows compression statistics for a chosen period.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Overview
Configure and test prompt compression from the CLI. Manage RTK filters, Caveman rules, stacked compression modes, and preview compression output with real prompts.
Quick install
npm install -g omniroute # or: npx omniroute
omniroute --version
Subcommands
compression
Example:
omniroute compression
compression status
Example:
omniroute compression status
compression configure
Flags:
--engine <e>--caveman-aggressiveness <n>--rtk-budget <n>--language-pack <p>
Example:
omniroute compression configure
compression engine
Example:
omniroute compression engine
compression set <name>
Example:
omniroute compression set <name>
compression get
Example:
omniroute compression get
compression combos
Example:
omniroute compression combos
compression list
Example:
omniroute compression list
compression stats
Flags:
--period <p>
Example:
omniroute compression stats
compression rules
Example:
omniroute compression rules
compression list
Example:
omniroute compression list
compression add
Flags:
--pattern <p>--action <a>--replacement <r>
Example:
omniroute compression add
compression remove <id>
Flags:
--yes
Example:
omniroute compression remove <id>
compression language-packs
Example:
omniroute compression language-packs
compression preview
Flags:
--file <path>
Example:
omniroute compression preview
FAQ
What are RTK filters?
The skill mentions RTK filters as one part of the compression setup, and it has commands to manage them.
Can I see statistics?
Yes. The stats command takes a period option.
Can I test before turning it on?
Yes. You can preview compression output with real prompts.
Details
Original description by the author
Configure and test prompt compression from the CLI. Manage RTK filters, Caveman rules, stacked compression modes, and preview compression output with real prompts.
Popularity
- GitHub stars
- 84k
- Ranking position
- #1400
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
cli-a2a
84kRuns the OmniRoute command line for agent-to-agent tasks, letting you send work, check task history and test skills.
cli-backup-sync
84kRuns OmniRoute data backups from the command line, including snapshots, cloud sync, schedules and restores from archives.
cli-batches
84kSubmits batch AI jobs from the command line, tracks their progress and saves results or errors, including for CI pipelines.
cli-chat
84kSends chat requests to AI models from the command line, with streaming replies, system prompts and an interactive session.
Similar skills
writing-skills
311kTeaches your agent to write new skills and test each one first, checking that the skill actually changes how the agent behaves.
writing-for-agents
310kExplains how to write clear instructions for AI agents, including skills, AGENTS.md, and CLAUDE.md files, so the agent behaves predictably.
bengali-nlp
280kHas your agent process Bengali text. It helps understand and work with the language, normalizing text and handling its unique characteristics.