Langsung ke konten
Skillpedia
Agen84k · #1401

cli-contexts

Fungsinya

Skill ini menunjukkan cara mengelola pengaturan konteks untuk percakapan AI dengan command line. Skill ini untuk pengembang yang menyesuaikan seberapa banyak konteks yang diterima model dan bagaimana sesi dijaga.

Kapan dipakai

  • ✓Saat pengguna ingin mengubah seberapa banyak konteks yang disimpan dalam percakapan AI.
  • ✓Saat pengguna ingin memeriksa pipeline konteks mana yang aktif.
  • ✓Saat pengguna ingin melihat analitik untuk rekayasa konteks.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-contexts/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Tampilkan pengaturan konteks yang aktif dan seberapa banyak pengaturan itu memangkas percakapan.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill ini mendaftar perintah untuk menampilkan dan mengubah opsi konteks, seperti anggaran token dan persentase cadangan, mengelola kumpulan filter, dan melihat analitik untuk periode yang dipilih.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum

Apa itu anggaran token?

Anggaran token adalah batas jumlah token konteks yang boleh dipakai pengaturan ini, dan perintah set dapat mengubahnya.

Bisakah saya melihat analitik?

Bisa. Perintah analytics menerima opsi periode.

Bisakah saya melihat pengaturan tanpa mengubahnya?

Bisa. Perintah show dan config menampilkan pengaturan yang sedang berlaku.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
84k
Peringkat
#1401
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa