Skillpedia
الوكلاء37k · #7570

computer_use

ما الذي تفعله

تتيح هذه المهارة لوكيل الذكاء الاصطناعي العمل داخل تطبيق على الحاسوب عبر واجهته. وهي موجهة للمهام التي لا تستطيع فيها أداة سطر أوامر أو تكامل أن تنجزها.

متى تستخدمها

  • ✓عندما تحتاج مهمة إلى النقر عبر تطبيق سطح مكتب لا يملك تكاملًا.
  • ✓عندما تريد أن يتحقق الوكيل مما يظهر على الشاشة قبل أن يعلن النجاح.
  • ✓عندما لا تنجح أداة مخصصة في إنجاز المهمة، ولا تكفي إلا واجهة التطبيق.

رابط المهارة

https://github.com/agentscope-ai/QwenPaw/blob/main/plugins/bundle/computer-use/skills/computer_use/SKILL.md

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

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

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

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

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

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

“افتح تطبيق المصروفات على سطح المكتب، وصدّر تقرير هذا الشهر.”

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

computer_use: دليل كامل

بعض المهام على الحاسوب لا يمكن إنجازها إلا بالنقر عبر تطبيق. لا يوجد خيار سطر أوامر، ولا تكامل، ولا زر تصدير يمكن استدعاؤه من سكربت. الوكيل الذي يكتب الأوامر فقط يتعثر هنا. تمنح هذه المهارة الوكيل طريقة للعمل داخل نافذة تطبيق حية على Windows أو macOS، مستندًا إلى ما تعرضه الشاشة الآن ومعلومات إمكانية الوصول الخاصة بالتطبيق.

صُممت لمن يريد إنجاز مهمة على سطح المكتب دون أن يخمّن الوكيل. يجب على الوكيل أن يجد التطبيق والنافذة الصحيحين، وأن يتصرف بخطوات صغيرة، وأن يتحقق من النتيجة الفعلية قبل أن يقول إن العملية نجحت. وهي الملاذ الأخير: تنص المهارة نفسها على استخدام أداة مصممة لهذا الغرض أولًا عندما يمكنها إنهاء المهمة.

حالات الاستخدام

التصدير من تطبيق بلا تكامل

برنامج المحاسبة الخاص بك على Windows لا يملك إضافة ولا سطر أوامر. تطلب من الوكيل فتحه، والعثور على تقرير الشهر، وتصديره. يتأكد الوكيل من إغلاق نافذة التصدير وانتهاء خطوة الملف قبل أن يبلغ بالنجاح.

التحقق مما تعرضه النافذة فعلًا

تريد معرفة ما إذا طُبّق تغيير في الإعدادات داخل أداة سطح مكتب. يلاحظ الوكيل النافذة، ويقرأ الحالة الظاهرة ونص إمكانية الوصول، ويخبرك بما هو محدد أو مفعّل فعلًا، بدلًا من افتراض أن النقرة نجحت.

اختيار النافذة الصحيحة من بين عدة نوافذ

لديك ثلاث نوافذ لمحرر واحد، كل منها يحتوي على مستند مختلف. ينظر الوكيل إلى العناوين والمحتوى دون تغيير أي شيء، ويختار النافذة التي تطابق طلبك، ويواصل العمل في تلك النافذة فقط.

خطوة بخطوة

  1. 1ثبّت المهارة في ~/.claude/skills/ (أو في .claude/skills/ الخاص بمشروعك) وابدأ جلسة جديدة حتى يحمّلها الوكيل.
  2. 2تأكد من تثبيت التطبيق الذي تحتاجه على جهاز Windows أو macOS. إذا طلب النظام إذنًا، فامنحه بنفسك وأخبر الوكيل عند الانتهاء.
  3. 3صف النتيجة التي تريدها بكلمات بسيطة، واذكر اسم التطبيق. وحدد شكل "الانتهاء"، مثل ملف محفوظ أو إعداد تغيّر.
  4. 4دع الوكيل يعرض التطبيقات والنوافذ، ثم راقبه وهو يلاحظ الشاشة ويتصرف خطوة صغيرة في كل مرة.
  5. 5اقرأ التقرير النهائي. تأكد أنه يذكر كل نتيجة طلبتها، وما رآه على الشاشة لإثبات ذلك.

