Skillpedia
الاختبار16k · #10860

browser

ما الذي تفعله

تتيح لك هذه المهارة أن يتصفح وكيلك صفحات الويب في ألواح المتصفح داخل Paradev. وهي لمن يريد من وكيله أن يعاين موقعاً أو يفحص صفحة أو يمر بخطوات في تدفق ويب.

متى تستخدمها

  • ✓عندما تريد أن يفتح وكيلك تطبيق ويب محلياً ويفحص شكله.
  • ✓عندما تحتاج إلى لقطة شاشة أو قراءة لمخرجات الـ console في صفحة ما.
  • ✓عندما تريد أن يملأ الوكيل نموذجاً أو ينتقل عبر تدفق ويب في متصفحك المسجَّل دخوله.

رابط المهارة

https://github.com/ParadevAI/Paradev/blob/main/plugins/superset/skills/browser/SKILL.md

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

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

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

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

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

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

“افتح تطبيقي المحلي على 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 curl or 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.md before 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

  1. Run superset schema 2>/dev/null | jq -re '.commands[] | select(.path==["browser"]) | .commands[].path[1]' || superset browser --help and require list, open, navigate, screenshot, eval, console, and cdp. The --help fallback covers a CLI older than 1.34.0 (no schema) and a machine without jq. If the verbs are absent, run superset update and recheck. The app-bundled CLI (~/.superset/bin/superset) updates only with the desktop app, so if it lacks browser, updating the app is the fix; check type -a superset for another install before giving up.
  2. Resolve the workspace. Inside a workspace, use $SUPERSET_WORKSPACE_ID; otherwise superset workspaces list --local --json and pick the target. Pass --host <id> for a remote host.
  3. 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

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

0

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

التعليقات

  • …

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

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