cli-contexts
ما الذي تفعله
تشرح هذه المهارة كيف تدير إعدادات السياق لمحادثات الذكاء الاصطناعي من سطر الأوامر. وهي للمطورين الذين يضبطون حجم السياق الذي يستقبله النموذج وطريقة حفظ الجلسات.
متى تستخدمها
- ✓عندما يريد أحد تغيير حجم السياق الذي تحتفظ به محادثة الذكاء الاصطناعي.
- ✓عندما يريد أحد التحقق من خطوط السياق النشطة.
- ✓عندما يريد أحد عرض تحليلات هندسة السياق.
رابط المهارة
https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-contexts/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أرِني إعدادات السياق النشطة وكم تقلّم المحادثات.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تسرد المهارة أوامر لعرض الخيارات وضبطها، مثل ميزانية الرموز ونسبة الاحتياط، وإدارة مجموعات المرشحات، وعرض التحليلات لفترة مختارة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من 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
الأسئلة الشائعة
ما ميزانية الرموز؟
هي حد لعدد رموز السياق المسموح به في الإعداد، ويمكن تغييرها بأمر 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.
الشعبية
- نجوم GitHub
- 84k
- الترتيب
- #1401
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
cli-a2a
84kيشغّل سطر أوامر OmniRoute لمهام وكيل إلى وكيل، فيتيح لك إرسال العمل ومتابعة سجل المهام واختبار المهارات.
cli-backup-sync
84kيشغّل نسخ OmniRoute الاحتياطية من سطر الأوامر، بما فيها اللقطات والمزامنة السحابية والجداول الزمنية والاستعادة من الأرشيفات.
cli-batches
84kيرسل مهام ذكاء اصطناعي دفعية من سطر الأوامر، ويتابع تقدمها ويحفظ نتائجها أو أخطاءها، بما فيها خطوط CI.
cli-chat
84kيرسل طلبات محادثة إلى نماذج الذكاء الاصطناعي من سطر الأوامر، مع ردود متدفقة وتعليمات نظام وجلسة تفاعلية.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.