مثال

ماذا تطلب

“افتح Notepad، وابحث عن النافذة التي عنوانها meeting-notes، وأضف في نهايتها السطر "Action: send budget draft by Friday". ثم أخبرني بما يعرضه المستند.”

ما الذي ستحصل عليه

يعرض الوكيل التطبيقات، ويجد Notepad، ويطابق نافذة meeting-notes بحسب العنوان. يضع المؤشر، ويكتب السطر، ويراقب النافذة مرة أخرى. يبلغ أن السطر الأخير صار كما طُلب، ويلاحظ أنه رأى جزءًا فقط من نص المستند.

نصائح

  • ✓اذكر التطبيق بدقة، وعنوان النافذة إن أمكن. هذا يساعد الوكيل على مطابقة النافذة الصحيحة عندما تبدو عدة نوافذ متشابهة.
  • ✓لا تتوقع أن تعمل على أي تطبيق في وقت واحد. تتعامل المهارة مع تطبيق معتمد واحد ونافذة واحدة في كل مرة، لذا قسّم المهام الكبيرة إلى أجزاء بحجم التطبيق.
  • ✓رسالة تفيد بإرسال الإدخال ليست دليلًا على النجاح. إذا أبلغ الوكيل عن نتيجة دون وصف الشاشة النهائية، فاطلب منه أن يلاحظ مرة أخرى ويؤكد.

بدائل

  • dynamic-workflow

    اختر هذه عندما تملك مجموعة كبيرة من مهام متشابهة يمكن لسكربت محفوظ تنفيذها، فلا يحتاج أحد إلى النقر عبر الواجهة.

  • mcp-builder

    اختر هذه عندما تستطيع بناء اتصال مناسب بالخدمة. فالتكامل المصمم لغرض محدد أكثر موثوقية من النقر عبر نافذة.

  • delegate-work

    اختر هذه عندما ينبغي تسليم المهمة إلى وكيل آخر ومتابعتها، بدلًا من احتياجك إلى عمل مباشر في نافذة سطح مكتب واحدة.

أسئلة وأجوبة

هل تعمل على Windows وmacOS معًا؟

نعم. تصف المهارة نظامي Windows وmacOS. على macOS يمكن تشغيل التطبيق بمسار حزمة التطبيق، وعلى Windows بمسار مطلق لملف التنفيذ، إذا لم يكن التطبيق موجودًا في قائمة التطبيقات.

ماذا يحدث إذا منع النظام الوكيل بسبب إذن؟

يتوقف الوكيل ويطلب منك منح الإذن الناقص. لا يستمر في المحاولة. بعد أن تمنحه الإذن وتؤكد ذلك، يستطيع الوكيل متابعة المهمة.

هل يستطيع قراءة مستند طويل كامل داخل النافذة؟

ليس دائمًا. نص المستند الذي يراه محدود الطول، لذا قد يُقتطع المستند الطويل. ينبغي ألا يفترض الوكيل أنه رأى كل شيء عندما يكون النص مقتطعًا.

كيف تعمل

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

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

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

Computer Use

Use Computer Use only for tasks that require a live desktop interface or visual verification. Prefer a purpose-built integration or command-line tool when it can complete and verify the task.

Use only the native desktop runtime. It operates on one approved application and one observed window at a time; it never accepts a free-form screen target.

Operating Loop

Follow this loop for every task:

  1. Discover the canonical application and the correct window.
  2. Observe the window and identify the requested state from current evidence.
  3. Define the next expected visible or accessible state change.
  4. Choose one action channel and perform the smallest useful action.
  5. Inspect the replacement observation before deciding the next action.
  6. Observe the final state and verify every requested outcome before reporting success.

