Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器clawhub未标认证来源可访问clear审计通过

grok-query格罗克查询

Agent Skill

grok-query 用于处理浏览器自动化、网页检查和页面信息提取,适合在 OpenClaw 中需要让 Agent 打开页面、读取网页或验证前端流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

10,074

周安装

424

GitHub Stars

公开资料未说明

下载量

3,528
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:grok-query(格罗克查询)
来源仓库:https://github.com/inphinitiz/grok-query
安装命令:
openclaw skills install grok-query
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install grok-query

简介

通过浏览器自动化查询 Grok AI (grok.com) 获取实时信息和智能回答。

  • 适合在 OpenClaw 中需要调用 Grok 模型进行知识问答或数据分析时使用。
  • 通过 clawhub 安装,安装命令为 openclaw skills install grok-query,依赖用户预先登录账户。
  • 使用前必须启用 OpenClaw 浏览器并确保 grok.com 登录状态有效。
  • 注意请求频率控制,防止被平台识别为机器人行为导致访问受限。

SKILL.md

name
grok-query
description
Query Grok AI (grok.com) for real-time information via browser automation. Requires: OpenClaw browser enabled, user pre-logged-in to grok.com, and a Grok account (free tier works).
license
MIT
metadata
openclaw
emoji
🧠

Grok - External Knowledge Query

Use Grok AI to fetch real-time information, latest news, and external knowledge that may not be in your training data.

Prerequisites

Before using this skill, ensure the following:

  1. OpenClaw browser enabled — verify with:
   openclaw browser status
  1. Logged in to grok.com — the user must have already logged in to grok.com in the OpenClaw browser. This skill cannot handle login flows automatically.
  2. Grok account — a free-tier Grok account is sufficient for basic queries; SuperGrok is not required.

When to Use This Skill

Activate when the user:

  • Needs real-time information (news, events, product status)
  • Wants reasoning and synthesis beyond what web_search can provide
  • Needs multi-turn conversational research
  • Asks to verify uncertain knowledge against up-to-date sources

Workflow

Step 1: Open Grok (or Reuse Existing Tab)

# Check if grok.com is already open
openclaw browser tabs

If a grok.com tab already exists, directly switch to it:

openclaw browser focus <existing-grok-tab-id>

If not, open a new tab:

openclaw browser open https://grok.com

Both return a target id — keep this for all subsequent calls.

Step 2: Snapshot & Check Page State

openclaw browser snapshot

After taking a snapshot, check for two things before proceeding:

  1. Popups / banners blocking the page (see Step 2a)
  2. The input box (see Step 2b)

Step 2a: Handle Popups and Banners

Common obstructions:

  • "Upgrade to SuperGrok" banner
  • Login prompts
  • Cookie consent dialogs

If you see any popup or banner in the snapshot:

# Find the close/dismiss button ref from snapshot, then click it
openclaw browser click <close-button-ref>

# Verify it's gone
openclaw browser snapshot

Or try pressing Escape to dismiss overlays:

openclaw browser press Escape

Step 2b: Locate the Input Box

The Grok input box is a contenteditable div (ProseMirror editor) at the bottom of the page. In snapshot output, look for a paragraph element with placeholder text such as "How can I help you today?" (or its localized equivalent).

If you can't find the input box:

# Scroll the input box into view (if you know its ref)
openclaw browser scrollintoview <ref>

# Or re-snapshot to check
openclaw browser snapshot

Step 3: Type Question

openclaw browser type <input-ref> "What is the latest news about AI?"

Step 4: Click Send Button

Important: Grok uses Enter for newline, NOT for sending. You must click the send button (the circular ⬆ icon button to the right of the input box).

# After typing, snapshot to find the send button ref
openclaw browser snapshot

# Click the send button — look for the "Submit" button near the input box
openclaw browser click <send-button-ref>
Do NOT use press Enter or --submit — they only insert a newline in Grok's input box.

Step 5: Wait for Response and Capture

While Grok is generating, a "Stop response" button replaces the voice button next to the input box. When it disappears, the response is complete. A "Regenerate" button appearing confirms completion.

Important: Do NOT use wait --text-gone or wait --fn with long timeouts — the browser tool call has a timeout limit and will fail before the wait finishes. Use short waits + snapshot polling instead.

Poll until response is complete:

# 1. Wait 10 seconds
openclaw browser wait --time 10000

# 2. Snapshot and check for completion
openclaw browser snapshot
# Look for "Regenerate" button → response is done
# If "Stop response" button is still visible → still generating, repeat from step 1

Repeat the wait-then-snapshot cycle until you see completion indicators or 5 minutes have elapsed:

  • Done: "Regenerate", "Read aloud", "Copy" buttons appear
  • Still generating: "Stop response" button is present, or content is still growing
  • Timeout: If 5 minutes pass with no completion, stop polling and inform the user that the Grok response timed out

Note on localized UI: Button text depends on Grok UI language:

  • English: "Stop response" / "Regenerate"
  • Chinese: "停止模型响应" / "Regenerate"

Handling Image Responses

If the snapshot contains img elements in the response area (e.g. from Grok's Imagine feature), extract the image URL:

openclaw browser evaluate --fn "(el) => el.src" --ref <img-ref>

Multi-turn Conversation

Stay in the same tab to maintain conversation context. Grok understands follow-up questions that reference earlier messages.

# 1. Make sure you're on the correct tab
openclaw browser focus <target-id>

# 2. Snapshot to find the input box (placeholder changes to "Ask anything" in follow-ups)
openclaw browser snapshot

# 3. Type your follow-up question
openclaw browser type <input-ref> "What about tomorrow?"

# 4. Snapshot to find the "Submit" button and click it
openclaw browser snapshot
openclaw browser click <send-button-ref>

# 5. Wait and poll for completion (repeat until "Regenerate" appears)
openclaw browser wait --time 10000
openclaw browser snapshot
Note: The input box and submit button refs change between turns — always snapshot to get fresh refs before typing or clicking.

Error Handling

ProblemSolution
Popup / banner blockingsnapshot, find close button ref, click it; or press Escape
Input box not foundpress Escape, re-snapshot; or scrollintoview
Login requiredAsk user to log in to grok.com manually, then openclaw browser navigate https://grok.com
Page not loadingopenclaw browser navigate https://grok.com or re-open
Response incompleteIncrease wait time, take multiple snapshots to confirm
Clicked wrong elementRe-snapshot to get fresh refs
"Unknown ref" errorThe ref is stale — page has changed since last snapshot. Run a new snapshot and use refs from that result. Never reuse refs from a previous snapshot.
Free tier quota exceededInform user their Grok quota is used up; wait for reset or upgrade to SuperGrok
CAPTCHA / human verificationCannot be automated; ask user to complete it manually, then retry
"Something went wrong" mid-responseRe-send the question or reload the page and try again
"Continue generating" buttonClick the button to resume generation, then continue polling
Session expired / redirected to loginAsk user to re-login in the browser, then reload grok.com
Multiple grok.com tabs openUse tabs to list all, pick the correct one by URL or title
DeepSearch UI differsCompletion indicator may differ; poll snapshot and look for source count or result summary instead of "Regenerate"
Accidentally opened model selectorpress Escape to close the dropdown, then re-snapshot
Tab closed or browser killed mid-responseStart over: openclaw browser open https://grok.com and re-send the question

Common Use Cases

  • Quick fact check: "What is the capital of France?"
  • Latest news: "What are the top tech news today?"
  • Real-time info: "What's the current status of [event]?"
  • Complex research: Break into multiple queries in the same session

Tips

  • Session persistence: Stay in the same tab for multi-turn conversations
  • Must click send: Grok's Enter key is newline, always click the ⬆ send button to submit
  • Long responses: May need to scroll down and take additional snapshots
  • Pre-login: User should be logged in to grok.com beforehand for best results
  • Screenshot: Use openclaw browser screenshot if you need visual confirmation

Alternative: Direct Web Search

For simpler queries, consider using web_search tool first (faster, no browser needed).

Use Grok when you need:

  • Reasoning and synthesis
  • Multi-step analysis
  • Conversational follow-up
  • Complex explanations

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

71.77%
按下载量换算2,532

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills