agent-browser
ما الذي تفعله
تتيح هذه المهارة لوكيل الذكاء الاصطناعي التحكم في متصفح لمهام الويب. وهي موجهة لمهام مثل ملء النماذج أو فحص صفحة أو سحب بيانات من موقع.
متى تستخدمها
- ✓عندما تحتاج إلى فتح صفحة ويب والنقر فيها وملء نموذج.
- ✓عندما تريد لقطة شاشة لصفحة أو استخراج بيانات منها.
- ✓عندما تحتاج إلى اختبار تطبيق ويب أو استخدام موقع يتطلب تسجيل دخول.
رابط المهارة
https://github.com/Tencent/WeKnora/blob/main/internal/application/service/builtin_skills/agent-browser/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“افتح هذا الموقع، واملأ نموذج التواصل، وخذ لقطة شاشة لصفحة التأكيد.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تشغّل المهارة متصفحًا من سطر الأوامر مثبتًا مسبقًا يبقى مفتوحًا بين الخطوات. يقرأ الوكيل العناصر التفاعلية في الصفحة، ويتصرف فيها واحدًا تلو الآخر، ويعيد قراءة الصفحة بعد كل تغيير.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
agent-browser (browser inside the sandbox)
The CLI is already installed. Do not install it again, do not run
agent-browser install, and never install a browser yourself: the sandbox
pins its own Google Chrome. Run it with shell_exec and without skill_name.
Every call is one command; the browser stays open between calls.
Start here
This file is only the map. Load the real usage guide from the CLI itself, so the instructions always match the installed version:
agent-browser skills get core # workflows, common patterns, troubleshooting
agent-browser skills get core --full # adds the full command reference
agent-browser skills list # specialized guides bundled with the CLI
For quick tasks the loop below is enough; read core before anything harder
(waits, iframes, multiple tabs, downloads, auth flows).
Basic loop
agent-browser open https://example.com # the window opens on the Desktop tab
agent-browser snapshot -i # interactive elements as @e1, @e2, ...
agent-browser click @e2
agent-browser fill @e3 "text to type"
agent-browser screenshot /workspace/output/page.png
agent-browser close # closes the browser; the screen stays
Run snapshot -i again after every page change: refs from an older snapshot
go stale. agent-browser --help lists every other command.
Screens
The browser always opens as a visible window on the user's Desktop tab, so
the user can watch it and take over. Do not ask the user whether to show it,
and do not pass any flag to hide or show it. The user may click in the same
window while you work: run snapshot -i again before acting if the page may
have changed. A captcha, 2FA code or password is for the user to type in that
window, never in the chat.
Rules
- Do not pass
--session,--profile,--cdp,--auto-connect,--stateor--executable-path. The sandbox supplies the profile, the session and the browser; those flags are discarded. - Do not set DISPLAY, and do not target display :0. That screen belongs to other sessions.
- Close the browser only with
agent-browser close. Neverpkill/killchrome or agent-browser processes: other sessions' browsers run on this machine too, andagent-browser closeonly ever touches this session's own browser. - Cookie state is saved in a machine-level seed and restored before startup navigation. Live browsers mirror missing cookies and localStorage keys; existing keys are not overwritten. A receiving page may reload once idle. localStorage is shared from open pages, not persisted in the cookie seed. Cookie and password database files are shared; history, cache and IndexedDB stay in each profile. Signing out may affect shared login state. Windows remain on this session's screen. Never print cookie, password or token files.
الأسئلة الشائعة
هل تستخدم متصفحي الشخصي Chrome؟
لا. هو متصفح منفصل داخل البيئة المعزولة، لا المتصفح المحلي على حاسوبك.
هل تثبت المهارة المتصفح بنفسها؟
لا. المتصفح مثبت مسبقًا، وتطلب المهارة من الوكيل عدم تثبيت متصفح آخر.
أين تُحفظ لقطات الشاشة؟
يمكن حفظها في مسار داخل مجلد المخرجات في مساحة العمل.
التفاصيل
الوصف الأصلي من المؤلف
Use when the task needs a real web browser inside the sandbox - open a page, click, fill forms, take screenshots, extract or scrape data, test a web app, or use a site that needs a login. Drives the preinstalled agent-browser CLI; the browser window shows on the user's Desktop tab. This is NOT the local_browser tool, which controls the user's own Chrome on their computer.
repo: Tencent/WeKnora
الشعبية
- نجوم GitHub
- 36k
- الترتيب
- #7587
- الترخيص
- —
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
weknora-rag-search
36kيرشد وكيلك إلى البحث في قاعدة معرفة WeKnora، والاختيار بين إجابة مكتوبة أو مقاطع نصية خام أو بحث عن مستندات أو جلسات.
weknora-shared
36kيشرح كيفية تسجيل الدخول إلى أداة سطر أوامر WeKnora وقراءة نتائجها، بوصفه الدليل الأساسي قبل أي مهمة أخرى في WeKnora.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.