# Send Grok Query to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "grok-query",
    "name": "Grok Query",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/InphinitiZ/grok-query",
    "canonicalUrl": "https://clawhub.ai/InphinitiZ/grok-query",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/grok-query",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=grok-query",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "grok-query",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-04T00:16:42.678Z",
      "expiresAt": "2026-05-11T00:16:42.678Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=grok-query",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=grok-query",
        "contentDisposition": "attachment; filename=\"grok-query-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "grok-query"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/grok-query"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/grok-query",
    "downloadUrl": "https://openagent3.xyz/downloads/grok-query",
    "agentUrl": "https://openagent3.xyz/skills/grok-query/agent",
    "manifestUrl": "https://openagent3.xyz/skills/grok-query/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/grok-query/agent.md"
  }
}
```
## Documentation

### 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:

OpenClaw browser enabled — verify with:
openclaw browser status


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.
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

### 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:

Popups / banners blocking the page (see Step 2a)
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

ProblemSolutionPopup / banner blockingsnapshot, find close button ref, click it; or press EscapeInput box not foundpress Escape, re-snapshot; or scrollintoviewLogin requiredAsk user to log in to grok.com manually, then openclaw browser navigate https://grok.comPage not loadingopenclaw browser navigate https://grok.com or re-openResponse incompleteIncrease wait time, take multiple snapshots to confirmClicked 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 SuperGrokCAPTCHA / 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 pollingSession expired / redirected to loginAsk user to re-login in the browser, then reload grok.comMultiple grok.com tabs openUse tabs to list all, pick the correct one by URL or titleDeepSearch 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-snapshotTab 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
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: InphinitiZ
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-04T00:16:42.678Z
- Expires at: 2026-05-11T00:16:42.678Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/grok-query)
- [Send to Agent page](https://openagent3.xyz/skills/grok-query/agent)
- [JSON manifest](https://openagent3.xyz/skills/grok-query/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/grok-query/agent.md)
- [Download page](https://openagent3.xyz/downloads/grok-query)