Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

omni-context-rtk — Claude Code skill: RTK setup, install

Configures RTK filters, context rules, and relay settings, then tests compression on real prompts. Use it when context transformation needs inspection.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add cheaper-inference/OmniRoute --skill omni-context-rtk -a claude-code
Open on GitHub

What omni-context-rtk does

This skill manages RTK compression settings and filters, reports filter-load diagnostics, and runs a preview of how text will be compressed. It can validate or install an RTK TOML schema v1 filter file, read retained redacted output, and expose context relay operations for discovery and learning.

The API accepts a Bearer token or session cookie. A token comes from POST /api/auth/login; local development can disable the required key with REQUIRE_API_KEY=false. Requests target localhost:20128, including configuration reads and updates, filter checks, compression tests, and the OpenAPI document at GET /api/openapi/spec.

Check authentication and OmniRoute availability on localhost:20128 first. Without them, filter configuration and compression tests cannot run.

What it helps with

  • configure RTK compression settings
  • inspect filter loading and diagnostics
  • preview compression for prompt text
  • import an RTK TOML schema v1 filter
  • read retained redacted output

Example prompts for the agent

  • Configure RTK compression for OmniRoute and show the current settings.
  • Run an RTK compression preview for this prompt and explain the retained context.
  • Validate and install this RTK TOML schema v1 filter file, then show its load diagnostics.

How to install omni-context-rtk

1Skills CLI (Vercel)

npx skills add cheaper-inference/OmniRoute --skill omni-context-rtk -a claude-code

2Manually: put the files in place

~/.claude/skills/omni-context-rtk/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/omni-context-rtk/

From the same set34

The whole set →
cli-setup cheaper-inference Helps the agent configure OmniRoute, manage autostart, apply CLI updates, and adjust session environment variables. Claude Code CX Codex Cursor +1 1,200installs omni-combos-routing cheaper-inference This skill creates and manages model routing combos with fallback chains, tests, and metrics. Use it when OmniRoute needs configurable provider routing. Claude Code CX Codex Cursor +1 1,200installs omni-inference cheaper-inference Connects OpenAI-compatible inference endpoints for chat, embeddings, audio, and images. Useful for AI agents calling OmniRoute endpoints. Claude Code CX Codex Cursor +1 1,100installs cli-providers cheaper-inference Manage OmniRoute provider connections from the CLI: inspect the catalog, test connections, rotate keys, and view metrics. Useful when provider setup is part of your terminal workflow. Claude Code CX Codex Cursor +1 1,100installs omni-auth cheaper-inference Manage API keys and sessions in OmniRoute. Authenticates requests via Bearer tokens, handles dashboard login with password or OIDC, and controls session access. Claude Code CX Codex Cursor +1 1,100installs cli-routing cheaper-inference Manage model routing combos from the command line with omniroute. Test routing strategies, inspect metrics, and configure fallback chains interactively. Claude Code CX Codex Cursor +1 1,100installs omni-mcp cheaper-inference Connects an agent to the OmniRoute MCP server for request routing, memory, cache, and audit work. Use it when those operations need to be available as MCP tools. Claude Code CX Codex Cursor +1 1,100installs omni-providers cheaper-inference Manages connections to 375 AI providers via REST API: adds keys, tests connections, syncs models. Claude Code CX Codex Cursor +1 1,100installs

Similar

superdesign superdesigndev Create and refine interfaces, presentations, and graphics on the Superdesign canvas. Useful for drafting new layouts or comparing results from different models. Claude Code CX Codex Cursor +1 11,200installs prompt-engineer https://github.com/Jeffallan A skill that writes, refactors and tests LLM prompts: templates, JSON schemas, scoring rubrics, test suites. Useful when model output is inconsistent and you need to know why. Claude Code CX Codex Cursor +1 5,600installs setup-matt-pocock-skills Matt Pocock This skill configures a repository for Matt Pocock's engineering skills by setting its issue tracker, triage labels, and domain docs layout. Run it before using the other skills. Claude Code 1,052,851installs to-tickets Matt Pocock Turns a plan, spec, or conversation into small end-to-end tickets with explicit blockers. Use it to agree on the work breakdown before tickets go to a tracker. Claude Code 711,230installs writing-plans Jesse Vincent This skill turns requirements for a multi-step task into an implementation plan before code changes begin. It helps when another engineer needs exact files, interfaces, and checks. Claude Code CX Codex 282,859installs caveman-review JuliusBrussee Turns code review comments into one line per finding: location, problem, fix. Useful when a diff or PR needs a fast pass without the filler. Claude Code CX Codex Cursor +1 410,700installs slideshow heygen-com Builds a HyperFrames deck you present live: slides, fragment reveals, branching hotspots and presenter notes. Meant for showing, not for rendering video. Claude Code CX Codex Cursor +1 415,500installs google-agents-cli-adk-code official Google A reference for the Agent Development Kit API: agent types, tools, callbacks, state and the graph Workflow API. Useful when you are writing agent code, not scaffolding a project. Claude Code CX Codex Cursor +1 511,400installs

Questions about omni-context-rtk

How do I install omni-context-rtk in Claude Code?

Run npx skills add cheaper-inference/OmniRoute --skill omni-context-rtk -a claude-code, then run npx skills add cheaper-inference/OmniRoute --skill omni-context-rtk -a claude-code again. The skill file is at ~/.claude/skills/omni-context-rtk/SKILL.md.

What does omni-context-rtk do?

It configures RTK filters and context relay settings, previews compression for text, and handles RTK filter schemas. It also exposes filter diagnostics and retained redacted output.

What does omni-context-rtk need to run?

Requests require a Bearer token or session cookie. The API must be reachable at localhost:20128; local development can use REQUIRE_API_KEY=false.

Source text

SKILL.md · MIT
---
name: omni-context-rtk
description: Configure RTK filters, context engineering rules, and context relay settings. Test compression with real prompt samples and manage context transformation pipelines.
---
<!-- 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

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

### PUT /api/context/rtk/config

Update RTK compression settings

```bash
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

```bash
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

```bash
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

```bash
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

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

### GET /api/context/rtk/discover

GET context › rtk › discover

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

### GET /api/context/rtk/learn

GET context › rtk › learn

```bash
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.

© cheaper-inference · MIT · cheaper-inference/OmniRoute

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor