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
Installs
4
Repository
openclaw/skills
GitHub Stars
4.5K
First Seen
Feb 1, 2026
grok-search — openclaw/skills