本文へスキップ
Skillpedia
エージェント84k · #1401

cli-contexts

できること

このスキルは、AIとの会話で保持するコンテキストの量を、コマンドラインから管理する方法を示します。モデルが受け取るコンテキストの量や、セッションの保持方法を調整する開発者のためのものです。

使う場面

  • ✓AI会話で保持するコンテキストの量を変えたいとき。
  • ✓どのコンテキストのパイプラインが有効かを確認したいとき。
  • ✓コンテキストエンジニアリングの分析を見たいとき。

スキルのリンク

https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-contexts/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-contexts/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“現在有効なコンテキスト設定と、それが会話をどれだけ削るかを見せてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

スキルは、トークンの上限や予約率などのオプションを表示・変更するコマンド、フィルターセットの管理、期間を指定した分析の表示を一覧にします。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

<!-- 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
よくある質問

トークンの上限とは何ですか?

設定が許すコンテキストのトークン数の上限です。setコマンドで変更できます。

分析を見られますか?

はい。analyticsコマンドは期間のオプションを受け付けます。

設定を変えずに見られますか?

はい。showとconfigのコマンドで、現在の設定を表示できます。

詳細

作者による元の説明

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

repo: cheaper-inference/OmniRoute

人気

GitHubのスター
84k
ランキング
#1401
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル