Skip to content
Skillpedia
Prompts & LLMs84k · #1400

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.md

Copy 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

Use this skill to help me: https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-compression/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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.

<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

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.

repo: cheaper-inference/OmniRoute

Popularity

GitHub stars
84k
Ranking position
#1400
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills