Skillpedia
برمجة عامة31k · #9335

opencli-usage

ما الذي تفعله

تشرح هذه المهارة كيفية إيجاد أمر OpenCLI المناسب لمهمة ما وقراءة مخرجاته. تغطي مهايئات المواقع وأدوات Chrome المباشرة.

متى تستخدمها

  • ✓عندما تريد إيجاد أمر OpenCLI لموقع أو مهمة.
  • ✓عندما تحتاج إلى معرفة المدخلات التي يقبلها أمر ما.
  • ✓عندما تريد قراءة نتيجة OpenCLI أو التعافي من خطأ.

رابط المهارة

https://github.com/jackwener/OpenCLI/blob/main/skills/opencli-usage/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/jackwener/OpenCLI/blob/main/skills/opencli-usage/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“ابحث عن أمر OpenCLI يبحث في GitHub، وأرني كيف أشغّله.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يبحث وكيلك في قائمة الأوامر بالكلمات المفتاحية، ويتحقق من المساعدة لمعرفة المدخلات الدقيقة، ثم يشغّل الأمر. يقرأ نتيجة JSON أو رمز الخطأ، ويستخدم التلميحات المقترحة للتعافي.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

OpenCLI

OpenCLI exposes reusable website adapters and direct Chrome tools to agents.

opencli list search
opencli list --site github --limit 20
opencli github search --help -f json

list [query] searches command names and descriptions across built-ins and adapters. Results are compact and paginated: {ok:true,data:{commands,total,nextOffset?}}. Pass --offset <nextOffset> to continue. Inspect exact inputs using command help. Do not hard-code the adapter catalog or dump all commands into context.

Results

Commands default to JSON: {ok:true,data:...}. Failures produce a nonzero exit code and {ok:false,error:{code,message,hint?,...}} on stdout. Logs use stderr. Explicit -f table|yaml|csv|md|plain exports are available where command help lists them. Help, version, completion and explicit plain exports retain their own formats. Browser follow modes stream one JSON envelope per line.

Use error codes and supplied candidates/keys to recover. Unknown write outcomes require inspecting state before repeating an action. An empty successful result is distinct from an execution failure.

Browser

opencli browser open https://example.com --session research
opencli browser state --session research
opencli browser close --session research
opencli browser chrome describe

Page commands use --session; native Chrome methods need no session. --profile selects a connected Chrome profile. profile list discovers profiles and profile use <name> selects the default. Use doctor for connection diagnosis. See opencli-browser for interaction, API evidence and tab/group management.

Adapters and installation

opencli adapter init example/search
opencli adapter check example/search
opencli adapter test example/search --args '{"query":"hello"}'
opencli adapter status

See opencli-adapter-author for implementation. adapter eject makes an official site editable locally; adapter reset removes that local override. Adapter tests execute real commands and can perform writes.

plugin list|install|update|uninstall|create manages plugin packages. auth status reports website login facts; auth refresh touches sessions. daemon status|restart|stop manages the bridge process. Read help for the selected capability.

Bundled skill content is available through skills list and skills read opencli-browser -f plain (omit -f plain for JSON).

الأسئلة الشائعة

هل تعرض كل الأوامر دفعة واحدة؟

لا. تُعرض النتائج مقسّمة إلى صفحات، وتُبحث بالكلمات المفتاحية لإبقاء المخرجات قصيرة.

كيف تُعاد النتائج؟

افتراضيًا تأتي بصيغة JSON فيها حقل ok، وتتضمن الأخطاء رمزًا ورسالة.

ماذا لو فشل إجراء كتابة؟

يتحقق وكيلك من الحالة الحالية قبل محاولة الإجراء مرة أخرى.

التفاصيل

الوصف الأصلي من المؤلف

Discover and invoke OpenCLI capabilities for websites and Chrome. Find commands, inspect schemas, interpret results and choose browser or adapter tools.

repo: jackwener/OpenCLI

الشعبية

نجوم GitHub
31k
الترتيب
#9335
الترخيص
Apache-2.0
آخر تحديث
26‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة