browser
ما الذي تفعله
تتيح هذه المهارة لوكيل الذكاء الاصطناعي العمل عبر متصفح حقيقي، فيفتح الصفحات ويقرأها وينقر. وهي موجهة للمهام التي تحتاج إلى استخدام موقع حي خطوة بخطوة.
متى تستخدمها
- ✓عندما تحتاج مهمة إلى أن يفتح الوكيل موقعًا ويتصرف فيه خطوة بخطوة.
- ✓عندما يجب أن يقرأ الوكيل المحتوى الحالي لصفحة حية قبل الإجابة.
- ✓عندما تحتاج خطوة تسجيل دخول أو كابتشا أو تحقق ثنائي إلى تسليم للشخص.
رابط المهارة
https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/browser-en/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“افتح بوابة الموردين، وابحث عن فواتير هذا الشهر، وأخبرني بالإجماليات.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تتصل المهارة بالمتصفح، وتفتح الصفحات، وتقرأ ما يظهر حاليًا. تتصرف خطوة واحدة في كل مرة، وتفحص الصفحة مرة أخرى قبل إعلان النجاح، وتسلّم الخطوات التي تتطلب إنسانًا، مثل تسجيل الدخول.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Browser
Work with discipline: perceive the current page, act through the documented surface, then re-perceive before claiming success. State only facts observed in this turn. When stuck, a complete delivery is the step you are stuck on plus the partial results you have verified — never fill in content you did not observe just to produce a full answer.
Respect the human boundary: for login, captcha, 2FA, or any human-only step,
call await browser.handoff(...) and stop. Never automate those flows.
When the browser cannot finish, do not substitute data from another channel
(such as web_search) and still call it a browser result — state each fact's
real source.
This is QwenPaw's builtin Browser SDK, not Playwright. Its surface is closed: anything not listed does not exist. The complete reference is below; re-load this browser skill with the Skill tool if it is no longer in context.
<!-- BEGIN GENERATED: browser-manual -->QwenPaw Browser SDK — complete reference. This is QwenPaw's OWN internal SDK and this is the ENTIRE API; these are all the entrypoints. The SDK is already in scope as Browser — call the methods below directly. Write async Python. Work in a loop: perceive → act → verify.
Copy this shape:
browser = await Browser.connect() # connect once; reused all session page = await browser.open("https://example.com") # open a page obs = await page.snapshot() # PERCEIVE — page text is obs.text if len(obs.text) < 6000: print(obs.text) else: # Large page: read selectively instead of dumping everything. lines = [line for line in obs.text.splitlines() if "keyword" in line] print(f"{len(obs.text)} chars total; {len(lines)} matching lines:") print("\n".join(lines[:80]))
For a focused count, use: await page.snapshot(query="keyword")
await page.get_by_role("textbox", name="Search").fill("laptop") # ACT await page.get_by_role("button", name="Search").click() # ACT obs = await page.snapshot() # VERIFY — re-perceive to confirm print("Verified; inspect obs.text with the selective pattern above.")
Session state: this is a stateful session — variables you assign (browser, page) persist across calls, so connect once and reuse them. If a call reports the session was reset, re-run await Browser.connect().
Chrome backend caveat: with backend=chrome you operate inside the user's real browser. A session is a tab-ownership group — tabs are isolated per session, but identity (cookies, logins, storage) is shared with the user's profile and with every other session. Do not rely on session-level identity isolation on this backend.
browser (orchestration): await Browser.connect(*, identity: "auto"|"user"|"avatar"|"guest" = "auto") -> browser Connect as an identity: user, avatar, guest, or auto.
``auto`` picks ``user`` when Chrome is connected, otherwise ``guest``.
An unavailable explicit identity raises instead of substituting.
await browser.open(url: str | None = None) -> page
Open a page at url and return it.
Reuses this session's active page when one exists; otherwise a
new page is created. Pages are released when the response cycle ends;
start each cycle by calling ``open(url)`` again.
await browser.pages() -> list of page ref (.id, .url, .title, .active) List open pages with URL, title, and active-state details. await browser.switch_page(page: page ref (.id, .url, .title, .active)) -> none Make the given page ref active for later operations. await browser.close_page(page: page ref (.id, .url, .title, .active)) -> none Close the given page ref in this session. await browser.session_status() -> session status (.owner, .variant, .context, .connected) Report the owner, variant, context, and connected state. await browser.handoff(reason: str, instructions: str = "") -> a result dict Hand a step back to a human (captcha, login, 2FA).
Pass a short reason and instructions; the run stops on this signal —
never automate these flows. The active cycle-scoped page is retained
for one extra response cycle after the handoff.
await browser.present(url: str | None = None) -> page Open a page retained for the chat lifetime. await browser.close() -> none Close this session's browser and release its context.
page (operation):
await page.goto(url: str) -> a result dict
Navigate this page to url and return raw navigation facts.
await page.go_back() ->
الأسئلة الشائعة
هل ستسجّل الدخول نيابة عني؟
لا. تُسلَّم خطوات تسجيل الدخول والكابتشا والتحقق الثنائي إلى شخص، ويتوقف الوكيل عندها.
هل تبلغ عن نتائج لم تشاهدها؟
لا. تسمح المهارة بالوقائع التي شوهدت في الصفحة أثناء المهمة الحالية فقط.
ماذا لو لم يستطع المتصفح إنهاء المهمة؟
يبلغ الوكيل بالخطوات التي أنجزها، ولا يملأ الفجوات ببيانات من مصادر أخرى.
التفاصيل
الوصف الأصلي من المؤلف
Drive a live browser with async Python against QwenPaw's builtin Browser SDK. The full reference is below; re-load this browser skill after context compaction.
repo: agentscope-ai/QwenPaw
الشعبية
- نجوم GitHub
- 37k
- الترتيب
- #7571
- الترخيص
- Apache-2.0
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
terraform-skill
37kيساعد وكيلك على كتابة واختبار ومراجعة شيفرة Terraform أو OpenTofu للبنية التحتية، مع الوحدات وCI/CD وفحص الأمان ومشاكل الحالة.
computer_use
37kيتيح لوكيلك تشغيل تطبيق حي على ويندوز أو macOS بمراقبة الشاشة والنقر وفحص كل نتيجة، عندما لا تستطيع أداة مباشرة إنجاز المهمة.
channel_message
37kيتيح لوكيلك إرسال رسالة في اتجاه واحد إلى قناة دردشة أو جلسة محددة، مثل تنبيه بانتهاء المهمة، بعد أن يعثر على الوجهة الصحيحة.
chat_with_agent
37kيتيح لوكيلك استشارة وكيل ذكاء اصطناعي آخر للحصول على رأي ثانٍ أو خطة أو مراجعة، ومتابعة المحادثة معه بسياقها السابق.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.