Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Query Grok AI via browser automation. Use when you need to ask Grok questions, get AI responses, or use Grok's DeepSearch/Think features. Copies response tex...
Query Grok AI via browser automation. Use when you need to ask Grok questions, get AI responses, or use Grok's DeepSearch/Think features. Copies response tex...
This item is timing out or returning errors right now. Review the source page and try again later.
Use the source page and any available docs to guide the install because the item is currently unstable or timing out.
I tried to install a skill package from Yavira, but the item is currently unstable or timing out. Inspect the source page and any extracted docs, then tell me what you can confirm and any manual steps still required.
I tried to upgrade a skill package from Yavira, but the item is currently unstable or timing out. Compare the source page and any extracted docs with my current installation, then summarize what changed and what manual follow-up I still need.
Query Grok (grok.com) via Chrome browser automation and copy responses.
Chrome with Browser Relay extension Use profile=chrome (never profile=clawd)
# 1. Open Chrome with Grok open -a "Google Chrome" "https://grok.com" sleep 3 # 2. Attach browser relay /Users/eason/clawd/scripts/attach-browser-relay.sh # 3. Check tabs browser action=tabs profile=chrome
Grok uses contenteditable, not a standard textbox. Use JavaScript evaluate: // Type query via evaluate browser action=act profile=chrome targetId=<id> request={ "kind": "evaluate", "fn": "(() => { const editor = document.querySelector('[contenteditable=\"true\"]'); if(editor) { editor.focus(); editor.innerText = 'YOUR_QUERY_HERE'; return 'typed'; } return 'not found'; })()" } Then submit with Enter: browser action=act profile=chrome targetId=<id> request={"kind":"press","key":"Enter"}
open -a "Google Chrome" "https://grok.com" sleep 3 /Users/eason/clawd/scripts/attach-browser-relay.sh
browser action=tabs profile=chrome Look for Grok tab, note the targetId.
browser action=act profile=chrome targetId=<id> request={ "kind": "evaluate", "fn": "(() => { const e = document.querySelector('[contenteditable=\"true\"]'); if(e) { e.focus(); e.innerText = 'What is quantum computing?'; return 'ok'; } return 'fail'; })()" }
browser action=act profile=chrome targetId=<id> request={"kind":"press","key":"Enter"}
sleep 10-20 # Grok can take 10-30 seconds
browser action=snapshot profile=chrome targetId=<id> Look for button with "Copy" in the response area (usually last message).
browser action=act profile=chrome targetId=<id> request={"kind":"click","ref":"<copy_button_ref>"}
pbpaste
After submitting, response is complete when: Copy button appears below the response text Response time indicator shows (e.g., "952ms") Suggested follow-up buttons appear
Always start fresh chats for unrelated queries to avoid context overflow: browser action=navigate profile=chrome targetId=<id> targetUrl="https://grok.com" Or use Cmd+J shortcut: browser action=act profile=chrome targetId=<id> request={"kind":"press","key":"Meta+j"}
To enable DeepSearch, click the button before submitting: # In snapshot, find DeepSearch button browser action=act profile=chrome targetId=<id> request={"kind":"click","ref":"<deepsearch_ref>"} # Then type and submit as normal
Re-run attach script: /Users/eason/clawd/scripts/attach-browser-relay.sh
Check status: browser action=status profile=chrome Should show cdpReady: true.
Navigate to fresh grok.com, don't continue old chats.
Close extra Chrome windows. Keep only one for reliable relay.
Response may still be streaming. Wait longer and snapshot again.
# Open and attach exec: open -a "Google Chrome" "https://grok.com" exec: sleep 3 exec: /Users/eason/clawd/scripts/attach-browser-relay.sh # Get tab browser action=tabs profile=chrome # Returns targetId: ABC123... # Type query browser action=act profile=chrome targetId=ABC123 request={ "kind":"evaluate", "fn":"(() => { const e = document.querySelector('[contenteditable=\"true\"]'); e.focus(); e.innerText = 'Explain quantum entanglement briefly'; return 'ok'; })()" } # Submit browser action=act profile=chrome targetId=ABC123 request={"kind":"press","key":"Enter"} # Wait exec: sleep 15 # Snapshot to find Copy button browser action=snapshot profile=chrome targetId=ABC123 # Find Copy button ref, e.g., e326 # Copy browser action=act profile=chrome targetId=ABC123 request={"kind":"click","ref":"e326"} # Read result exec: pbpaste
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.