Skip to content
Skillpedia
Prompts & LLMs84k · #1426

omni-context-rtk

What it does

This skill shows how to tune how OmniRoute trims context before a model sees it. It is for developers who want to manage filters and test their effect on real prompts.

When to use it

  • ✓When a user wants to change RTK compression settings.
  • ✓When a user wants to add or check RTK filters.
  • ✓When a user wants to test compression on a real prompt sample.

Skill link

https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/omni-context-rtk/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/omni-context-rtk/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

“Test how my RTK filter settings compress this sample text.”

5 new skills a week. 1 minute to read.

How it works

The skill lists calls to read and update RTK settings, list filters, validate or install filter files, and run a compression preview on text.

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 RTK filters, context engineering rules, and context relay settings. Test compression with real prompt samples and manage context transformation pipelines.

Authentication

All requests require a valid Bearer token or session cookie. Obtain a token via POST /api/auth/login or configure REQUIRE_API_KEY=false for local development.

Endpoints

GET /api/context/rtk/config

Get RTK compression settings

curl http://localhost:20128/api/context/rtk/config \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

PUT /api/context/rtk/config

Update RTK compression settings

curl -X PUT http://localhost:20128/api/context/rtk/config \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'

GET /api/context/rtk/filters

List RTK filters and load diagnostics

curl http://localhost:20128/api/context/rtk/filters \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

POST /api/context/rtk/import

Validate or install an RTK TOML schema v1 filter file

curl -X POST http://localhost:20128/api/context/rtk/import \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'

POST /api/context/rtk/test

Run RTK compression preview for text

curl -X POST http://localhost:20128/api/context/rtk/test \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'

GET /api/context/rtk/raw-output/{id}

Read retained redacted RTK raw output

curl http://localhost:20128/api/context/rtk/raw-output/{id} \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/context/rtk/discover

GET context › rtk › discover

curl http://localhost:20128/api/context/rtk/discover \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/context/rtk/learn

GET context › rtk › learn

curl http://localhost:20128/api/context/rtk/learn \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

Payloads

See the full OpenAPI specification at GET /api/openapi/spec or docs/openapi.yaml for detailed request/response schemas.

FAQ

What format do filter files use?

The skill imports RTK filter files that follow TOML schema version 1.

Can I check a filter before installing it?

Yes. The import call can validate a filter file, and the test call previews compression for text.

Does it manage context pipelines too?

Yes. The skill covers context transformation pipelines as well as filters.

Details

Original description by the author

Configure RTK filters, context engineering rules, and context relay settings. Test compression with real prompt samples and manage context transformation pipelines.

repo: cheaper-inference/OmniRoute

Popularity

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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills