跳到正文
TakoAPI
返回技能列表

grok-browser

由 easonc13 提供

Browser & Automation
464下载量由 clawskills.sh 提供
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接