Treat dispatched: true or an intermediate acknowledgement only as evidence that input was sent, not that the application completed the operation. If the final state is incomplete or uncertain, report that accurately.

Discover the Target

  1. Call list_apps and select the canonical App ID.
  2. Call list_windows, optionally limited by that App ID.
  3. Match the target by title, content, and observed state. When several windows are plausible, observe them read-only until one matches; never choose only because it is first or most recent.
  4. Keep using the matched window_id until an action explicitly hands off to another window.

Use launch_app with a canonical App ID. If the application is not listed, use an explicit absolute executable path on Windows or application-bundle path on macOS. After launch, list its windows again because launch completion does not prove that a usable window already exists.

When the runtime reports a missing system permission, stop and ask the user to grant it. Do not retry until the user confirms the permission was granted.

Read an Observation

observe_window returns a point-in-time window observation with screenshots and accessibility text. Start with:

  • accessibility.focused_element: the control that owns keyboard focus.
  • accessibility.document_text: a capped view of the focused document; never assume it contains the complete document when truncated.
  • accessibility.elements: actionable controls and their current properties.

Each accessibility line begins with an element_id, control type, and name. Use labels, roles, identifiers, actions, and current state together; do not infer behavior from an opaque identifier alone.

Indentation preserves the native accessibility hierarchy. Use parent and container context to distinguish controls with duplicate names.

Each attached image has a screenshots[].id, image-local dimensions, screen origin, kind, and z-index. On Windows, one observation may include the selected window plus related menus, drop-downs, or dialogs. Treat the highest z-index related image as the frontmost visual surface, while keeping the original window_id as the stable target. Attached images and screenshots entries use the same order.

Common markers:

  • [disabled]: do not act on this element.
  • [offscreen]: scroll it into view first.
  • [selected]: the application selected this exact element.
  • [settable]: set_value is supported.
  • [actions=...]: invoke only an explicitly listed action.
  • [resource-backed]: the label represents an application-owned object, not an editable text buffer.

When duplicate names exist, discard disabled candidates, then choose by role, actions, identifier, and surrounding state. Prefer accessibility elements over coordinates. When visual.available is false, continue only with listed elements, semantic actions, or verified keyboard focus; coordinates are not valid for that observation.

Every successful desktop mutation invalidates its input observation. The response normally installs and returns a settled replacement observation. Inspect it before the next action and derive fresh element IDs from it. Post-action replacements do not attach images. On Windows, visual.related_surface_count reports related menus, drop-downs, or dialogs seen during that lightweight refresh. Call observe_window before choosing a visual target or using coordinates.

Interpret result fields conservatively:

  • accessibility_changed: false means no AX-visible transition was observed; it does not rule out a visual-only change.
  • effect: observed verifies the edited bu
الأسئلة الشائعة

هل تعمل على أي تطبيق لدي؟

لا. تعمل على تطبيق معتمد واحد ونافذة واحدة مراقَبة في كل مرة.

لماذا تفحص كل خطوة؟

إرسال النقرة لا يعني أن التطبيق أنهى المهمة، لذلك تتحقق المهارة من النتيجة على الشاشة.

هل أستخدمها حين توجد أداة أبسط؟

لا. تنص المهارة على استخدام أداة مخصصة أو خيار سطر أوامر أولًا إذا أمكن إنجاز المهمة بها.

التفاصيل

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

Use computer_use for live Windows or macOS GUI work that structured tools cannot complete. Discover an approved app and window, act from fresh observations, and verify every requested result.

repo: agentscope-ai/QwenPaw

الشعبية

نجوم GitHub
37k
الترتيب
#7570
الترخيص
Apache-2.0
آخر تحديث
2‏/11‏/2026

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

0

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

التعليقات

  • …

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

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