تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

grok-browser

بواسطة easonc13

Browser & Automation
464التنزيلات وفق ما يذكره clawskills.sh
1المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Query Grok AI via browser automation.

الوصف

ما الذي تفعله هذه المهارة

Automates querying Grok AI (grok.com) through Chrome browser control. Uses JavaScript injection to handle Grok's contenteditable input, submits queries, and retrieves responses via clipboard copy rather than screenshot parsing.

Copying response text instead of parsing screenshots gives clean, usable output without OCR errors.

متى تستخدمها

  • Ask Grok a research question and get the full text response
  • Run a DeepSearch query on a complex topic
  • Batch multiple Grok queries in sequence without manual interaction
  • Start a fresh Grok chat to avoid context overflow between unrelated tasks
  • Pull Grok's Think-mode reasoning into a local workflow

مثال على سير العمل

الإدخال

User asks: What is quantum entanglement?

الوكيل
  1. 1

    Open grok.com in Chrome and attach the Browser Relay extension

  2. 2

    Get the active tab's targetId

  3. 3

    Inject the query text into the contenteditable input via JavaScript evaluate

  4. 4

    Press Enter to submit and wait 10-20 seconds for the response

  5. 5

    Snapshot the page, click the Copy button, and read the clipboard with pbpaste

الإخراج

Full text of Grok's response returned from clipboard

المتطلبات

  • Chrome browser with Browser Relay extension installed
  • Browser Relay attach script at /Users/eason/clawd/scripts/attach-browser-relay.sh

التثبيت

clawhub install easonc13/grok-browser

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط