grok-search

Installation
SKILL.md

Run xAI Grok locally via bundled scripts (search + chat + model listing). Default output for search is pretty JSON (agent-friendly) with citations.

API key

The script looks for an xAI API key in this order:

  • XAI_API_KEY env var
  • ~/.clawdbot/clawdbot.jsonenv.XAI_API_KEY
  • ~/.clawdbot/clawdbot.jsonskills.entries["grok-search"].apiKey
  • fallback: skills.entries["search-x"].apiKey or skills.entries.xai.apiKey

Run

Use {baseDir} so the command works regardless of workspace layout.

Search

  • Web search (JSON):
    • node {baseDir}/scripts/grok_search.mjs "<query>" --web
Related skills

More from sundial-org/awesome-openclaw-skills

Installs
3
GitHub Stars
598
First Seen
Mar 24, 2026