Skillpedia
تطبيقات الجوال5.2k · #15026

agent-device

ما الذي تفعله

تشغّل هذه المهارة أداة agent-device لفتح تطبيق وقراءة شاشته والنقر عليها والكتابة فيها والتمرير. وهي موجهة للمطورين والمختبرين الذين يريدون من الذكاء الاصطناعي فحص سلوك تطبيقات الجوال.

متى تستخدمها

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

رابط المهارة

https://github.com/callstack/agent-device/blob/main/skills/agent-device/SKILL.md

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

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

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

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

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

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

“افتح تطبيقي في محاكي iOS، وسجّل الدخول بحساب الاختبار، وأخبرني هل تُحمّل شاشة الإعدادات.”

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

كيف تعمل

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

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

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

agent-device

For a normal app-driving task, start immediately. Do not probe first with --help, --version, devices, appstate, snapshot, or screenshot:

agent-device open <app> --foreground

That starts the session and returns the initial interactive snapshot with @refs.

Loop: act with press|click|fill|longpress <target> ... --settle, scroll <direction> --settle, or back --settle; continue from the printed diff, verify the named expectation (wait text "...", is, get, or find), then run agent-device close, or agent-device close --shutdown if your session booted a local simulator or emulator, unless the user asks to keep it running.

Reaching an off-screen target is one command, not a scroll-and-check loop: scroll down --until <selector> scrolls until that element is on screen, and scroll bottom runs to the end of the content. Repeated bare scroll down calls are the slow way to find something.

Copy refs byte-for-byte: @e12, @e12~s4 — keep the @ and any ~sN. Prefer current refs, then id/label/role selectors; coordinates are a last resort. If snapshot reports sparse/AX-unavailable, its refs and selectors are invalid: run agent-device screenshot, inspect the image, use coordinates, then retry snapshot -i after navigating. Otherwise run snapshot -i only when the diff lacks the next target.

Error output includes corrective hints; follow them instead of re-planning. Only when the task is specialized (for example gestures, scripting, TV, macOS, remote, or debugging) or a command shape is unclear, run agent-device help <topic>. agent-device --help lists topics, but is not a startup step.

To capture network traffic on a Limrun session, see agent-device help remote or the Limrun docs.

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

هل يحتاج الوكيل إلى أداة مثبتة أولًا؟

نعم. تثبّت أداة agent-device بنفسك قبل أن يستخدمها الوكيل.

هل تعمل مع تطبيقات التلفاز أيضًا؟

تغطي المهارة أجهزة التحكم في التلفاز وتطبيقات Android TV وFire TV وتطبيقات Amazon Vega OS TV.

هل تغلق المحاكي بعد الاختبار؟

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

التفاصيل

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

Automates Apple-platform apps (iOS, tvOS, macOS), Android devices (including Android TV and Fire TV on Fire OS), and Amazon Vega OS TV apps in Vega Virtual Devices. Use when navigating apps, taking snapshots/screenshots where supported, driving TV remotes, tapping, typing, scrolling, extracting UI info, collecting evidence, or planning agent-device CLI commands.

repo: callstack/agent-device

الشعبية

نجوم GitHub
5.2k
الترتيب
#15026
الترخيص
MIT
آخر تحديث
2‏/11‏/2026

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

0

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

التعليقات

  • …

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

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