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.mdSalin 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
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
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.
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.
Popularitas
- Bintang GitHub
- 84k
- Peringkat
- #1401
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
cli-a2a
84kMenjalankan command line OmniRoute untuk tugas agent-ke-agent, sehingga Anda dapat mengirim pekerjaan, memeriksa riwayat tugas, dan menguji skill.
cli-backup-sync
84kMenjalankan cadangan data OmniRoute dari command line, termasuk snapshot, sinkronisasi cloud, jadwal, dan pemulihan dari arsip.
cli-batches
84kMengirim pekerjaan AI secara batch dari command line, melacak kemajuannya, dan menyimpan hasil atau galat, termasuk untuk pipeline CI.
cli-chat
84kMengirim permintaan chat ke model AI dari command line, dengan balasan yang di-stream, system prompt, dan sesi interaktif.
Skill serupa
add-model-provider
394kMemungkinkan agent Anda menghubungkan penyedia model AI baru ke OpenClaw dengan perintah pengaturan yang aman, menjaga kunci API tetap di luar teks biasa, dan menjalankan uji langsung.
acp-router
394kMembantu agent Anda mengirim tugas ke asisten pemrograman seperti Claude Code atau Cursor lewat OpenClaw, sehingga pekerjaan dijalankan di alat tersebut.
browser-automation
394kMengajari agent Anda mengendalikan halaman web langkah demi langkah, termasuk login, tab, dan pemulihan saat halaman berhenti merespons.