cheaper-inference/omniroute

cli-contexts

Manage context engineering configurations, RTK filter sets, and conversation sessions from the CLI.

ソースを見る

使い方

  1. インストールコマンドをコピーし、自分の環境へ導入する前にソースを確認します。
  2. 必要なツール、認証情報、対応環境を原文で確認します。
  3. 入力と成果物を指定し、出力を資料と照合します。
npx skills add https://github.com/cheaper-inference/omniroute --skill cli-contexts

開始前の確認

  • 導入にはモデル契約、API枠、ファイルへのアクセス許可は含まれません。
  • スター数や導入数は活動の指標であり、独立した品質・安全性試験ではありません。
リポジトリの原文

見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。

<!-- 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

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

Subcommands

context-eng

Example:

bash
omniroute context-eng

context-eng analytics

Flags:

  • --period <p>

Example:

bash
omniroute context-eng analytics

context-eng caveman

Example:

bash
omniroute context-eng caveman

context-eng config

Example:

bash
omniroute context-eng config

context-eng show

Example:

bash
omniroute context-eng show

context-eng set

Flags:

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

Example:

bash
omniroute context-eng set

context-eng rtk

Example:

bash
omniroute context-eng rtk

context-eng config

Example:

bash
omniroute context-eng config

context-eng show

Example:

bash
omniroute context-eng show

context-eng set

Flags:

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

Example:

bash
omniroute context-eng set

context-eng filters

Example:

bash
omniroute context-eng filters

context-eng list

Example:

bash
omniroute context-eng list

context-eng add

Flags:

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

Example:

bash
omniroute context-eng add

context-eng remove <id>

Flags:

  • --yes

Example:

bash
omniroute context-eng remove <id>

context-eng test

Flags:

  • --file <path>

Example:

bash
omniroute context-eng test

context-eng raw-output <id>

Example:

bash
omniroute context-eng raw-output <id>

context-eng combos

Example:

bash
omniroute context-eng combos

context-eng list

Example:

bash
omniroute context-eng list

context-eng get <id>

Example:

bash
omniroute context-eng get <id>

context-eng assignments <id>

Example:

bash
omniroute context-eng assignments <id>

contexts

Example:

bash
omniroute contexts

contexts list

List all contexts

Example:

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

bash
omniroute contexts add <name>

contexts use <name>

Switch active context

Example:

bash
omniroute contexts use <name>

contexts current

Show the active context (server, auth, scope)

Flags:

  • --name-only

Example:

bash
omniroute contexts current

contexts show <name>

Show context details

Example:

bash
omniroute contexts show <name>

contexts remove <name>

Remove a context

Flags:

  • --yes

Example:

bash
omniroute contexts remove <name>

contexts rename <old> <new>

Rename a context

Example:

bash
omniroute contexts rename <old> <new>

contexts export

Export contexts to JSON

Flags:

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

Example:

bash
omniroute contexts export

contexts import <file>

Import contexts from a JSON file

Flags:

  • --merge

Example:

bash
omniroute contexts import <file>

contexts migrate

Move legacy plaintext context credentials to the OS keychain

Flags:

  • --yes

Example:

bash
omniroute contexts migrate

sessions

Example:

bash
omniroute sessions

sessions list

Flags:

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

Example:

bash
omniroute sessions list

sessions show <sessionId>

Example:

bash
omniroute sessions show <sessionId>

sessions expire <sessionId>

Flags:

  • --yes

Example:

bash
omniroute sessions expire <sessionId>

sessions expire-all

Flags:

  • --user <u>
  • --yes

Example:

bash
omniroute sessions expire-all

sessions current

Example:

bash
omniroute sessions current

タスクに関連する項目

同じリポジトリから

関連する Skills

すべての Skills
cheaper-inference
コミュニティ

cli-chat

Send chat completions, stream responses, and start an interactive REPL session from the CLI. Supports all OmniRoute providers, combo routing, and system prompt configuration.

1時間の導入数
1
GitHub Stars
8.8万
更新日
11月17日
cheaper-inference
コミュニティ

cli-health

Check server health, component status, and live metrics from the CLI. Run health, health components, and health watch for a real-time dashboard of circuit breakers and provider status.

1時間の導入数
1
GitHub Stars
8.8万
更新日
11月17日
cheaper-inference
コミュニティ

cli-providers

Manage provider connections from the CLI: list available/configured providers, add, test, test-all, validate, rotate API keys, and view per-provider metrics.

1時間の導入数
1
GitHub Stars
8.8万
更新日
11月17日
cheaper-inference
コミュニティ

omni-github-skills

Search, score, scan, and import agent skills from GitHub repositories that contain SKILL.md, CLAUDE.md, .cursorrules, and similar agent skill files. Discover community skills across many tool and provider categories, evaluate relevance with heuristic scoring, check for malware or hardcoded secrets, and install into Hermes, Claude Code, Gemini CLI, or OpenCode agent directories.

1時間の導入数
1
GitHub Stars
8.8万
更新日
11月17日