Skip to content
Development
Skill

/cli-contexts

Manage context engineering configurations, RTK filter sets, and conversation sessions from the CLI. Apply context-relay settings and inspect active context pipelines.

From plugin
omniroute
86k46 skills

Claude Code

$ npx -y skills add cheaper-inference/omniroute --skill cli-contexts --agent claude-code

SKILL.md

cli-contexts.SKILL.md
name: cli-contexts
description: Manage context engineering configurations, RTK filter sets, and conversation sessions from the CLI. Apply context-relay settings and inspect active context pipelines.

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

Overview

Manage context engineering configurations, RTK filter sets, and conversation sessions from the CLI. Apply context-relay settings and inspect active context pipelines.

Quick install

npm install -g omniroute   # or: npx omniroute
omniroute --version

Subcommands

`context-eng`

**Example:**

omniroute context-eng

`context-eng analytics`

**Flags:**

  • `--period <p>`

**Example:**

omniroute context-eng analytics

`context-eng caveman`

**Example:**

omniroute context-eng caveman

`context-eng config`

**Example:**

omniroute context-eng config

`context-eng show`

**Example:**

omniroute context-eng show

`context-eng set`

**Flags:**

  • `--aggressiveness <n>`
  • `--max-shrink-pct <n>`
  • `--preserve-tags <list>`

**Example:**

omniroute context-eng set

`context-eng rtk`

**Example:**

omniroute context-eng rtk

`context-eng config`

**Example:**

omniroute context-eng config

`context-eng show`

**Example:**

omniroute context-eng show

`context-eng set`

**Flags:**

  • `--token-budget <n>`
  • `--reserve-pct <n>`

**Example:**

omniroute context-eng set

`context-eng filters`

**Example:**

omniroute context-eng filters

`context-eng list`

**Example:**

omniroute context-eng list

`context-eng add`

**Flags:**

  • `--pattern <p>`
  • `--priority <n>`
  • `--action <a>`

**Example:**

omniroute context-eng add

`context-eng remove <id>`

**Flags:**

  • `--yes`

**Example:**

omniroute context-eng remove <id>

`context-eng test`

**Flags:**

  • `--file <path>`

**Example:**

omniroute context-eng test

`context-eng raw-output <id>`

**Example:**

omniroute context-eng raw-output <id>

`context-eng combos`

**Example:**

omniroute context-eng combos

`context-eng list`

**Example:**

omniroute context-eng list

`context-eng get <id>`

**Example:**

omniroute context-eng get <id>

`context-eng assignments <id>`

**Example:**

omniroute context-eng assignments <id>

`contexts`

**Example:**

omniroute contexts

`contexts list`

List all contexts

**Example:**

omniroute contexts list

`contexts add <name>`

Add a new context

**Flags:**

  • `--url <u>`
  • `--api-key <k>`
  • `--api-key-stdin`
  • `--access-token <t>`
  • `--access-token-stdin`
  • `--scope <s>`
  • `--description <d>`

**Example:**

omniroute contexts add <name>

`contexts use <name>`

Switch active context

**Example:**

omniroute contexts use <name>

`contexts current`

Show the active context (server, auth, scope)

**Flags:**

  • `--name-only`

**Example:**

omniroute contexts current

`contexts show <name>`

Show context details

**Example:**

omniroute contexts show <name>

`contexts remove <name>`

Remove a context

**Flags:**

  • `--yes`

**Example:**

omniroute contexts remove <name>

`contexts rename <old> <new>`

Rename a context

**Example:**

omniroute contexts rename <old> <new>

`contexts export`

Export contexts to JSON

**Flags:**

  • `--out <path>`
  • `--no-secrets`
  • `--include-secrets`

**Example:**

omniroute contexts export

`contexts import <file>`

Import contexts from a JSON file

**Flags:**

  • `--merge`

**Example:**

omniroute contexts import <file>

`contexts migrate`

Move legacy plaintext context credentials to the OS keychain

**Flags:**

  • `--yes`

**Example:**

omniroute contexts migrate

`sessions`

**Example:**

omniroute sessions

`sessions list`

**Flags:**

  • `--user <u>`
  • `--kind <k>`
  • `--active`
  • `--limit <n>`

**Example:**

omniroute sessions list

`sessions show <sessionId>`

**Example:**

omniroute sessions show <sessionId>

`sessions expire <sessionId>`

**Flags:**

  • `--yes`

**Example:**

omniroute sessions expire <sessionId>

`sessions expire-all`

**Flags:**

  • `--user <u>`
  • `--yes`

**Example:**

omniroute sessions expire-all

`sessions current`

**Example:**

omniroute sessions current
Read more
@diegosouzapw
Ships withomniroute

Created by Diego Souza

Stars on GitHub

Momentum

stars in total
86.1k
Star history of diegosouzapw/OmniRoute on GitHub, a chart by star-history.com

Other skills on omniroute.

cli-a2a

cli-a2a

Interact with the OmniRoute A2A server from the CLI. Send tasks, inspect skill execution history, and test the JSON-RPC 2.0…

cli-backup-sync

cli-backup-sync

Backup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules,…

cli-batches

cli-batches

Submit and monitor batch inference jobs from the CLI. Upload and manage files for batch processing, retrieve results, and…

cli-chat

cli-chat

Send chat completions, stream responses, and start an interactive REPL session from the CLI. Supports all OmniRoute providers,…

cli-compression

cli-compression

Configure and test prompt compression from the CLI. Manage RTK filters, Caveman rules, stacked compression modes, and preview…

cli-cost-usage

cli-cost-usage

View cost breakdowns, token usage, and call logs from the CLI. Filter by provider, model, or date range. Export usage reports and…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about cli-contexts.

Which coding agents can use cli-contexts?
cli-contexts installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.