browser
ما الذي تفعله
تتيح لك هذه المهارة أن يتصفح وكيلك صفحات الويب في ألواح المتصفح داخل Paradev. وهي لمن يريد من وكيله أن يعاين موقعاً أو يفحص صفحة أو يمر بخطوات في تدفق ويب.
متى تستخدمها
- ✓عندما تريد أن يفتح وكيلك تطبيق ويب محلياً ويفحص شكله.
- ✓عندما تحتاج إلى لقطة شاشة أو قراءة لمخرجات الـ console في صفحة ما.
- ✓عندما تريد أن يملأ الوكيل نموذجاً أو ينتقل عبر تدفق ويب في متصفحك المسجَّل دخوله.
رابط المهارة
https://github.com/ParadevAI/Paradev/blob/main/plugins/superset/skills/browser/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“افتح تطبيقي المحلي على localhost:3000 وخذ لقطة شاشة وأخبرني بما تقوله وحدة الـ console.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يرسل وكيلك الأوامر عبر سطر أوامر Paradev إلى لوحة متصفح تراها، فيحدث كل خطوة في الجلسة نفسها التي تستخدمها. يقرأ الصفحة كنص ويتصرف فيها بالنقر والكتابة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Paradev Browser Control
paradev is an alias for the superset CLI: every superset command here also runs as paradev.
Drive web pages through the browser panes inside a Paradev workspace with the
superset browser commands. Every operation runs in the pane the user can see,
against the pane's real, logged-in session. A raw Chrome DevTools Protocol (CDP)
endpoint covers anything the high-level verbs don't.
Choose a surface
- If a plain HTTP request or an API can answer (a public page, docs, a JSON
endpoint), use
curlor your fetch tool and skip the browser. - Default to the in-app pane whenever the page is, or can be, open in a workspace pane: previewing a dev server, verifying UI the user is watching, clicking through a flow in the app.
- Use Browser Use only when the panes cannot reach the target: a Chrome window
outside Paradev, a host with no desktop app attached (pane commands error
clearly there), or work that needs an isolated or cloud browser. Read
references/browser-use.mdbefore using it; it covers install consent, attaching, and cleanup.
Browser Use can also drive a pane, and for three kinds of pane task it's the
nicer tool: an open-ended goal to run end to end ("get through this signup"), a
long multi-step flow on a shifting UI, or a recorded walkthrough. If one of
those fits and Browser Use isn't installed, offer it once ("I can hand this to
Browser Use, which drives multi-step flows more cleanly, but it's a one-minute
install. Want that, or should I drive the pane directly?"), then respect the
answer for the rest of the session, and hand a pane to Browser Use only after
the user has said yes (the pane is their signed-in session and its CDP URL
carries a token). Don't offer it for a screenshot, one eval, or a plain read;
the pane verbs already cover those.
Establish the control surface
- Run
superset schema 2>/dev/null | jq -re '.commands[] | select(.path==["browser"]) | .commands[].path[1]' || superset browser --helpand requirelist,open,navigate,screenshot,eval,console, andcdp. The--helpfallback covers a CLI older than 1.34.0 (noschema) and a machine withoutjq. If the verbs are absent, runsuperset updateand recheck. The app-bundled CLI (~/.superset/bin/superset) updates only with the desktop app, so if it lacksbrowser, updating the app is the fix; checktype -a supersetfor another install before giving up. - Resolve the workspace. Inside a workspace, use
$SUPERSET_WORKSPACE_ID; otherwisesuperset workspaces list --local --jsonand pick the target. Pass--host <id>for a remote host. - Panes live in the desktop app. A host with no desktop attached (a standalone
superset start) has no panes and every command errors clearly; surface that rather than retrying.
Find or open a pane
Every pane has a stable paneId, scoped to its workspace: pass the same
--workspace you opened it under or the operation is rejected.
superset browser list --workspace <id> --json
superset browser open --workspace <id> --url https://example.com --json
superset browser open --workspace <id> --url http://localhost:3000 --target new-tab --json
--target new-tab opens a fresh tab and focuses it; the default current-tab
reuses the active browser pane. Opening needs the workspace visible in the
desktop app (the renderer creates the pane), so if it times out, ask the user to
open the workspace.
To put the page in the right sidebar beside the user's work instead, and when
superset panes --help succeeds (older CLIs lack panes), run
superset panes open browser --workspace <id> --url <url>
(superset:panes), then find the pane with
superset browser list --workspace <id> --json.
Drive with the high-level verbs
# Point an existing pane at a new URL
superset browser navigate --workspace <id> --pane <paneId> --url https://…
# Capture a PNG (base64 by default; --out writes a file)
superset browser screenshot --workspace <id> --pane <paneId> --out shot.png
# Read the pane's captured console output
superset browser console --workspace <id> --pane <paneId> --max-lines 100
# Evaluate JavaScript in the page and return the result
superset browser eval --workspace <id> --pane <paneId> \
--code "document.querySelector('h1')?.textContent"
Screenshot to see state, eval to read structured data (.textContent,
.value = …, element.click(), location.href), console to
الأسئلة الشائعة
هل يستطيع الوكيل استخدام المواقع التي سجّلت دخولك إليها؟
نعم. تعمل الإجراءات داخل الجلسة الحقيقية للوحة، فتُفتح الصفحات بتسجيلات الدخول التي لديك هناك.
متى لا ينبغي استخدام اللوحة؟
للصفحة العامة البسيطة أو الواجهة البرمجية يكفي طلب fetch بسيط، وتقول المهارة في هذه الحالة أن يُتجاوز المتصفح.
هل أستطيع أن أشاهده وهو يعمل؟
نعم. اللوحة مرئية في مساحة عملك، فترى كل خطوة وهي تحدث.
التفاصيل
الوصف الأصلي من المؤلف
Open, navigate, screenshot, read, click, and type in web pages from an agent. Use when the user asks to open a URL, preview or verify a running web app, check a page's console, fill a form, click through a web flow, or automate anything in a browser, including "open localhost:3000", "screenshot the page", "what does the console say", "click the submit button", "I'm logged in on Chrome". Drives the in-app browser pane of a Paradev (formerly Superset) workspace by default and Browser Use for browsers the panes cannot reach.
repo: ParadevAI/Paradev
الشعبية
- نجوم GitHub
- 16k
- الترتيب
- #10860
- الترخيص
- —
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
decide
16kيأخذك خلال قرارات التصميم أو الكود واحداً تلو الآخر، مع خيارات واضحة وتوصية. تُسجَّل كل إجابة وفي النهاية يُعطى ملخص.
mobile-demo-film
16kيحوّل تسجيلات شاشة الهاتف إلى فيديو عرض منسق، فيه بطاقات عنوان وإطار هاتف وبطاقة ختامية. مناسب لعروض الميزات ومقاطع الإطلاق.
redesign
16kيراجع مكوّن واجهة موجوداً، ويقترح إصلاحات بصرية محددة للمسافات والتباين والتسلسل الهرمي والتخطيط. ويمكنه تطبيق التغييرات أيضاً.
superset-settings
16kيتيح لوكيلك عرض إعدادات تطبيق Paradev المكتبي وتغييرها، مثل السمة والخطوط والإشعارات، من سطر الأوامر.
مهارات مشابهة
test-driven-development
311kيعلّم وكيلك كتابة اختبار فاشل أولًا، ثم رؤيته يفشل، ثم كتابة أصغر شيفرة تنجحه، قبل بناء أي ميزة أو إصلاح.
verification-before-completion
311kيعلّم وكيلك تشغيل فحوصات حقيقية وقراءة نتائجها قبل أن يقول إن المهمة أو الإصلاح أو البناء مكتمل أو ناجح.
migrate-to-shoehorn
310kيستبدل تأكيدات النوع الخطرة في ملفات الاختبار بمكتبة shoehorn، حتى تتمكن الاختبارات من استخدام بيانات جزئية وتجتاز فحوص الأنواع.